| Top |
| GtkAdjustment * | adjustment-x | Read / Write / Construct |
| GtkAdjustment * | adjustment-y | Read / Write / Construct |
| gboolean | enable-selection | Read / Write / Construct |
| gboolean | enable-zoom | Read / Write / Construct |
| GtkDataboxRuler * | ruler-x | Read / Write / Construct |
| GtkDataboxRuler * | ruler-y | Read / Write / Construct |
| GtkDataboxScaleType | scale-type-x | Read / Write / Construct |
| GtkDataboxScaleType | scale-type-y | Read / Write / Construct |
| gpointer | color | Read / Write |
| gboolean | hide | Read / Write |
| gint | size | Read / Write |
| void | selection-canceled | Run First |
| void | selection-changed | Run First |
| void | selection-finalized | Run First |
| void | selection-started | Run First |
| void | zoomed | Run First |
GObject
├── GInitiallyUnowned
│ ╰── GtkObject
│ ╰── GtkWidget
│ ╰── GtkDatabox
╰── GtkDataboxGraph
├── GtkDataboxXYCGraph
╰── GtkDataboxGrid
typedef struct _GtkDatabox GtkDatabox;
A GTK+ widget to display large amounts of numerical data quickly and easily. The numerical data is represented/displayed by GtkDataboxGraph objects, e.g. GtkDataboxPoints.
Implemented by _GtkDatabox;
typedef struct _GtkDataboxGraph GtkDataboxGraph;
The GtkDataboxGraph is the base class for all kinds of graphs (e.g. lines, points, decorations like coordinate crosses) to be shown in a GtkDatabox wiget.
Implemented by _GtkDataboxGraph
“adjustment-x” property “adjustment-x” GtkAdjustment *
GtkAdjustment for horizontal scrolling.
Flags: Read / Write / Construct
“adjustment-y” property “adjustment-y” GtkAdjustment *
GtkAdjustment for vertical scrolling.
Flags: Read / Write / Construct
“enable-selection” property “enable-selection” gboolean
Defines whether the user can select rectangular areas with the mouse (TRUE) or not (FALSE).
Flags: Read / Write / Construct
Default value: TRUE
“enable-zoom” property “enable-zoom” gboolean
Defines whether the user can use the mouse to zoom in or out (TRUE) or not (FALSE).
Flags: Read / Write / Construct
Default value: TRUE
“ruler-x” property“ruler-x” GtkDataboxRuler *
A horizontal GtkDataboxRuler or NULL.
Flags: Read / Write / Construct
“ruler-y” property“ruler-y” GtkDataboxRuler *
A vertical GtkDataboxRuler or NULL.
Flags: Read / Write / Construct
“scale-type-x” property“scale-type-x” GtkDataboxScaleType
Horizontal scale type (linear or logarithmic).
Flags: Read / Write / Construct
Default value: GTK_DATABOX_SCALE_LINEAR
“scale-type-y” property“scale-type-y” GtkDataboxScaleType
Vertical scale type (linear or logarithmic).
Flags: Read / Write / Construct
Default value: GTK_DATABOX_SCALE_LINEAR
“hide” property “hide” gboolean
Determine if graph is hidden or not.
Flags: Read / Write
Default value: FALSE
“selection-canceled” signalvoid user_function (GtkDatabox *box, gpointer user_data)
This signal is emitted after a right click outside a selection rectangle.
@:
box |
The GtkDatabox widget which zoomed in or out. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“selection-changed” signalvoid user_function (GtkDatabox *box, gpointer selection_values, gpointer user_data)
This signal is emitted when the mouse is moved
with the left button pressed (and the “enable-selection” property
is set). The corners of the selection rectangle are stored in selection_values
.
@: @:
box |
The GtkDatabox widget in which the selection was changed. |
|
selection_values |
The corners of the selection rectangle. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“selection-finalized” signalvoid user_function (GtkDatabox *box, gpointer selection_values, gpointer user_data)
This signal is emitted when the left mouse button is released after a selection was started before.
see_also
: “selection-changed”
@: @:
box |
The GtkDatabox widget in which the selection has been stopped. |
|
selection_values |
The corners of the selection rectangle. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“selection-started” signalvoid user_function (GtkDatabox *box, gpointer selection_values, gpointer user_data)
This signal is emitted when the mouse is firstmoved
with the left button pressed after the mouse-down (and the “enable-selection” property
is set). The corners of the selection rectangle are stored in selection_values
.
see_also
: “selection-changed”
@: @:
box |
The GtkDatabox widget in which the selection has been started. |
|
selection_values |
The corners of the selection rectangle. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“zoomed” signalvoid user_function (GtkDatabox *box, gpointer user_data)
This signal is emitted each time the zoom of the widget is changed, see for example
gtk_databox_zoom_to_selection(), gtk_databox_set_visible_limits().
@:
box |
The GtkDatabox widget which zoomed in or out. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First