Class: Gtk::Paned
- Inherits:
-
Object
- Object
- Gtk::Paned
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add1(child) ⇒ nil
Adds a child to the top or left pane with default parameters.
-
#add2(child) ⇒ nil
Adds a child to the bottom or right pane with default parameters.
-
#child1 ⇒ Gtk::Widget
Obtains the first child of the paned widget.
-
#child2 ⇒ Gtk::Widget
Obtains the second child of the paned widget.
-
#handle_window ⇒ Gdk::Window
Returns the Gdk::Window of the handle.
-
#max_position ⇒ Integer
The largest possible value for the position property.
-
#max_position=(max_position) ⇒ Integer
The largest possible value for the position property.
-
#min_position ⇒ Integer
The smallest possible value for the position property.
-
#min_position=(min_position) ⇒ Integer
The smallest possible value for the position property.
-
#new(orientation) ⇒ Gtk::Widget
Creates a new Gtk::Paned widget.
-
#pack1(child, resize, shrink) ⇒ nil
Adds a child to the top or left pane.
-
#pack2(child, resize, shrink) ⇒ nil
Adds a child to the bottom or right pane.
-
#position ⇒ Integer
Position.
- #position=(position) ⇒ Integer
- #position_set=(position_set) ⇒ TrueClass
-
#position_set? ⇒ TrueClass
Position-set.
-
#wide_handle ⇒ TrueClass
Gets the Gtk::Paned:wide-handle property.
-
#wide_handle=(wide_handle) ⇒ TrueClass
Setting this property to true indicates that the paned needs to provide stronger visual separation (e.g. because it separates between two notebooks, whose tab rows would otherwise merge visually).
-
#wide_handle? ⇒ TrueClass
Setting this property to true indicates that the paned needs to provide stronger visual separation (e.g. because it separates between two notebooks, whose tab rows would otherwise merge visually).
Instance Method Details
#add1(child) ⇒ nil
Adds a child to the top or left pane with default parameters. This is equivalent to ‘gtk_paned_pack1 (paned, child, FALSE, TRUE)`.
#add2(child) ⇒ nil
Adds a child to the bottom or right pane with default parameters. This is equivalent to ‘gtk_paned_pack2 (paned, child, TRUE, TRUE)`.
#child1 ⇒ Gtk::Widget
Obtains the first child of the paned widget.
#child2 ⇒ Gtk::Widget
Obtains the second child of the paned widget.
#handle_window ⇒ Gdk::Window
Returns the Gdk::Window of the handle. This function is useful when handling button or motion events because it enables the callback to distinguish between the window of the paned, a child and the handle.
#max_position ⇒ Integer
The largest possible value for the position property. This property is derived from the size and shrinkability of the widget’s children.
#max_position=(max_position) ⇒ Integer
The largest possible value for the position property. This property is derived from the size and shrinkability of the widget’s children.
#min_position ⇒ Integer
The smallest possible value for the position property. This property is derived from the size and shrinkability of the widget’s children.
#min_position=(min_position) ⇒ Integer
The smallest possible value for the position property. This property is derived from the size and shrinkability of the widget’s children.
#new(orientation) ⇒ Gtk::Widget
Creates a new Gtk::Paned widget.
#pack1(child, resize, shrink) ⇒ nil
Adds a child to the top or left pane.
#pack2(child, resize, shrink) ⇒ nil
Adds a child to the bottom or right pane.
#position ⇒ Integer
Returns position.
#position=(position) ⇒ Integer
#position_set=(position_set) ⇒ TrueClass
#position_set? ⇒ TrueClass
Returns position-set.
#wide_handle ⇒ TrueClass
Gets the Gtk::Paned:wide-handle property.
#wide_handle=(wide_handle) ⇒ TrueClass
Setting this property to true indicates that the paned needs to provide stronger visual separation (e.g. because it separates between two notebooks, whose tab rows would otherwise merge visually).
#wide_handle? ⇒ TrueClass
Setting this property to true indicates that the paned needs to provide stronger visual separation (e.g. because it separates between two notebooks, whose tab rows would otherwise merge visually).