Class: Gtk::GridLayout
- Inherits:
-
LayoutManager
- Object
- LayoutManager
- Gtk::GridLayout
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#baseline_row ⇒ Integer
The row to align to the baseline, when
GtkWidget:valignis set to %GTK_ALIGN_BASELINE. -
#baseline_row=(baseline_row) ⇒ Integer
The row to align to the baseline, when
GtkWidget:valignis set to %GTK_ALIGN_BASELINE. -
#column_homogeneous ⇒ Boolean
Checks whether all columns of grid should have the same width.
-
#column_homogeneous=(column_homogeneous) ⇒ Boolean
Whether all the columns in the grid have the same width.
-
#column_homogeneous? ⇒ Boolean
Whether all the columns in the grid have the same width.
-
#column_spacing ⇒ Integer
The amount of space between to consecutive columns.
-
#column_spacing=(column_spacing) ⇒ Integer
The amount of space between to consecutive columns.
-
#get_row_baseline_position(row) ⇒ Gtk::BaselinePosition
Returns the baseline position of row.
-
#initialize ⇒ Gtk::LayoutManager
constructor
Creates a new
GtkGridLayout. -
#row_homogeneous ⇒ Boolean
Checks whether all rows of grid should have the same height.
-
#row_homogeneous=(row_homogeneous) ⇒ Boolean
Whether all the rows in the grid have the same height.
-
#row_homogeneous? ⇒ Boolean
Whether all the rows in the grid have the same height.
-
#row_spacing ⇒ Integer
The amount of space between to consecutive rows.
-
#row_spacing=(row_spacing) ⇒ Integer
The amount of space between to consecutive rows.
-
#set_row_baseline_position(row, pos) ⇒ nil
Sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested.
Methods inherited from LayoutManager
#allocate, #get_layout_child, #layout_changed, #measure, #request_mode, #widget
Constructor Details
#initialize ⇒ Gtk::LayoutManager
Creates a new GtkGridLayout.
Instance Method Details
#baseline_row ⇒ Integer
The row to align to the baseline, when GtkWidget:valign is set
to %GTK_ALIGN_BASELINE.
#baseline_row=(baseline_row) ⇒ Integer
The row to align to the baseline, when GtkWidget:valign is set
to %GTK_ALIGN_BASELINE.
#column_homogeneous ⇒ Boolean
Checks whether all columns of grid should have the same width.
#column_homogeneous=(column_homogeneous) ⇒ Boolean
Whether all the columns in the grid have the same width.
#column_homogeneous? ⇒ Boolean
Whether all the columns in the grid have the same width.
#column_spacing ⇒ Integer
The amount of space between to consecutive columns.
#column_spacing=(column_spacing) ⇒ Integer
The amount of space between to consecutive columns.
#get_row_baseline_position(row) ⇒ Gtk::BaselinePosition
Returns the baseline position of row.
If no value has been set with [methodGtk.GridLayout.set_row_baseline_position], the default value of %GTK_BASELINE_POSITION_CENTER is returned.
#row_homogeneous ⇒ Boolean
Checks whether all rows of grid should have the same height.
#row_homogeneous=(row_homogeneous) ⇒ Boolean
Whether all the rows in the grid have the same height.
#row_homogeneous? ⇒ Boolean
Whether all the rows in the grid have the same height.
#row_spacing ⇒ Integer
The amount of space between to consecutive rows.
#row_spacing=(row_spacing) ⇒ Integer
The amount of space between to consecutive rows.
#set_row_baseline_position(row, pos) ⇒ nil
Sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested.