GwyGraphWindow — Graph display window
struct | GwyGraphWindow |
struct | GwyGraphWindowClass |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GwyGraphWindow
GwyGraphWindow implements AtkImplementorIface and GtkBuildable.
#include <libgwydgets/gwydgets.h>
GwyGraphWindow encapsulates a GwyGraph together with other controls and
graph data view.
You can create a graph window for a graph with gwy_graph_window_new()
.
GtkWidget *
gwy_graph_window_new (GwyGraph *graph
);
Creates a new window showing graph
.
graph |
A GwyGraph object containing the graph. |
A newly created graph window as GtkWidget.
GtkWidget *
gwy_graph_window_get_graph (GwyGraphWindow *graphwindow
);
Gets the graph widget a graph window currently shows.
graphwindow |
A graph window. |
The currently shown GwyGraph.
GtkWidget *
gwy_graph_window_get_graph_data (GwyGraphWindow *graphwindow
);
Gets the graph data widget of a graph window.
graphwindow |
A graph window. |
The GwyGraphData widget of this graph window. Its model and column layout must be considered private.
Since: 2.5
GtkWidget *
gwy_graph_window_get_graph_curves (GwyGraphWindow *graphwindow
);
Gets the graph curves widget of a graph window.
graphwindow |
A graph window. |
The GwyGraphCurves widget of this graph window. Its model and column layout must be considered private.
Since: 2.5
void
gwy_graph_window_class_set_tooltips (GtkTooltips *tips
);
gwy_graph_window_class_set_tooltips
is deprecated and should not be used in newly-written code.
Sets the tooltips object to use for adding tooltips to graph window parts.
This function does not do anything useful. Do not use it.
This is a class method. It affects only newly created graph windows, existing graph windows will continue to use the tooltips they were constructed with.
If no class tooltips object is set before first GwyGraphWindow is created,
the class instantiates one on its own. You can normally obtain it with
gwy_graph_window_class_get_tooltips()
then. The class takes a reference on
the tooltips in either case.
tips |
GtkTooltips object GwyGraphWindow should use for setting tooltips.
A |
GtkTooltips *
gwy_graph_window_class_get_tooltips (void
);
gwy_graph_window_class_get_tooltips
is deprecated and should not be used in newly-written code.
Gets the tooltips object used for adding tooltips to Graph window parts.
This function does not do anything useful. Do not use it.
The GtkTooltips object. (Do not free).
struct GwyGraphWindow;
struct GwyGraphWindowClass { GtkWindowClass parent_class; void (*reserved1)(void); void (*reserved2)(void); void (*reserved3)(void); void (*reserved4)(void); };