gtk.VButtonBox()
|
gtk.VButtonBox()
+--gobject.GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Box +-- gtk.ButtonBox +-- gtk.VButtonBox
A gtk.VButtonBox
is a container subclassed from gtk.ButtonBox
that is optimized for the vertical layout of buttons. The gtk.VButtonBox
helps provide a consistent layout of buttons in an application by supplying
default values of spacing, padding and layout style (see the gtk.ButtonBox
reference for more detail). Buttons are packed into a gtk.VButtonBox
using the gtk.Container.add
())
method. The pack_start
()
and pack_end
()
methods can also be used but they work just like the gtk.Container.add
())
method i.e. they pack the button in a way that depends on the current layout
style and on whether the button has had the gtk.ButtonBox.set_child_secondary
()
method called on it. The spacing between buttons can be set with the gtk.Box.set_spacing
()
method. The arrangement and layout of the buttons can be changed with the
gtk.ButtonBox.set_layout
()
method.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.