Class: Gtk::CenterLayout
- Inherits:
-
LayoutManager
- Object
- LayoutManager
- Gtk::CenterLayout
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#baseline_position ⇒ Gtk::BaselinePosition
Returns the baseline position of the layout.
-
#baseline_position=(baseline_position) ⇒ nil
Sets the new baseline position of self.
-
#center_widget ⇒ Gtk::Widget
Returns the center widget of the layout.
-
#center_widget=(widget) ⇒ nil
Sets the new center widget of self.
-
#end_widget ⇒ Gtk::Widget
Returns the end widget of the layout.
-
#end_widget=(widget) ⇒ nil
Sets the new end widget of self.
-
#initialize ⇒ Gtk::LayoutManager
constructor
Creates a new
GtkCenterLayout. -
#orientation ⇒ Gtk::Orientation
Gets the current orienration of the layout manager.
-
#orientation=(orientation) ⇒ nil
Sets the orientation of self.
-
#shrink_center_last ⇒ Boolean
Gets whether self shrinks the center widget after other children.
-
#shrink_center_last=(shrink_center_last) ⇒ Boolean
Whether to shrink the center widget after other children.
-
#shrink_center_last? ⇒ Boolean
Whether to shrink the center widget after other children.
-
#start_widget ⇒ Gtk::Widget
Returns the start widget of the layout.
-
#start_widget=(widget) ⇒ nil
Sets the new start widget of self.
Methods inherited from LayoutManager
#allocate, #get_layout_child, #layout_changed, #measure, #request_mode, #widget
Constructor Details
#initialize ⇒ Gtk::LayoutManager
Creates a new GtkCenterLayout.
Instance Method Details
#baseline_position ⇒ Gtk::BaselinePosition
Returns the baseline position of the layout.
#baseline_position=(baseline_position) ⇒ nil
Sets the new baseline position of self
#center_widget ⇒ Gtk::Widget
Returns the center widget of the layout.
#center_widget=(widget) ⇒ nil
Sets the new center widget of self.
To remove the existing center widget, pass nil.
#end_widget ⇒ Gtk::Widget
Returns the end widget of the layout.
#end_widget=(widget) ⇒ nil
Sets the new end widget of self.
To remove the existing center widget, pass nil.
#orientation ⇒ Gtk::Orientation
Gets the current orienration of the layout manager.
#orientation=(orientation) ⇒ nil
Sets the orientation of self.
#shrink_center_last ⇒ Boolean
Gets whether self shrinks the center widget after other children.
#shrink_center_last=(shrink_center_last) ⇒ Boolean
Whether to shrink the center widget after other children.
By default, when there's no space to give all three children their natural widths, the start and end widgets start shrinking and the center child keeps natural width until they reach minimum width.
If set to FALSE, start and end widgets keep natural width and the
center widget starts shrinking instead.
#shrink_center_last? ⇒ Boolean
Whether to shrink the center widget after other children.
By default, when there's no space to give all three children their natural widths, the start and end widgets start shrinking and the center child keeps natural width until they reach minimum width.
If set to FALSE, start and end widgets keep natural width and the
center widget starts shrinking instead.
#start_widget ⇒ Gtk::Widget
Returns the start widget of the layout.
#start_widget=(widget) ⇒ nil
Sets the new start widget of self.
To remove the existing start widget, pass nil.