grc.gui.NotebookPage.Page Class Reference

List of all members.

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


Detailed Description

Notebook Page
A page in the notebook.

Definition at line 36 of file NotebookPage.py.


Member Function Documentation

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.

Returns:
generator

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.

Returns:
the pid number

Definition at line 120 of file NotebookPage.py.

def grc.gui.NotebookPage.Page.set_pid (   self,
  pid 
)

Set the pid number.

Parameters:
pid the new pid number

Definition at line 127 of file NotebookPage.py.

def grc.gui.NotebookPage.Page.get_flow_graph (   self  ) 

Get the flow graph.

Returns:
the flow graph

Definition at line 134 of file NotebookPage.py.

def grc.gui.NotebookPage.Page.get_file_path (   self  ) 

Get the file path for the flow graph.

Returns:
the file path or ''

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.

Parameters:
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.

Returns:
true if saved

Definition at line 156 of file NotebookPage.py.

def grc.gui.NotebookPage.Page.set_saved (   self,
  saved = True 
)

Set the saved status.

Parameters:
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.

Returns:
the state cache

Definition at line 170 of file NotebookPage.py.


Member Data Documentation

grc.gui.NotebookPage.Page._flow_graph [private]

Definition at line 45 of file NotebookPage.py.

grc.gui.NotebookPage.Page.main_window

Definition at line 48 of file NotebookPage.py.

grc.gui.NotebookPage.Page.state_cache

Definition at line 57 of file NotebookPage.py.

grc.gui.NotebookPage.Page.tab

Definition at line 66 of file NotebookPage.py.

grc.gui.NotebookPage.Page.label

Definition at line 68 of file NotebookPage.py.

grc.gui.NotebookPage.Page.pid

Definition at line 132 of file NotebookPage.py.

grc.gui.NotebookPage.Page.file_path

Definition at line 153 of file NotebookPage.py.

grc.gui.NotebookPage.Page.saved

Definition at line 168 of file NotebookPage.py.


The documentation for this class was generated from the following file:
Generated on Sat Aug 23 02:00:11 2008 for GNU Radio Companion by  doxygen 1.5.4