<< GtkWave >>

GtkWave is a conglomerate of a GtkWaveView + Scrolled Window (which has a horizontal scrollbar) + Horizontal Ruler. Generally, you want to instantiate this widget instead of just a GtkWaveView because this widget includes a scrollbar and ruler.

Member functions:

GtkType       gtk_wave_get_type   (void);

Standard Gtk+ object function that returns the GtkType of the GtkWave class.


GtkWidget    *gtk_wave_new        (void);

Standard Gtk+ object function returns reference to new GtkWave widget.


GtkWaveView  *gtk_wave_get_view   (GtkWave *wave);

Returns a pointer to the view object (GtkWaveView). Does not perform any ref/unrefs.


GtkWaveMetric gtk_wave_get_metric (GtkWave *wave);

Returns the current metric, either GTK_WAVE_METRIC_FRAMES or GTK_WAVE_METRIC_TIME.


void          gtk_wave_set_metric (GtkWave       *wave,
                                   GtkWaveMetric  metric);

Sets the units to use for the horizontal ruler. The metric parameter is an enum and can be either GTK_WAVE_METRIC_FRAMES or GTK_WAVE_METRIC_TIME.

GtkWave