Next: , Previous: , Up: STInput: The Sensor Abstraction   [Contents]


B.4.2 STInput Properties and Notify

Installed properties (all G_PARAM_EXPLICIT_NOTIFY): name, description, unit, min, max, step, val, flags. Connect with the usual GObject signature:

g_signal_connect (input, "notify::val",
                  G_CALLBACK (on_val), user_data);

STServer listens to these notifies and forwards updates to clients. Prefer notify::val or notify::flags when you care about a single field.