Webhosting and cheap domain registration service
  

 Home

Prev GtkPaned::pack2 Next

GtkPaned::pack2

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

pack2() packs the child widget specified into the bottom or right pane of a GtkPaned-based widget.

The resize parameter when set to its default true allows the pane and its child widget to expand to fill the area between the dividing handle and the edge of the container when the toplevel window is maximised, in the direction of the pane arrangement. The position of the dividing handle can be set using set_position() , or by default is set at the size requested by the child belonging to the opposite pane, where its resize parameter has been set to false.

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.


Prev Home Next
GtkPaned::pack1 Up GtkPaned::set_position

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
One may understand the cosmos, but never the ego; the self is more distant than any star.An adventure is only an inconvenience rightly considered. An inconvenience is only an adventure wrongly considered.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php