Class: Gtk::Paned

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gtk3/paned.rb,
lib/gtk3/deprecated.rb

Instance Method Summary collapse

Instance Method Details

#pack1(child, options = {}) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/gtk3/paned.rb', line 20

def pack1(child, options={})
  resize = options[:resize]
  resize = false if resize.nil?
  shrink = options[:shrink]
  shrink = true if shrink.nil?
  pack1_raw(child, resize, shrink)
end

#pack1_rawObject



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, options={})
  resize = options[:resize]
  resize = true if resize.nil?
  shrink = options[:shrink]
  shrink = true if shrink.nil?
  pack2_raw(child, resize, shrink)
end

#pack2_rawObject



28
# File 'lib/gtk3/paned.rb', line 28

alias_method :pack2_raw, :pack2