GObject.Object
Gtk.SizeGroup
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkSizeGroup |
Class : | SizeGroup |
Implements: | Gtk.Buildable |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
have_height : Number
read only
|
Gtk.SizeGroup | |
have_width : Number
read only
|
Gtk.SizeGroup | |
ignore_hidden : Boolean
If TRUE, unmapped widgets are ignored when determining the size of the group.
If TRUE, unmapped widgets are ignored when determining the size of the group.
|
Gtk.SizeGroup | |
ignore_hidden : Number
read only
|
Gtk.SizeGroup | |
mode : Gtk.SizeGroupMode
|
Gtk.SizeGroup | |
mode : Number
read only
|
Gtk.SizeGroup | |
parent_instance : GObject.Object
read only
|
Gtk.SizeGroup | |
requisition : Gtk.Requisition
read only
|
Gtk.SizeGroup | |
widgets : Array
read only
|
Gtk.SizeGroup |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.SizeGroup
(Object properties)
Create a new Gtk.SizeGroup
Create a new Gtk.SizeGroup
|
||
Create a new Gtk.SizeGroup
Create a new Gtk.SizeGroup
|
||
Adds a child to buildable.
Adds a child to buildable. type is an optional string describing how the child should be added.
|
Gtk.Buildable | |
add_widget
(Widget widget)
:
none
Adds a widget to a GtkSizeGroup.
Adds a widget to a GtkSizeGroup. 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 gtk_size_group_set_mode(). When the widget is destroyed or no longer referenced elsewhere, it will be removed from the size group.
|
Gtk.SizeGroup | |
Constructs a child of buildable with the name name.
Constructs a child of buildable with the name name. GtkBuilder calls this function if a "constructor" has been specified in the UI definition.
|
Gtk.Buildable | |
This is similar to gtk_buildable_parser_finished() but is called once for each custom tag handled by the buildable.
This is similar to gtk_buildable_parser_finished() but is called once for each custom tag handled by the buildable.
|
Gtk.Buildable | |
This is called at the end of each custom element handled by the buildable.
This is called at the end of each custom element handled by the buildable.
|
Gtk.Buildable | |
custom_tag_start
(Builder builder, Object child, String tagname, MarkupParser parser, void* data)
:
Boolean
This is called for each unknown element under <child>.
This is called for each unknown element under <child>. if it doesn't.
|
Gtk.Buildable | |
get_ignore_hidden
()
:
Boolean
Returns if invisible widgets are ignored when calculating the size.
Returns if invisible widgets are ignored when calculating the size.
|
Gtk.SizeGroup | |
Get the internal child called childname of the buildable object.
Get the internal child called childname of the buildable object.
|
Gtk.Buildable | |
get_mode
()
:
Gtk.SizeGroupMode
Gets the current mode of the size group.
Gets the current mode of the size group. See gtk_size_group_set_mode().
|
Gtk.SizeGroup | |
get_name
()
:
String
Gets the name of the buildable object.
Gets the name of the buildable object. GtkBuilder sets the name based on the the GtkBuilder UI definition used to construct the buildable.
|
Gtk.Buildable | |
get_widgets
()
:
Array
Returns the list of widgets associated with size_group.
Returns the list of widgets associated with size_group. widgets. The list is owned by GTK+ and should not be modified.
|
Gtk.SizeGroup | |
parser_finished
(Builder builder)
:
none
Called when the builder finishes the parsing of a GtkBuilder UI definition.
Called when the builder finishes the parsing of a GtkBuilder UI definition. Note that this will be called once for each time gtk_builder_add_from_file() or gtk_builder_add_from_string() is called on a builder.
|
Gtk.Buildable | |
remove_widget
(Widget widget)
:
none
Removes a widget from a GtkSizeGroup.
Removes a widget from a GtkSizeGroup.
|
Gtk.SizeGroup | |
Sets the property name name to value on the buildable object.
Sets the property name name to value on the buildable object.
|
Gtk.Buildable | |
set_ignore_hidden
(Boolean ignore_hidden)
:
none
Sets whether unmapped widgets should be ignored when calculating the size.
Sets whether unmapped widgets should be ignored when calculating the size.
|
Gtk.SizeGroup | |
set_mode
(SizeGroupMode mode)
:
none
Sets the GtkSizeGroupMode of the size group.
Sets the GtkSizeGroupMode 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).
|
Gtk.SizeGroup | |
set_name
(String name)
:
none
Sets the name of the buildable object.
Sets the name of the buildable object.
|
Gtk.Buildable |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdaui.BasicForm
Method |
add_to_size_group
(SizeGroup size_group, BasicFormPart part)
:
none
|
Gdaui.BasicForm
Method |
remove_from_size_group
(SizeGroup size_group, BasicFormPart part)
:
none
|
Gtk.ToolItem
Method |
get_text_size_group
()
:
Gtk.SizeGroup
Returns the size group used for labels in tool_item.
|
Gtk.ToolShell
Method |
get_text_size_group
()
:
Gtk.SizeGroup
Retrieves the current text size group for the tool shell.
|