Top | ![]() |
![]() |
![]() |
![]() |
GwyColorAxis * | color-axis | Read |
gchar * | data-name | Read / Write |
GwyDataView * | data-view | Read |
GtkWidget * | ul-corner | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GwyDataWindow
GwyDataWindow encapsulates a GwyDataView together with other controls.
You can create a data window for a data view with gwy_data_window_new()
.
GtkWidget *
gwy_data_window_new (GwyDataView *data_view
);
Creates a new data displaying window.
GwyDataView *
gwy_data_window_get_data_view (GwyDataWindow *data_window
);
Returns the data view widget a data window currently shows.
GtkWidget *
gwy_data_window_get_color_axis (GwyDataWindow *data_window
);
Returns the color axis widget displayed by a data window.
GwyContainer *
gwy_data_window_get_data (GwyDataWindow *data_window
);
Returns the data for the data view a data window currently shows.
void gwy_data_window_set_zoom (GwyDataWindow *data_window
,gint 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.
const gchar *
gwy_data_window_get_data_name (GwyDataWindow *data_window
);
Gets the data name part of a data window's title.
void gwy_data_window_set_data_name (GwyDataWindow *data_window
,const gchar *data_name
);
Sets the data name of a data window.
The data name is used in the window's title.
GtkWidget *
gwy_data_window_get_ul_corner_widget (GwyDataWindow *data_window
);
Returns the upper left corner widget of data_window
.
void gwy_data_window_set_ul_corner_widget (GwyDataWindow *data_window
,GtkWidget *corner
);
Sets the widget in upper left corner of a data window to corner
.
data_window |
A data window. |
|
corner |
A widget to set as upper left corner widget, many be |
void
gwy_data_window_class_set_tooltips (GtkTooltips *tips
);
Sets the tooltips object to use for adding tooltips to data window parts.
This is a class method. It affects only newly cerated data windows, existing data windows will continue to use the tooltips they were constructed with.
If no class tooltips object is set before first GwyDataWindow is created,
the class instantiates one on its own. You can normally obtain it with
gwy_data_window_class_get_tooltips()
then. The class takes a reference on
the tooltips in either case.
tips |
Tooltips object GwyDataWindow's should use for setting tooltips.
A |
GtkTooltips *
gwy_data_window_class_get_tooltips (void
);
Gets the tooltips object used for adding tooltips to Data window parts.
“color-axis”
property“color-axis” GwyColorAxis *
The color axis widget displayed in the window.
Flags: Read
“data-name”
property“data-name” gchar *
Data name used in window title.
Flags: Read / Write
Default value: ""
“data-view”
property“data-view” GwyDataView *
The data view widget displayed in the window.
Flags: Read
“ul-corner”
property“ul-corner” GtkWidget *
The widget in the upper left corner.
Flags: Read / Write