Class: Roebe::GUI::LibUI::ShowAliases
- Inherits:
-
Object
- Object
- Roebe::GUI::LibUI::ShowAliases
show all
- Includes:
- LibuiParadise::Extensions, ShowAliasesModule
- Defined in:
- lib/roebe/gui/libui/show_aliases/show_aliases.rb
Overview
Roebe::GUI::LibUI::ShowAliases
Instance Method Summary
collapse
-
#create_skeleton ⇒ Object
# === create_skeleton ========================================================================= #.
-
#initialize(run_already = true) ⇒ ShowAliases
constructor
# === initialize ========================================================================= #.
-
#reset ⇒ Object
# === reset (reset tag) ========================================================================= #.
-
#run ⇒ Object
# === run ========================================================================= #.
Constructor Details
#initialize(run_already = true) ⇒ ShowAliases
29
30
31
32
33
34
|
# File 'lib/roebe/gui/libui/show_aliases/show_aliases.rb', line 29
def initialize(
run_already = true
)
reset
run if run_already
end
|
Instance Method Details
#create_skeleton ⇒ Object
46
47
48
49
50
|
# File 'lib/roebe/gui/libui/show_aliases/show_aliases.rb', line 46
def create_skeleton
create_label_n_aliases
create_the_button_update_the_content_for_the_scrolled_window
create_the_text_view
end
|
39
40
41
|
# File 'lib/roebe/gui/libui/show_aliases/show_aliases.rb', line 39
def reset
reset_the_shared_module
end
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# File 'lib/roebe/gui/libui/show_aliases/show_aliases.rb', line 55
def run
create_skeleton
window = ui_padded_main_window(
title?,
width?,
height?,
0
)
outer_vbox = padded_vbox
button_quit = quit_button
hbox_containing_two_widgets = padded_hbox
hbox_containing_two_widgets.minimal(@label_n_aliases)
hbox_containing_two_widgets.minimal(@button_update_the_content_for_the_scrolled_window)
outer_vbox.minimal(hbox_containing_two_widgets)
outer_vbox.add_hsep
outer_vbox.maximal(@sourcecode_widget)
outer_vbox.add_hsep
outer_vbox.minimal(button_quit) window.add(outer_vbox)
window.intelligent_exit
end
|