Lines Matching full:to

42  * A common type to handle all the various observable types in the same way
56 uint32_t size : 28; /**< Might be used to store a size related to `type`*/
65 * @param observer pointer to the observer of the callback
66 * @param subject pointer to the subject of the observer
76 * @param subject pointer to the subject
83 * @param subject pointer to the subject
90 * @param subject pointer to the subject
97 * @param subject pointer to the subject
104 * @param subject pointer to the subject
105 * @param buf pointer to a buffer to store the string
106 * @param prev_buf pointer to a buffer to store the previous string, can be NULL if not used
114 * Copy a string to a subject. It will notify all the observers as well.
115 * @param subject pointer to the subject
121 * Print a formatted string to a subject. It will notify all the observers as well.
122 * @param subject pointer to the subject
129 * @param subject pointer to the subject
130 * @return pointer to the buffer containing the current value
136 * @param subject pointer to the subject
137 * @return pointer to the buffer containing the current value
145 * @param subject pointer to the subject
152 * @param subject pointer to the subject
159 * @param subject pointer to the subject
166 * @param subject pointer to the subject
173 * @param subject pointer to the subject
180 * @param subject pointer to the subject
187 * @param subject pointer to the subject
194 * @param subject pointer to the subject
201 * @param subject pointer to the subject
209 * @param subject pointer to the subject
217 * @param subject pointer to the subject
218 * @param index index of the element to get
224 * Add an observer to a subject. When the subject changes `observer_cb` will be called.
225 * @param subject pointer to the subject
226 * @param observer_cb callback to call
228 * @return pointer to the created observer
233 * Add an observer to a subject for an object.
235 * @param subject pointer to the subject
236 * @param observer_cb callback to call
237 * @param obj pointer to an object
239 * @return pointer to the created observer
245 * Add an observer to a subject and also save a target.
246 * @param subject pointer to the subject
247 * @param observer_cb callback to call
248 * @param target pointer to any data
250 * @return pointer to the created observer
257 * @param observer pointer to an observer
264 * @param subject the subject to remove the object from, or `NULL` to remove from all subjects
265 …* @note This function can be used e.g. when an object's subject(s) needs to be replaced by other s…
271 * @param observer pointer to an observer
272 * @return pointer to the saved target
280 * @param observer pointer to an observer
281 * @return pointer to the saved object target
287 * @param observer pointer to an observer
288 * @return void pointer to the saved user data
294 * @param subject pointer to a subject
299 …* Set an object flag if an integer subject's value is equal to a reference value, clear the flag o…
300 * @param obj pointer to an object
301 * @param subject pointer to a subject
302 * @param flag flag to set or clear (e.g. `LV_OBJ_FLAG_HIDDEN`)
303 * @param ref_value reference value to compare the subject's value with
304 * @return pointer to the created observer
309 …* Set an object flag if an integer subject's value is not equal to a reference value, clear the fl…
310 * @param obj pointer to an object
311 * @param subject pointer to a subject
312 * @param flag flag to set or clear (e.g. `LV_OBJ_FLAG_HIDDEN`)
313 * @param ref_value reference value to compare the subject's value with
314 * @return pointer to the created observer
320 …* Set an object state if an integer subject's value is equal to a reference value, clear the flag …
321 * @param obj pointer to an object
322 * @param subject pointer to a subject
323 * @param state state to set or clear (e.g. `LV_STATE_CHECKED`)
324 * @param ref_value reference value to compare the subject's value with
325 * @return pointer to the created observer
330 …* Set an object state if an integer subject's value is not equal to a reference value, clear the f…
331 * @param obj pointer to an object
332 * @param subject pointer to a subject
333 * @param state state to set or clear (e.g. `LV_STATE_CHECKED`)
334 * @param ref_value reference value to compare the subject's value with
335 * @return pointer to the created observer
341 * Set an integer subject to 1 when an object is checked and set it 0 when unchecked.
342 * @param obj pointer to an object
343 * @param subject pointer to a subject
344 * @return pointer to the created observer
351 * Bind an integer, string, or pointer subject to a label.
352 * @param obj pointer to a label
353 * @param subject pointer to a subject
355 * or NULL to bind the value directly.
356 * @return pointer to the created observer
358 * @note if the subject is a pointer must point to a `\0` terminated string.
365 * Bind an integer subject to an arc's value
366 * @param obj pointer to an arc
367 * @param subject pointer to a subject
368 * @return pointer to the created observer
375 * Bind an integer subject to a slider's value
376 * @param obj pointer to a slider
377 * @param subject pointer to a subject
378 * @return pointer to the created observer
385 * Bind an integer subject to a roller's value
386 * @param obj pointer to a roller
387 * @param subject pointer to a subject
388 * @return pointer to the created observer
395 * Bind an integer subject to a dropdown's value
396 * @param obj pointer to a drop down
397 * @param subject pointer to a subject
398 * @return pointer to the created observer