Public Member Functions | |
| def | __init__ |
| def | get_generator |
| def | set_text |
| def | get_tab |
| def | get_pid |
| def | set_pid |
| def | get_flow_graph |
| def | get_file_path |
| def | set_file_path |
| def | get_saved |
| def | set_saved |
| def | get_state_cache |
Public Attributes | |
| main_window | |
| state_cache | |
| tab | |
| label | |
| pid | |
| file_path | |
| saved | |
Private Member Functions | |
| def | _handle_button |
Private Attributes | |
| _flow_graph | |
A page in the notebook.
Definition at line 36 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.__init__ | ( | self, | ||
| main_window, | ||||
| flow_graph, | ||||
file_path = '' | ||||
| ) |
Page constructor. @param main_window main window @param file_path path to a flow graph file
Definition at line 39 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_generator | ( | self | ) |
Get the generator object for this flow graph.
Definition at line 87 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page._handle_button | ( | self, | ||
| button | ||||
| ) | [private] |
The button was clicked. Make the current page selected, then close. @param the button
Definition at line 97 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.set_text | ( | self, | ||
| text | ||||
| ) |
Set the text in this label. @param text the new text
Definition at line 106 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_tab | ( | self | ) |
Get the gtk widget for this page's tab. @return gtk widget
Definition at line 113 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_pid | ( | self | ) |
Get the pid for the flow graph.
Definition at line 120 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.set_pid | ( | self, | ||
| pid | ||||
| ) |
Set the pid number.
| pid | the new pid number |
Definition at line 127 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_flow_graph | ( | self | ) |
| def grc.gui.NotebookPage.Page.get_file_path | ( | self | ) |
Get the file path for the flow graph.
Definition at line 141 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.set_file_path | ( | self, | ||
file_path = '' | ||||
| ) |
Set the file path, '' for no file path.
| file_path | file path string |
Definition at line 148 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_saved | ( | self | ) |
Get the saved status for the flow graph.
Definition at line 156 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.set_saved | ( | self, | ||
saved = True | ||||
| ) |
Set the saved status.
| saved | boolean status |
Definition at line 163 of file NotebookPage.py.
| def grc.gui.NotebookPage.Page.get_state_cache | ( | self | ) |
Get the state cache for the flow graph.
Definition at line 170 of file NotebookPage.py.
grc.gui.NotebookPage.Page._flow_graph [private] |
Definition at line 45 of file NotebookPage.py.
Definition at line 48 of file NotebookPage.py.
Definition at line 57 of file NotebookPage.py.
Definition at line 66 of file NotebookPage.py.
Definition at line 68 of file NotebookPage.py.
Definition at line 132 of file NotebookPage.py.
Definition at line 153 of file NotebookPage.py.
Definition at line 168 of file NotebookPage.py.
1.5.4