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
Alias for: remove_destroy
items() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 69
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)
end
            
remove_destroy(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/panelframe.rb, line 64
def remove_destroy(*wins)
  tk_send('remove', '-destroy', *wins)
end
            
Also aliased as: delete
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
            

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.

blog comments powered by Disqus