gtk.VBox — a vertical container box


class gtk.VBox(gtk.Box):
    gtk.VBox(homogeneous=False, spacing=0)


+-- gobject.GObject
  +-- gtk.Object
    +-- gtk.Widget
      +-- gtk.Container
        +-- gtk.Box
          +-- gtk.VBox

Implemented Interfaces

gtk.VBox implements gtk.Buildable

gtk.VBox Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Box Properties

gtk.VBox Style Properties

gtk.Widget Style Properties

gtk.VBox Child Properties

gtk.Box Child Properties

gtk.VBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes


A gtk.VBox is a container subclassed from gtk.Box that organizes its child widgets into a single column. The gtk.Box methods are used to manage the arrangement, spacing, height, and alignment of the gtk.VBox child widgets though all are allocated the same width.


    gtk.VBox(homogeneous=False, spacing=0)

homogeneous :

if True all child widgets are given equal space allocations.

spacing :

the additional vertical space between child widgets in pixels.

Returns :

a new gtk.VBox widget

Creates a new gtk.VBox widget with the spacing between child widgets specified by spacing. If homogeneous is True all child widgets are allocated the same space.