1 #ifndef LWLIB_INTERNAL_H
2 #define LWLIB_INTERNAL_H
7 extern char *strdup (const char *);
8 extern int strcasecmp (const char *, const char *);
11 typedef struct _widget_instance
16 struct _widget_info
* info
;
17 struct _widget_instance
* next
;
20 typedef struct _widget_info
27 lw_callback pre_activate_cb
;
28 lw_callback selection_cb
;
29 lw_callback post_activate_cb
;
30 struct _widget_instance
* instances
;
31 struct _widget_info
* next
;
35 (*widget_creation_function
) ();
37 typedef struct _widget_creation_entry
40 widget_creation_function function
;
41 } widget_creation_entry
;
43 /* update all other instances of a widget. Can be used in a callback when
44 a wiget has been used by the user */
46 lw_internal_update_other_instances ();
48 /* get the widget_value for a widget in a given instance */
50 lw_get_widget_value_for_widget ();
52 #endif /* LWLIB_INTERNAL_H */