September 29, 2020, 11:02am
GtkPaned is a simple contained layout widget, could make it support more than two sub panes?
In my app, the left pane shows the object tree, the content view stays in the middle pane, the right pane will show some information to hint.
if we put GtkPaned in another GtkPaned widget like content view pane, it will be affected by the content view pane.
September 29, 2020, 11:14am
(J Arun Mani)
September 30, 2020, 10:37am
October 6, 2020, 9:02am
Thanks all, I know the libdazzle library and the DzlMultiPaned widget,
as a simple layout container widget, I just think GtkPaned widget could be stronger.
October 6, 2020, 9:04am
Nobody is working on making
GtkPaned support multiple panes/child, and it’s unlikely it’ll be changed before GTK4 is released. The API reflects the fact that it is a two-children container, so it’s not a case of simply adding support for additional children.
October 7, 2020, 3:06pm
As a workaround you can set a minimum size on the context widget or pane whenever it’s visible.
Note that I haven’t actually tested this suggestion but I’m thinking it
October 21, 2020, 3:06pm
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.