Top | ![]() |
![]() |
![]() |
![]() |
void | b_element_view_changed () |
void | b_element_view_freeze () |
void | b_element_view_thaw () |
void | b_element_view_set_status_label () |
GtkLabel * | b_element_view_get_status_label () |
void | b_element_view_set_status () |
void | b_element_view_set_zooming () |
void | b_element_view_set_panning () |
gboolean | b_element_view_get_zooming () |
gboolean | b_element_view_get_panning () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── BElementView ╰── BElementViewCartesian
void
b_element_view_changed (BElementView *view
);
Causes the BElementView to emit a "changed" signal, unless it is frozen, in which case the signal will be emitted when the view is thawed.
void
b_element_view_freeze (BElementView *view
);
Freezes a BElementView, so that it no longer emits a "changed" signal when
b_element_view_changed()
is called. Multiple calls of this function will
increase the freeze count. If b_element_view_changed()
is called while the
view is frozen, it will emit a "changed" signal when the freeze count drops
to zero.
void
b_element_view_thaw (BElementView *view
);
Decreases the freeze count of a BElementView. See b_element_view_freeze()
for details.
void b_element_view_set_status_label (BElementView *v
,GtkLabel *status_label
);
Connect a label to the view that will show status information, such as the coordinates of the pointer.
GtkLabel *
b_element_view_get_status_label (BElementView *v
);
Get the status label.
void b_element_view_set_status (BElementView *v
,const gchar *status
);
Set the string to be displayed on the status label, if present.
void b_element_view_set_zooming (BElementView *view
,gboolean b
);
If b
is true, set v
to zoom mode, where the view interval(s) can be increased
or decreased using the mouse.
void b_element_view_set_panning (BElementView *view
,gboolean b
);
If b
is true, set v
to pan mode, where the view interval(s) can be translated
using the mouse.
gboolean
b_element_view_get_zooming (BElementView *view
);
Return TRUE
if the BElementView is in zoom mode.
gboolean
b_element_view_get_panning (BElementView *view
);
Return TRUE
if the BElementView is in pan mode.
struct BElementViewClass { GtkDrawingAreaClass base; /* VTable */ /* Freeze/thaw */ void (*freeze) (BElementView *view); void (*thaw) (BElementView *view); /* Signals */ void (*changed) (BElementView *view); };
Abstract base class for views, which form the elements of plots.
base class |
||
method that gets called by |
||
method that gets called by |
||
default handler for "changed" signal |
“changed”
signalvoid user_function (BElementView *belementview, gpointer user_data)
Flags: Run First