Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gwy_data_window_new () |
GtkWidget * | gwy_data_window_get_data_view () |
GtkWidget * | gwy_data_window_get_color_axis () |
GwyContainer * | gwy_data_window_get_data () |
void | gwy_data_window_set_zoom () |
void | gwy_data_window_fit_to_screen () |
const gchar * | gwy_data_window_get_data_name () |
void | gwy_data_window_set_data_name () |
GtkWidget * | gwy_data_window_get_ul_corner_widget () |
void | gwy_data_window_set_ul_corner_widget () |
GwyColorAxis * | color-axis | Read |
char * | data-name | Read / Write |
GwyDataView * | data-view | Read |
GtkWidget * | ul-corner | Read / Write |
GObject ╰── GInitiallyUnowned ╰── 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 (GwyContainer *data
);
Creates a new data displaying window.
GtkWidget *
gwy_data_window_get_data_view (GwyDataWindow *window
);
Returns the data view widget a data window currently shows.
GtkWidget *
gwy_data_window_get_color_axis (GwyDataWindow *window
);
Returns the color axis widget displayed by a data window.
GwyContainer *
gwy_data_window_get_data (GwyDataWindow *window
);
Returns the data for the data view a data window currently shows.
void gwy_data_window_set_zoom (GwyDataWindow *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.
void
gwy_data_window_fit_to_screen (GwyDataWindow *window
);
Sets the zoom of data windows's data view in an attempt to make the window fit to the screen.
const gchar *
gwy_data_window_get_data_name (GwyDataWindow *window
);
Gets the data name part of a data window's title.
void gwy_data_window_set_data_name (GwyDataWindow *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 *window
);
Returns the upper left corner widget of window
.
void gwy_data_window_set_ul_corner_widget (GwyDataWindow *window
,GtkWidget *corner
);
Sets the widget in upper left corner of a data window to corner
.
“color-axis”
property“color-axis” GwyColorAxis *
Color axis widget displayed in the window.
Owner: GwyDataWindow
Flags: Read
“data-name”
property “data-name” char *
Data name used in window title.
Owner: GwyDataWindow
Flags: Read / Write
Default value: ""
“data-view”
property“data-view” GwyDataView *
Data view widget displayed in the window.
Owner: GwyDataWindow
Flags: Read
“ul-corner”
property“ul-corner” GtkWidget *
Widget in the upper left corner.
Owner: GwyDataWindow
Flags: Read / Write