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

Class DataWindow

source code

Instance Methods [hide private]
 
__init__(data_view)
Creates a new data displaying window.
source code
 
get_data_view()
Returns the data view widget a data window currently shows.
source code
 
get_color_axis()
Returns the color axis widget displayed by a data window.
source code
 
get_data()
Returns the data for the data view a data window currently shows.
source code
 
set_zoom(izoom)
Sets the zoom of a data window to izoom.
source code
 
get_data_name()
Gets the data name part of a data window's title.
source code
 
set_data_name(data_name)
Sets the data name of a data window.
source code
 
get_ul_corner_widget()
Returns the upper left corner widget of data_window.
source code
 
set_ul_corner_widget(corner)
Sets the widget in upper left corner of a data window to corner.
source code
Method Details [hide private]

__init__(data_view)
(Constructor)

source code 

Creates a new data displaying window.

Returns:
A newly created widget, as GtkWidget.

get_data_view()

source code 

Returns the data view widget a data window currently shows.

Returns:
The currently shown data view.

get_color_axis()

source code 

Returns the color axis widget displayed by a data window.

Returns:
The color axis.

get_data()

source code 

Returns the data for the data view a data window currently shows.

Returns:
The data as Container.

set_zoom(izoom)

source code 

Sets the zoom of a data window to izoom.

When izoom is -1 it zooms out; when izoom is 1 it zooms out. Otherwise the new zoom value is set to izoom/10000.

Parameters:
  • izoom - The new zoom value (as an integer). (int)

get_data_name()

source code 

Gets the data name part of a data window's title.

Returns:
The data name as a string owned by the window.

set_data_name(data_name)

source code 

Sets the data name of a data window.

The data name is used in the window's title.

Parameters:
  • data_name - New data name. (string)

get_ul_corner_widget()

source code 

Returns the upper left corner widget of data_window.

Returns:
The upper left corner widget as a GtkWidget, NULL if there is no such widget.

set_ul_corner_widget(corner)

source code 

Sets the widget in upper left corner of a data window to corner.

Parameters:
  • corner - A widget to set as upper left corner widget, many be NULL to just remove any eventual existing one. (gtk.Widget)