See: https://developer.gnome.org/gtk3/3.3/GtkGrid.html
gtk :: GtkGrid :: defaultinit
gtk :: GtkGrid :: get_child_at
Get the child of the Grid at the given positiongtk :: GtkGrid :: insert_column
Insert a column at the specified positioncore :: 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 :: GtkGrid :: defaultinit
gtk :: GtkContainer :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: defaultinit
gtk :: GtkWidget :: defaultinit
gtk :: GtkGrid :: get_child_at
Get the child of the Grid at the given positiongtk :: GtkGrid :: insert_column
Insert a column at the specified positioncore :: 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
# Pack widgets in a rows and columns
# See: https://developer.gnome.org/gtk3/3.3/GtkGrid.html
extern class GtkGrid `{GtkGrid *`}
super GtkContainer
# Create a new grid
new `{
return (GtkGrid*)gtk_grid_new();
`}
# Set a widget child inside the grid at a given position
fun attach(child: GtkWidget, left, top, width, height: Int) `{
gtk_grid_attach(self, child, left, top, width, height);
`}
# Get the child of the Grid at the given position
fun get_child_at(left: Int, top: Int): GtkWidget `{
return gtk_grid_get_child_at(self, left, top);
`}
# Insert a row at the specified position
fun insert_row(position:Int) `{
gtk_grid_insert_row(self, position);
`}
# Insert a column at the specified position
fun insert_column(position: Int) `{
gtk_grid_insert_column(self, position);
`}
end
lib/gtk/v3_4/gtk_core.nit:363,1--392,3