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

Class DataWindow


Method Summary
  __init__(data_view)
Creates a new data displaying window.
  get_color_axis()
Returns: The color axis.
  get_data()
Returns: The data as Container.
  get_data_name()
Gets the data name part of a data window's title.
  get_data_view()
Returns: The currently shown data view.
  get_ul_corner_widget()
Returns: The upper left corner widget as a GtkWidget, NULL if there is
  set_data_name(data_name)
Sets the data name of a data window.
  set_ul_corner_widget(corner)
Sets the widget in upper left corner of a data window to corner.
  set_zoom(izoom)
Sets the zoom of a data window to izoom.

Method Details

__init__(data_view)
(Constructor)

Creates a new data displaying window.
Returns:
A newly created widget, as GtkWidget.

get_color_axis()

Returns: The color axis.
Returns:
The color axis.

get_data()

Returns: The data as Container.
Returns:
The data as Container.

get_data_name()

Gets the data name part of a data window's title.
Returns:
The data name as a string owned by the window.

get_data_view()

Returns: The currently shown data view.
Returns:
The currently shown data view.

get_ul_corner_widget()

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

set_data_name(data_name)

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)

set_ul_corner_widget(corner)

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)

set_zoom(izoom)

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)

Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 http://epydoc.sf.net