MVC Views: rafcon.gui.views

Subpackages of rafcon.gui.views

GraphicalEditor (in graphical_editor_gaphas)

ExecutionHistoryTreeView (in execution_history)

class rafcon.gui.views.execution_history.ExecutionHistoryTreeView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.TreeView

class rafcon.gui.views.execution_history.ExecutionHistoryView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.ScrolledWindow

GlobalVariableEditorView (in global_variable_editor)

class rafcon.gui.views.global_variable_editor.GlobalVariableEditorView

Bases: rafcon.design_patterns.mvc.view.View

LibraryTreeView (in library_tree)

class rafcon.gui.views.library_tree.LibraryTreeView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.TreeView

LoggingConsoleView (in logging_console)

class rafcon.gui.views.logging_console.LoggingConsoleView

Bases: rafcon.design_patterns.mvc.view.View

clean_buffer()

Delete all contents of the logging buffer.

clip_buffer()

Clip the logging buffer (if required) to avoid exceeding the maximum logging buffer lines.

static create_text_buffer()
property filtered_buffer
get_cursor_position()
get_line_number_next_to_cursor_with_string_within(s)

Find the closest occurrence of a string with respect to the cursor position in the text view

get_text_of_line(line_number_or_iter)

We are not going to modify ‘filtered_buffer’ here in any shape or form. But we need an exclusive lock here to insure the iters are still valid.

len()
print_message(message, log_level)

Add the logging requests to the event queue.

print_to_text_view(text, text_buf, use_tag=None)

Add the new rows to the logging buffer.

restore_cursor_position()
scroll_to_cursor_onscreen()
set_cursor_on_line_with_string(s, line_offset=0)
set_cursor_position(line_number, line_offset)
set_enables(enables)
static split_text(text_to_split)

Split text

Splits the debug text into its different parts: ‘Time’, ‘LogLevel + Module Name’, ‘Debug message’

Parameters

text_to_split – Text to split

Returns

List containing the content of text_to_split split up

store_cursor_position()
update_auto_scroll_mode()

Register or un-register signals for follow mode

MainWindowView (in main_window)

class rafcon.gui.views.main_window.MainWindowView

Bases: rafcon.design_patterns.mvc.view.View

bring_tab_to_the_top(tab_label)

Find tab with label tab_label in list of notebooks and set it to the current page.

Parameters

tab_label – String containing the label of the tab to be focused

rotate_and_detach_tab_labels()

Rotates tab labels of a given notebook by 90 degrees and makes them detachable.

Parameters

notebook – GTK Notebook container, whose tab labels are to be rotated and made detachable

MenuBarView (in menu_bar)

class rafcon.gui.views.menu_bar.MenuBarView

Bases: rafcon.design_patterns.mvc.view.View

buttons = {'about': '', 'add': '', 'backward_step': '', 'bake_state_machine': '', 'copy': '', 'cut': '', 'data_flow_mode': None, 'delete': '', 'expert_view': '', 'full_screen': None, 'group': '', 'is_start_state': '', 'layout_state_machine': '', 'menu_preferences': '', 'new': '', 'only_run_selected': '', 'open': '', 'open_recent': '', 'paste': '', 'pause': '', 'quit': '', 'redo': '', 'refresh_all': '', 'refresh_libraries': '', 'run_selected': '', 'run_to_selected': '', 'save': '', 'save_as': '', 'save_as_copy': '', 'save_state_as': '', 'show_aborted_preempted': None, 'show_data_flows': None, 'show_data_values': None, 'show_transitions': None, 'start': '', 'start_from_selected': '', 'step_into': '', 'step_mode': '', 'step_out': '', 'step_over': '', 'stop': '', 'substitute_state': '', 'undo': '', 'ungroup': ''}
set_menu_item_accelerator(menu_item_name, accel_code, remove_old=False)
set_menu_item_icon(menu_item_name, uni_code=None)
set_menu_item_sensitive(menu_item_name, sensitive)
sub_menus = ['submenu_file', 'submenu_edit', 'submenu_view', 'submenu_execution', 'submenu_help']

ModificationHistoryView (in modification_history)

class rafcon.gui.views.modification_history.HistoryTreeView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.TreeView

class rafcon.gui.views.modification_history.ModificationHistoryView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.ScrolledWindow

StateMachineTreeView (in state_machine_tree)

class rafcon.gui.views.state_machine_tree.StateMachineTreeView

Bases: rafcon.design_patterns.mvc.view.View, gi.overrides.Gtk.TreeView

StateMachinesEditorView (in state_machines_editor)

class rafcon.gui.views.state_machines_editor.StateMachinesEditorView

Bases: rafcon.design_patterns.mvc.view.View

StatesEditorView (in states_editor)

class rafcon.gui.views.states_editor.StatesEditorView

Bases: rafcon.design_patterns.mvc.view.View

button_released(widget, event=None)

ToolBarView (in tool_bar)

class rafcon.gui.views.tool_bar.ToolBarView

Bases: rafcon.design_patterns.mvc.view.View