Class: Gtk::Overlay
- Inherits:
-
Object
- Object
- Gtk::Overlay
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_overlay(widget) ⇒ nil
Adds widget to overlay.
-
#get_overlay_pass_through(widget) ⇒ TrueClass
Convenience function to get the value of the Gtk::Overlay:pass-through child property for widget.
-
#new ⇒ Gtk::Widget
Creates a new Gtk::Overlay.
-
#reorder_overlay(child, index_) ⇒ nil
Moves child to a new index in the list of overlay children.
-
#set_overlay_pass_through(widget, pass_through) ⇒ nil
Convenience function to set the value of the Gtk::Overlay:pass-through child property for widget.
Instance Method Details
#add_overlay(widget) ⇒ nil
Adds widget to overlay.
The widget will be stacked on top of the main widget added with gtk_container_add().
The position at which widget is placed is determined from its Gtk::Widget:halign and #GtkWidget:valign properties.
#get_overlay_pass_through(widget) ⇒ TrueClass
Convenience function to get the value of the Gtk::Overlay:pass-through child property for widget.
#new ⇒ Gtk::Widget
Creates a new Gtk::Overlay.
#reorder_overlay(child, index_) ⇒ nil
Moves child to a new index in the list of overlay children. The list contains overlays in the order that these were added to overlay by default. See also Gtk::Overlay:index.
A widget’s index in the overlay children list determines which order the children are drawn if they overlap. The first child is drawn at the bottom. It also affects the default focus chain order.
#set_overlay_pass_through(widget, pass_through) ⇒ nil
Convenience function to set the value of the Gtk::Overlay:pass-through child property for widget.