GtkPaned::pack1

GtkPaned::pack1

void pack1( GtkWidget child , [bool resize = false , [bool shrink = true ]]);

pack1() packs the child widget specified into the top or left pane of a GtkPaned-based widget.

The resize parameter when set to its default false ensures that the pane will not expand beyond its initial size when the top-level window is maximised, in the direction of the pane arrangement. Note that the resize parameter describes the spatial relationship between the two panes, so that setting both panes alike will always result in both panes resizing when the top-level window is maximised. The user resizing facility offered by the handle is not affected by the resize setting.

The shrink parameter when set to its default true allows the pane to shrink beyond the size requested by its child widget. Setting the shrink parameter to false prevents it from doing this. Note that setting the parameter to false across both panes renders the dividing handle ineffective where the size of the top-level window is reliant upon the size requests of the child widgets.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.