GtkContainer


Documentation

Base class for widgets which contain other widgets

 


 

GtkContainer

subclasses: GtkWidget GtkObject GObject

add: aGtkWidget

Adds widget to the container. Typically used for simple containers such as GtkWindow, GtkFrame, or GtkButton; for more complicated layout containers such as GtkBox or GtkTable, this function will pick default packing parameters that may not be correct.

 

borderWidth: anInteger

Sets the border width of the container.

The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is GtkWindow; because toplevel windows can't leave space outside, they leave the space inside. The border is added on all sides of the container.