gtk :: GtkContainer
See: https://developer.gnome.org/gtk3/stable/GtkContainer.html
gtk :: GtkContainer :: defaultinit
gtk :: GtkContainer :: resize_mode
Get the resize mode of the containergtk :: GtkContainer :: resize_mode=
Set the resize mode of the containergtk $ GtkContainer :: SELF
Type of this instance, automatically specialized in every classcore :: 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 :: GtkContainer :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
gtk :: GtkWidget :: defaultinit
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.
core :: Object :: output_class_name
Display class name on stdout (debug only).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 :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
gtk :: GtkAlignment
A widget which controls the alignment and size of its childgtk :: GtkAssistant
A widget used to guide users through multi-step operations
# Base class for widgets which contain other widgets
# See: https://developer.gnome.org/gtk3/stable/GtkContainer.html
extern class GtkContainer `{GtkContainer *`}
super GtkWidget
# Add a widget to the container
fun add(widget: GtkWidget) `{
gtk_container_add(self, widget);
`}
# Remove the widget from the container
fun remove(widget: GtkWidget) `{
gtk_container_remove(self, widget);
`}
# Get the resize mode of the container
fun resize_mode: GtkResizeMode `{
return gtk_container_get_resize_mode(self);
`}
# Set the resize mode of the container
fun resize_mode=(resize_mode: GtkResizeMode) `{
gtk_container_set_resize_mode(self, resize_mode);
`}
end
lib/gtk/v3_4/gtk_core.nit:158,1--182,3