Class: Naksh::Interfaces::Rbgtk::HelpWindowInterface
- Inherits:
-
Object
- Object
- Naksh::Interfaces::Rbgtk::HelpWindowInterface
- Defined in:
- lib/naksh/interfaces/gtk/helpwin.rb
Overview
this will be great
Instance Method Summary collapse
- #hide ⇒ Object
-
#initialize(file_name) ⇒ HelpWindowInterface
constructor
A new instance of HelpWindowInterface.
- #show ⇒ Object
Constructor Details
#initialize(file_name) ⇒ HelpWindowInterface
Returns a new instance of HelpWindowInterface.
49 50 51 |
# File 'lib/naksh/interfaces/gtk/helpwin.rb', line 49 def initialize(file_name) @file_name=file_name end |
Instance Method Details
#hide ⇒ Object
56 57 58 59 |
# File 'lib/naksh/interfaces/gtk/helpwin.rb', line 56 def hide $stderr.puts _('Naksh\'s GTK interface cannot close its help window') 1 end |
#show ⇒ Object
52 53 54 55 |
# File 'lib/naksh/interfaces/gtk/helpwin.rb', line 52 def show Gnome::Help.display 'naksh',nil 0 end |