joaocandre
joaocandre

Reputation: 1755

"constant" gtk+ signal for a GtkLabel

Is there such a thing as a "constant" gtk+ signal, that is activated permanently? I'm in first steps into gtk, and would like to constantly update a GtkLabel during the execution of the program.

Upvotes: 0

Views: 64

Answers (1)

smani
smani

Reputation: 1973

The functions g_timeout_add, g_idle_add and related are probably what you are looking for, see [1].

[1] https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html

Upvotes: 2

Related Questions