Class: Gtk::Paned
- Inherits:
-
Object
- Object
- Gtk::Paned
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk3/paned.rb,
lib/gtk3/deprecated.rb
Instance Method Summary collapse
- #pack1(child, options = {}) ⇒ Object
- #pack1_raw ⇒ Object
- #pack2(child, options = {}) ⇒ Object
- #pack2_raw ⇒ Object
Instance Method Details
#pack1(child, options = {}) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/gtk3/paned.rb', line 20 def pack1(child, ={}) resize = [:resize] resize = false if resize.nil? shrink = [:shrink] shrink = true if shrink.nil? pack1_raw(child, resize, shrink) end |
#pack1_raw ⇒ Object
19 |
# File 'lib/gtk3/paned.rb', line 19 alias_method :pack1_raw, :pack1 |
#pack2(child, options = {}) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/gtk3/paned.rb', line 29 def pack2(child, ={}) resize = [:resize] resize = true if resize.nil? shrink = [:shrink] shrink = true if shrink.nil? pack2_raw(child, resize, shrink) end |
#pack2_raw ⇒ Object
28 |
# File 'lib/gtk3/paned.rb', line 28 alias_method :pack2_raw, :pack2 |