Module gwy :: Class GraphData
[hide private]
[frames] | no frames]

Class GraphData

source code

Instance Methods [hide private]
 
__init__(gmodel)
Creates graph_data widget based on information in graph model.
source code
 
set_model(gmodel)
Changes the graph model a graph data table displays.
source code
 
get_model()
Gets the graph model a graph data table displays.
source code
Method Details [hide private]

__init__(gmodel)
(Constructor)

source code 

Creates graph_data widget based on information in graph model.

The GtkTreeModel and the columns follow the graph model and must not be changed manually.

Parameters:
  • gmodel - A graph_data model. It can be None. (GraphModel)
Returns:
A new graph_data widget. (gtk.Widget)

set_model(gmodel)

source code 

Changes the graph model a graph data table displays.

Parameters:

get_model()

source code 

Gets the graph model a graph data table displays.

Returns:
The graph model associated with this GraphData widget. (GraphModel)