Lines Matching refs:s
24 //It's a global variable
47 //Will be called when the related subject's value changes
68 //Set the subject's value to 30. It will notify `some_observer_cb`
96 The following functions can be used to set a subject's value:
103 Get subject's value
106 The following functions can be used to get a subject's value:
115 Get subject's previous value
118 The following functions can be used to get a subject's previous value:
151 It's also possible to save a target widget when subscribing to a subject.
222 lv_subject_init_int(&subject_mode, 0); //Let's say 0 is Voltage, 1 is Current
242 lv_label_set_text_fmt(label, "%s: %d %s", mode ? "Current" : "Voltage", value, unit);
254 Set a Widget flag if an integer subject's value is equal to a reference value, clear the flag other…
260 Set a Widget flag if an integer subject's value is not equal to a reference value, clear the flag o…
266 Set a Widget state if an integer subject's value is equal to a reference value, clear the flag othe…
272 Set a Widget state if an integer subject's value is not equal to a reference value, clear the flag …
299 Bind an integer subject to an arc's value.
308 Bind an integer subject to a slider's value
317 Bind an integer subject to a roller's value
326 Bind an integer subject to a drop-down's value