WidgetClassName = ‘Archetype’.freeze WidgetClassNames = self
# File tk/lib/tkextlib/itk/incr_tk.rb, line 52 def self.to_eval '::itk::' << self::WidgetClassName end
# File tk/lib/tkextlib/itk/incr_tk.rb, line 56 def __destroy_hook__ Tk::Itk::Component::ComponentID_TBL.delete(self.path) end
public methods
# File tk/lib/tkextlib/itk/incr_tk.rb, line 61 def component simplelist(tk_send('component')) end
# File tk/lib/tkextlib/itk/incr_tk.rb, line 70 def component_invoke(name, cmd, *args) window(tk_send('component', name, cmd, *args)) end
# File tk/lib/tkextlib/itk/incr_tk.rb, line 74 def component_obj(*names) names = component if names.empty? names.collect{|name| Tk::Itk::Component.new(self.path, name) } end
# File tk/lib/tkextlib/itk/incr_tk.rb, line 65 def component_path(name) window(tk_send('component', name)) 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.