Details
gscope_get_type ()
GtkType gscope_get_type (void); |
Returns the Gtk type of Gscope.
gscope_new ()
GtkObject* gscope_new (GscopeParameter *parameters,
GtkFunction program,
int period); |
Create a new Gscope object.
gscope_get_scope_n ()
gpointer gscope_get_scope_n (Gscope *gs,
int n); |
Get the nth GtkScopeApp. Scopes are stored in Gscope in a linked list. Scopes
are numbered from 0.
gscope_get_scope_position ()
gint gscope_get_scope_position (Gscope *gs,
gpointer data); |
Get the position of a GtkScopeApp in Gscope. Scopes are stored in Gscope in a
linked list. The first scope is numbered 0.
gscope_get_nr_scopes ()
gint gscope_get_nr_scopes (Gscope *gs); |
Get the number of GtkScopeApp objects in Gscope.
gscope_nr_visible_scopes ()
gint gscope_nr_visible_scopes (Gscope *gs); |
Get the number of visible GtkScopeApp objects.
gscope_start_program ()
int gscope_start_program (Gscope *gs); |
When program and a non-zero period is specified to gscope_new(), the program
is run when this function is invoked.
gscope_start_polling ()
void gscope_start_polling (Gscope *gs); |
When the GtkScopeApp scopes are in polling mode, start polling them and
displaying the data. Note that the polling (or sampling) period can be different
from the program period specified in gscope_new(). The sampling period is
specified by calling gtk_scope_app_set_polling_mode().
gscope_stop_polling ()
void gscope_stop_polling (Gscope *gs); |
When the GtkScopeApp scopes are in polling mode, stop polling them. The scopes
will stop displaying data.
gscope_get_period ()
int gscope_get_period (Gscope *gs); |
Get the program period specified in gscope_new().
gscope_set_period ()
void gscope_set_period (Gscope *gs,
int period); |
Set or change the program period specified in gscope_new().
gscope_add_parameter ()
Add a gscope parameter to the gscope application.
gscope_remove_parameter ()
void gscope_remove_parameter (Gscope *gs,
gchar *name); |
Remove a gscope parameter from the gscope application.
gscope_parameter_exists ()
int gscope_parameter_exists (Gscope *gs,
gchar *name); |
Does a parameter exist in gscope.
gscope_add_scope ()
void gscope_add_scope (Gscope *gs,
gpointer data); |
Add a GtkScopeApp to Gscope. Normally, this operation is done when a
GtkScopeApp object is created, so users do not have to explicitly call this
function.
gscope_remove_scope ()
void gscope_remove_scope (Gscope *gs,
gpointer data); |
Remove a GtkScopeApp from Gscope. Normally, this operation is done when a
GtkScopeApp object is destroyed, so users do not have to explicitly call this
function.
gscope_inc_visible_scopes ()
void gscope_inc_visible_scopes (Gscope *gs); |
Increment the number of visible scopes. This function does not actually make any
hidden scope visible. This function is used internally by the GtkScopeApp
widget.
gscope_dec_visible_scopes ()
void gscope_dec_visible_scopes (Gscope *gs); |
Decrement the number of visible scopes. This function does not actually hide any
visible scope. This function is used internally by the GtkScopeApp widget.
gscope_get_parameter_window ()
GtkWidget* gscope_get_parameter_window (Gscope *gs); |
Get the parameter window associated with the application. Used by
GtkScopeApp. Users shouldn't have to use it.
gscope_parse_geometry ()
int gscope_parse_geometry (gchar *geometry,
GtkAllocation *geom); |
A utility function that given an X geometry specification returns the
x and y coordinates and width and height in geom. Caller of this function
should allocate space for geom. This function is similar to
gnome_parse_geometry().