See: https://developer.gnome.org/gtk3/3.4/GtkBox.html
gtk :: GtkBox :: defaultinit
gtk :: GtkBox :: homogeneous
Give the children ofself
equal space in the box?
gtk :: GtkBox :: homogeneous=
Give the children ofself
equal space in the box?
gtk :: GtkBox :: pack_start
Addchild
and pack it at the start of the box
gtk :: GtkBox :: set_child_packing
Set the waychild
is packed in self
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkOrientable :: defaultinit
gtk :: GtkBox :: defaultinit
gtk :: GtkContainer :: defaultinit
gtk :: GtkWidget :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
gtk :: GtkBox :: homogeneous
Give the children ofself
equal space in the box?
gtk :: GtkBox :: homogeneous=
Give the children ofself
equal space in the box?
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gtk :: GtkOrientable :: orientation
Get the orientation of this widgetgtk :: GtkOrientable :: orientation=
Set the orientation of this widgetcore :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkBox :: pack_start
Addchild
and pack it at the start of the box
gtk :: GtkContainer :: resize_mode
Get the resize mode of the containergtk :: GtkContainer :: resize_mode=
Set the resize mode of the containergtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkBox :: set_child_packing
Set the waychild
is packed in self
gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
# A container box
#
# See: https://developer.gnome.org/gtk3/3.4/GtkBox.html
extern class GtkBox `{ GtkBox * `}
super GtkContainer
super GtkOrientable
# Create a new `GtkBox` with the given `orientation` and `spacing` between its children
new (orientation: GtkOrientation, spacing: Int) `{
return (GtkBox *)gtk_box_new(orientation, spacing);
`}
# Give the children of `self` equal space in the box?
fun homogeneous: Bool `{ return gtk_box_get_homogeneous(self); `}
# Give the children of `self` equal space in the box?
fun homogeneous=(homogeneous: Bool) `{
gtk_box_set_homogeneous(self, homogeneous);
`}
# Add `child` and pack it at the start of the box
fun pack_start(child: GtkWidget, expand, fill: Bool, padding: Int) `{
gtk_box_pack_start(self, child, expand, fill, padding);
`}
# Add `child` and pack it at the end of the box
fun pack_end(child: GtkWidget, expand, fill: Bool, padding: Int) `{
gtk_box_pack_end(self, child, expand, fill, padding);
`}
# Set the way `child` is packed in `self`
fun set_child_packing(child: GtkWidget, expand, fill: Bool, padding: Int, packing: GtkPackType) `{
gtk_box_set_child_packing(self, child, expand, fill, padding, packing);
`}
end
lib/gtk/v3_4/gtk_core.nit:409,1--443,3