Module: Bioroebe::GUI::ShowCodonTableModule
- Included in:
- Gtk::ShowCodonTable, LibUI::ShowCodonTable
- Defined in:
- lib/bioroebe/gui/shared_code/show_codon_table/show_codon_table_module.rb
Constant Summary collapse
- TITLE =
#
TITLE
#
'Show Codon Table'
- WIDTH =
#
WIDTH
#
'75% or minimum 350px'
- HEIGHT =
#
HEIGHT
#
'65% or minumum 200px'
Instance Method Summary collapse
-
#active_text? ⇒ Boolean
(also: #selected?)
# === active_text? ========================================================================= #.
-
#border_size? ⇒ Boolean
# === border_size? ========================================================================= #.
-
#padding? ⇒ Boolean
# === padding? ========================================================================= #.
-
#reset_the_shared_module ⇒ Object
# === reset_the_shared_module ========================================================================= #.
Instance Method Details
#active_text? ⇒ Boolean Also known as: selected?
#
active_text?
#
68 69 70 |
# File 'lib/bioroebe/gui/shared_code/show_codon_table/show_codon_table_module.rb', line 68 def active_text? @combo_box_containing_the_registered_codon_tables.selected?.to_s end |
#border_size? ⇒ Boolean
#
border_size?
#
61 62 63 |
# File 'lib/bioroebe/gui/shared_code/show_codon_table/show_codon_table_module.rb', line 61 def border_size? 4 end |
#padding? ⇒ Boolean
#
padding?
#
54 55 56 |
# File 'lib/bioroebe/gui/shared_code/show_codon_table/show_codon_table_module.rb', line 54 def padding? 8 end |
#reset_the_shared_module ⇒ Object
#
reset_the_shared_module
#
36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/bioroebe/gui/shared_code/show_codon_table/show_codon_table_module.rb', line 36 def reset_the_shared_module # ======================================================================= # # === @title # ======================================================================= # set_title(TITLE) # ======================================================================= # # === @width # ======================================================================= # set_width(WIDTH) # ======================================================================= # # === @height # ======================================================================= # set_height(HEIGHT) end |