Top | ![]() |
![]() |
![]() |
![]() |
BRateLabel * | b_rate_label_new () |
void | b_rate_label_set_source () |
void | b_rate_label_update () |
void | b_rate_label_set_timeout () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkMisc ╰── GtkLabel ╰── BRateLabel
BRateLabel * b_rate_label_new (const gchar *text
,const gchar *suffix
);
Create a new BRateLabel.
void b_rate_label_set_source (BRateLabel *f
,BData *source
);
Set a source object for BRateLabel. The frame rate will reflect the rate that "changed" signals are generated.
void b_rate_label_set_timeout (BRateLabel *f
,double interval
);
Set the timeout for the rate label. The label will display "timed out" if
there are no updates within this time period. A value of interval
less than
or equal to zero will disable the timeout.