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 20
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 24
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 49
def add(what, *args)
  window(tk_send('add', *args))
end
            
delete(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 71
def delete(*wins)
  tk_send('delete', *wins)
  self
end
            
items() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 76
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 62
def remove(*wins)
  tk_send('remove', *wins)
  self
end
            
remove_destroy(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 66
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 57
def set_widget(widget)
  tk_send('setwidget', widget)
  self
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.