Pure-ruby implementation of the corresponding Wx class. Simply shows the Window’s help text in a tooltip.
This is what is called by Wx::Window#set_help_text
# File wx/classes/simplehelpprovider.rb, line 13 def add_help(identifier, text) if identifier.kind_of? Wx::Window @help_wins[identifier.object_id] = text else @help_ids[identifier] = text end end
Retrieve help text for the given window win
# File wx/classes/simplehelpprovider.rb, line 22 def get_help(win) @help_wins[win.object_id] || @help_ids[win.wx_id] || "" end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.