Module: Bioroebe::GUI

Included in:
UniversalWidgets::AminoacidComposition, UniversalWidgets::AntiSenseStrand, UniversalWidgets::BlosumMatrixViewer, UniversalWidgets::CalculateCellNumbersOfBacteria, UniversalWidgets::Controller, UniversalWidgets::DnaToAminoacidWidget, UniversalWidgets::DnaToReverseComplementWidget, UniversalWidgets::FastaTableWidget, UniversalWidgets::FormatConverter, UniversalWidgets::Gene, UniversalWidgets::HammingDistance, UniversalWidgets::LevenstheinDistance, UniversalWidgets::NucleotideAnalyser, UniversalWidgets::ParsePdbFile, UniversalWidgets::PrimerDesignWidget, UniversalWidgets::RandomSequence, UniversalWidgets::RestrictionEnzymes, UniversalWidgets::ShowCodonTable, UniversalWidgets::ShowCodonUsage, UniversalWidgets::Sizeseq, UniversalWidgets::WwwFinder
Defined in:
lib/bioroebe/constants/GUIs.rb,
lib/bioroebe/gui/universal_widgets/gene/gene.rb,
lib/bioroebe/gui/universal_widgets/shell/shell.rb,
lib/bioroebe/gui/experimental/snapgene/snapgene.rb,
lib/bioroebe/gui/universal_widgets/sizeseq/sizeseq.rb,
lib/bioroebe/gui/universal_widgets/alignment/alignment.rb,
lib/bioroebe/gui/universal_widgets/controller/controller.rb,
lib/bioroebe/gui/universal_widgets/www_finder/www_finder.rb,
lib/bioroebe/gui/universal_widgets/three_to_one/three_to_one.rb,
lib/bioroebe/gui/universal_widgets/parse_pdb_file/parse_pdb_file.rb,
lib/bioroebe/gui/universal_widgets/protein_to_DNA/protein_to_DNA.rb,
lib/bioroebe/gui/universal_widgets/random_sequence/random_sequence.rb,
lib/bioroebe/gui/universal_widgets/format_converter/format_converter.rb,
lib/bioroebe/gui/universal_widgets/hamming_distance/hamming_distance.rb,
lib/bioroebe/gui/universal_widgets/show_codon_table/show_codon_table.rb,
lib/bioroebe/gui/universal_widgets/show_codon_usage/show_codon_usage.rb,
lib/bioroebe/gui/universal_widgets/anti_sense_strand/anti_sense_strand.rb,
lib/bioroebe/gui/universal_widgets/fasta_table_widget/fasta_table_widget.rb,
lib/bioroebe/gui/universal_widgets/aminoacid_composition/customized_dialog.rb,
lib/bioroebe/gui/universal_widgets/nucleotide_analyser/nucleotide_analyser.rb,
lib/bioroebe/gui/universal_widgets/restriction_enzymes/restriction_enzymes.rb,
lib/bioroebe/gui/universal_widgets/blosum_matrix_viewer/blosum_matrix_viewer.rb,
lib/bioroebe/gui/universal_widgets/levensthein_distance/levensthein_distance.rb,
lib/bioroebe/gui/universal_widgets/primer_design_widget/primer_design_widget.rb,
lib/bioroebe/gui/universal_widgets/aminoacid_composition/aminoacid_composition.rb,
lib/bioroebe/gui/universal_widgets/dna_to_aminoacid_widget/dna_to_aminoacid_widget.rb,
lib/bioroebe/gui/universal_widgets/dna_to_reverse_complement_widget/dna_to_reverse_complement_widget.rb,
lib/bioroebe/gui/universal_widgets/calculate_cell_numbers_of_bacteria/calculate_cell_numbers_of_bacteria.rb

Overview

Bioroebe::GUI

Defined Under Namespace

Modules: Gtk, UniversalWidgets

Constant Summary collapse

ARRAY_ALL_GTK_WIDGETS =
#

ARRAY_ALL_GTK_WIDGETS

List all gtk-widgets that are relevant for the controller-application.

#
%w(
  anti_sense_strand/anti_sense_strand.rb
  calculate_cell_numbers_of_bacteria/calculate_cell_numbers_of_bacteria.rb
  dna_to_aminoacid_widget/dna_to_aminoacid_widget.rb
  hamming_distance/hamming_distance.rb
  levensthein_distance/levensthein_distance.rb
  protein_to_DNA/protein_to_DNA.rb
  random_aminoacids/random_aminoacids.rb
  restriction_enzymes/restriction_enzymes.rb
  www_finder/www_finder.rb
  dna_to_reverse_complement_widget/dna_to_reverse_complement_widget.rb
)
USE_THIS_FONT_FAMILY_FOR_GUI_APPLICATIONS =
#

USE_THIS_FONT_FAMILY_FOR_GUI_APPLICATIONS

This specifies the main font that is to be used for GUI applications pertaining to Bioroebe.

#
'DejaVu Sans Mono'
FONT_SIZE =
#

FONT_SIZE

Uniform default font-size for the whole GUI part.

#
'24'
USE_THIS_FONT =
#

USE_THIS_FONT

#
"#{USE_THIS_FONT_FAMILY_FOR_GUI_APPLICATIONS} #{FONT_SIZE}"
OLD_VERBOSE_VALUE =
#

OLD_VERBOSE_VALUE

#
$VERBOSE

Instance Method Summary collapse

Instance Method Details

#disable_warningsObject

#

disable_warnings

#


60
61
62
# File 'lib/bioroebe/constants/GUIs.rb', line 60

def disable_warnings
  $VERBOSE = nil
end

#enable_warningsObject

#

enable_warnings

#


67
68
69
# File 'lib/bioroebe/constants/GUIs.rb', line 67

def enable_warnings
  $VERBOSE = OLD_VERBOSE_VALUE
end

#log_dir?Boolean

#

log_dir?

#

Returns:

  • (Boolean)


74
75
76
77
# File 'lib/bioroebe/constants/GUIs.rb', line 74

def log_dir?
  require 'bioroebe/toplevel_methods/toplevel_methods.rb'
  ::Bioroebe.log_dir?
end