Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/tcllib/panelframe.rb

Class/Module Index [+]

Quicksearch

Tk::Tcllib::Widget::PanelFrame

Public Class Methods

package_name() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 19
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 23
def self.package_version
  begin
    TkPackage.require('widget::panelframe')
  rescue
    ''
  end
end
            

Public Instance Methods

add(what, *args) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 48
def add(what, *args)
  window(tk_send('add', *args))
end
            
delete(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 70
def delete(*wins)
  tk_send('delete', *wins)
  self
end
            
items() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 75
def items
  simplelist(tk_send('items')).collect!{|w| window(w)}
end
            
remove(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 61
def remove(*wins)
  tk_send('remove', *wins)
  self
end
            
remove_destroy(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 65
def remove_destroy(*wins)
  tk_send('remove', '-destroy', *wins)
  self
end
            
set_widget(widget) click to toggle source

def get_frame

window(tk_send('getframe'))

end

 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 56
def set_widget(widget)
  tk_send('setwidget', widget)
  self
end