![]() |
![]() |
Public Methods | |
virtual | ~SizeGroup () |
GtkSizeGroup* | gobj () |
const GtkSizeGroup* | gobj () const |
GtkSizeGroup* | gobj_copy () |
void | set_mode (SizeGroupMode mode) |
Sets the Gtk::SizeGroupMode of the size group. | |
SizeGroupMode | get_mode () const |
Gets the current mode of the size group. | |
void | add_widget (Widget& widget) |
Adds a widget to a Gtk::SizeGroup. | |
void | remove_widget (Widget& widget) |
Removes a widget from a Gtk::SizeGroup. | |
Glib::PropertyProxy<SizeGroupMode> | property_mode () |
Static Public Methods | |
Glib::RefPtr<SizeGroup> | create (SizeGroupMode mode) |
Protected Methods | |
SizeGroup (SizeGroupMode mode) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gtk::SizeGroup> | wrap (GtkSizeGroup* object, bool take_copy=false) |
|
|
|
|
|
Adds a widget to a Gtk::SizeGroup. In the future, the requisition of the widget will be determined as the maximum of its requisition and the requisition of the other widgets in the size group. Whether this applies horizontally, vertically, or in both directions depends on the mode of the size group. See set_mode().
|
|
|
|
Gets the current mode of the size group. See set_mode().
|
|
Reimplemented from Glib::ObjectBase. |
|
Reimplemented from Glib::ObjectBase. |
|
|
|
|
|
Removes a widget from a Gtk::SizeGroup.
|
|
Sets the Gtk::SizeGroupMode of the size group. The mode of the size group determines whether the widgets in the size group should all have the same horizontal requisition (Gtk::SIZE_GROUP_MODE_HORIZONTAL) all have the same vertical requisition (Gtk::SIZE_GROUP_MODE_VERTICAL), or should all have the same requisition in both directions (Gtk::SIZE_GROUP_MODE_BOTH).
|
|
|