Class: JLDrill::Gtk::OptionsView
Instance Attribute Summary collapse
#options
#context
Instance Method Summary
collapse
#exit, #optionsSet=, #optionsSet?
#addView, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
#initialize(context) ⇒ OptionsView
Returns a new instance of OptionsView.
12
13
14
15
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 12
def initialize(context)
super(context)
@optionsWindow = OptionsWindow.new(self)
end
|
Instance Attribute Details
#optionsWindow ⇒ Object
Returns the value of attribute optionsWindow.
10
11
12
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 10
def optionsWindow
@optionsWindow
end
|
Instance Method Details
#destroy ⇒ Object
21
22
23
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 21
def destroy
@optionsWindow.destroy
end
|
35
36
37
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 35
def getWidget
@optionsWindow
end
|
#run ⇒ Object
17
18
19
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 17
def run
@optionsWindow.execute
end
|
#setDictionaryFilename(filename) ⇒ Object
30
31
32
33
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 30
def setDictionaryFilename(filename)
super(filename)
@optionsWindow.dictionaryName = filename
end
|
#update(options) ⇒ Object
25
26
27
28
|
# File 'lib/jldrill/views/gtk/OptionsView.rb', line 25
def update(options)
super(options)
@optionsWindow.updateFromViewData
end
|