Class: Gtk::Paned
- Inherits:
-
Object
- Object
- Gtk::Paned
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk4/paned.rb,
lib/gtk4/deprecated.rb,
lib/gtk4/deprecated.rb
Instance Method Summary collapse
- #set_end_child(child, options = nil) ⇒ Object
- #set_end_child_raw ⇒ Object
- #set_start_child(child, options = nil) ⇒ Object
- #set_start_child_raw ⇒ Object
Instance Method Details
#set_end_child(child, options = nil) ⇒ Object
32 33 34 35 36 37 38 39 40 41 |
# File 'lib/gtk4/paned.rb', line 32 def set_end_child(child, =nil) set_end_child_raw(child) return self unless resize = [:resize] set_resize_end_child(resize) unless resize.nil? shrink = [:shrink] set_shrink_end_child(shrink) unless shrink.nil? self end |
#set_end_child_raw ⇒ Object
31 |
# File 'lib/gtk4/paned.rb', line 31 alias_method :set_end_child_raw, :set_end_child |
#set_start_child(child, options = nil) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/gtk4/paned.rb', line 20 def set_start_child(child, =nil) set_start_child_raw(child) return self unless resize = [:resize] set_resize_start_child(resize) unless resize.nil? shrink = [:shrink] set_shrink_start_child(shrink) unless shrink.nil? self end |
#set_start_child_raw ⇒ Object
19 |
# File 'lib/gtk4/paned.rb', line 19 alias_method :set_start_child_raw, :set_start_child |