Class: JLDrill::Gtk::VocabularyTableView
Instance Attribute Summary collapse
#items, #quiz
#context
Instance Method Summary
collapse
#close
#addView, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
Returns a new instance of VocabularyTableView.
12
13
14
15
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 12
def initialize(context)
super(context)
@itemTableWindow = JLDrill::Gtk::ItemTableWindow.new(self)
end
|
Instance Attribute Details
#vocabularyTableWindow ⇒ Object
Returns the value of attribute vocabularyTableWindow.
10
11
12
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 10
def vocabularyTableWindow
@vocabularyTableWindow
end
|
Instance Method Details
#addItem(item) ⇒ Object
37
38
39
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 37
def addItem(item)
@itemTableWindow.addItem(item)
end
|
#destroy ⇒ Object
21
22
23
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 21
def destroy
@itemTableWindow.explicitDestroy
end
|
17
18
19
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 17
def getWidget
@itemTableWindow
end
|
#removeItem(item) ⇒ Object
41
42
43
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 41
def removeItem(item)
@itemTableWindow.removeItem(item)
end
|
#select(item) ⇒ Object
29
30
31
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 29
def select(item)
@itemTableWindow.select(item)
end
|
#showBusy(bool) ⇒ Object
45
46
47
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 45
def showBusy(bool)
@itemTableWindow.showBusy(bool)
end
|
#update(items) ⇒ Object
25
26
27
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 25
def update(items)
@itemTableWindow.updateTable(items)
end
|
#updateItem(item) ⇒ Object
33
34
35
|
# File 'lib/jldrill/views/gtk/VocabularyTableView.rb', line 33
def updateItem(item)
@itemTableWindow.updateItem(item)
end
|