Class: Naksh::Interfaces::Rbgtk::HelpWindowInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/naksh/interfaces/gtk/helpwin.rb

Overview

this will be great

Instance Method Summary collapse

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

#hideObject



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

#showObject



52
53
54
55
# File 'lib/naksh/interfaces/gtk/helpwin.rb', line 52

def show
  Gnome::Help.display 'naksh',nil
  0
end