struct GtkScopeSignal;
enum GtkScopeMode;
void (*callback_func_t) (void *arg,
guint64 x,
gfloat y);
GtkWidget* gtk_scope_new (const gchar *title,
gint width,
gint height);
void gtk_scope_construct (GtkScope *scope,
const gchar *title,
gint width,
gint height);
gchar* gtk_scope_get_title (GtkScope *scope);
void gtk_scope_set_title (GtkScope *scope,
const gchar *title);
void gtk_scope_set_size (GtkScope *scope,
gint x,
gint y);
void gtk_scope_set_position (GtkScope *scope,
gint16 x,
gint16 y);
gfloat gtk_scope_get_xzoom (GtkScope *scope);
void gtk_scope_set_xzoom (GtkScope *scope,
gfloat xzoom);
gfloat gtk_scope_get_xbias (GtkScope *scope);
void gtk_scope_set_xbias (GtkScope *scope,
gfloat xbias);
gfloat gtk_scope_get_yzoom (GtkScope *scope);
void gtk_scope_set_yzoom (GtkScope *scope,
gfloat yzoom);
gfloat gtk_scope_get_ybias (GtkScope *scope);
void gtk_scope_set_ybias (GtkScope *scope,
gfloat ybias);
GtkScopeMode gtk_scope_get_mode (GtkScope *scope);
gint gtk_scope_set_polling_mode (GtkScope *scope,
int period);
gint gtk_scope_start_polling (GtkScope *scope);
void gtk_scope_stop_polling (GtkScope *scope);
gint gtk_scope_is_polling_started (GtkScope *scope);
gint gtk_scope_set_playback_mode (GtkScope *scope,
char *filename,
int period);
gint gtk_scope_get_sampling_period (GtkScope *scope);
void gtk_scope_set_sampling_period (GtkScope *scope,
int period);
gint gtk_scope_start_recording (GtkScope *scope,
char *filename);
void gtk_scope_stop_recording (GtkScope *scope);
gint gtk_scope_is_recording (GtkScope *scope);
gint gtk_scope_in_fft_display (GtkScope *scope);
gint gtk_scope_set_fft_display (GtkScope *scope);
gint gtk_scope_set_time_display (GtkScope *scope);
void gtk_scope_set_signal_line_attributes
(GtkScope *scope,
GscopeSignalLine line);
gint gtk_scope_nr_signals (GtkScope *scope);
GtkScopeSignal* gtk_scope_get_signal_n (GtkScope *scope,
gint n);
GtkScopeSignal* gtk_scope_get_signal_byname (GtkScope *scope,
char *name);
void gtk_scope_set_colors (GtkScope *scope,
char **colors,
int nr);
void gtk_scope_clear (GtkScope *scope);
GtkScopeSignal* gtk_scope_signal_new (GtkScope *scope,
GscopeSignal *signal);
void gtk_scope_signal_free (GtkScopeSignal *ch);
void gtk_scope_signal_update (GtkScopeSignal *ch,
GscopeSignal *signal);
gchar* gtk_scope_signal_get_name (GtkScopeSignal *ch);
void gtk_scope_signal_set_name (GtkScopeSignal *ch,
gchar *name);
gfloat gtk_scope_signal_get_min (GtkScopeSignal *ch);
void gtk_scope_signal_set_min (GtkScopeSignal *ch,
gfloat min);
gfloat gtk_scope_signal_get_max (GtkScopeSignal *ch);
void gtk_scope_signal_set_max (GtkScopeSignal *ch,
gfloat max);
void gtk_scope_signal_set_range (GtkScopeSignal *ch,
gfloat min,
gfloat max);
gfloat gtk_scope_signal_get_filter (GtkScopeSignal *ch);
void gtk_scope_signal_set_filter (GtkScopeSignal *ch,
gfloat filter);
GscopeSignalLine gtk_scope_signal_get_signal_line_attributes
(GtkScopeSignal *ch);
void gtk_scope_signal_set_signal_line_attributes
(GtkScopeSignal *ch,
GscopeSignalLine line);
gboolean gtk_scope_signal_get_hidden (GtkScopeSignal *ch);
void gtk_scope_signal_toggle_hidden (GtkScopeSignal *ch);
void gtk_scope_signal_set_color (GtkScopeSignal *ch,
gchar *color);
void gtk_scope_signal_set_gdkcolor (GtkScopeSignal *ch,
GdkColor color);
GtkStyle* gtk_scope_signal_get_style (GtkScopeSignal *gch);
void gtk_scope_signal_add_callback (GtkScopeSignal *ch,
callback_func_t callback,
void *arg);
|