Class: Gtk::Layout
- Inherits:
-
Object
- Object
- Gtk::Layout
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#bin_window ⇒ Gdk::Window
Retrieve the bin window of the layout used for drawing operations.
-
#get_size(width, height) ⇒ nil
Gets the size that has been set on the layout, and that determines the total extents of the layout’s scrollbar area.
-
#hadjustment ⇒ Gtk::Adjustment
This function should only be called after the layout has been placed in a Gtk::ScrolledWindow or otherwise configured for scrolling.
-
#hadjustment=(adjustment) ⇒ nil
Sets the horizontal scroll adjustment for the layout.
-
#height ⇒ Integer
Height.
- #height=(height) ⇒ Integer
-
#move(child_widget, x, y) ⇒ nil
Moves a current child of layout to a new position.
-
#new(hadjustment, vadjustment) ⇒ Gtk::Widget
Creates a new Gtk::Layout.
-
#put(child_widget, x, y) ⇒ nil
Adds child_widget to layout, at position (x,y).
-
#set_size(width, height) ⇒ nil
Sets the size of the scrollable area of the layout.
-
#vadjustment ⇒ Gtk::Adjustment
This function should only be called after the layout has been placed in a Gtk::ScrolledWindow or otherwise configured for scrolling.
-
#vadjustment=(adjustment) ⇒ nil
Sets the vertical scroll adjustment for the layout.
-
#width ⇒ Integer
Width.
- #width=(width) ⇒ Integer
Instance Method Details
#bin_window ⇒ Gdk::Window
Retrieve the bin window of the layout used for drawing operations.
#get_size(width, height) ⇒ nil
Gets the size that has been set on the layout, and that determines the total extents of the layout’s scrollbar area. See gtk_layout_set_size ().
#hadjustment ⇒ Gtk::Adjustment
This function should only be called after the layout has been placed in a Gtk::ScrolledWindow or otherwise configured for scrolling. It returns the Gtk::Adjustment used for communication between the horizontal scrollbar and layout.
See Gtk::ScrolledWindow, #GtkScrollbar, #GtkAdjustment for details.
#hadjustment=(adjustment) ⇒ nil
Sets the horizontal scroll adjustment for the layout.
See Gtk::ScrolledWindow, #GtkScrollbar, #GtkAdjustment for details.
#height ⇒ Integer
Returns height.
#height=(height) ⇒ Integer
#move(child_widget, x, y) ⇒ nil
Moves a current child of layout to a new position.
#new(hadjustment, vadjustment) ⇒ Gtk::Widget
Creates a new Gtk::Layout. Unless you have a specific adjustment you’d like the layout to use for scrolling, pass nil for hadjustment and vadjustment.
#put(child_widget, x, y) ⇒ nil
Adds child_widget to layout, at position (x,y). layout becomes the new parent container of child_widget.
#set_size(width, height) ⇒ nil
Sets the size of the scrollable area of the layout.
#vadjustment ⇒ Gtk::Adjustment
This function should only be called after the layout has been placed in a Gtk::ScrolledWindow or otherwise configured for scrolling. It returns the Gtk::Adjustment used for communication between the vertical scrollbar and layout.
See Gtk::ScrolledWindow, #GtkScrollbar, #GtkAdjustment for details.
#vadjustment=(adjustment) ⇒ nil
Sets the vertical scroll adjustment for the layout.
See Gtk::ScrolledWindow, #GtkScrollbar, #GtkAdjustment for details.
#width ⇒ Integer
Returns width.