1 #ifndef LWLIB_INTERNAL_H
2 #define LWLIB_INTERNAL_H
6 extern char *safe_strdup
__P ((const char *));
8 typedef struct _widget_instance
13 struct _widget_info
* info
;
14 struct _widget_instance
* next
;
17 typedef struct _widget_info
24 lw_callback pre_activate_cb
;
25 lw_callback selection_cb
;
26 lw_callback post_activate_cb
;
27 lw_callback highlight_cb
;
28 struct _widget_instance
* instances
;
29 struct _widget_info
* next
;
33 (*widget_creation_function
) ();
35 typedef struct _widget_creation_entry
38 widget_creation_function function
;
39 } widget_creation_entry
;
41 /* update all other instances of a widget. Can be used in a callback when
42 a widget has been used by the user */
44 lw_internal_update_other_instances
__P ((Widget
, XtPointer
, XtPointer
));
46 /* get the widget_value for a widget in a given instance */
48 lw_get_widget_value_for_widget
__P ((widget_instance
*, Widget
));
50 widget_info
*lw_get_widget_info
__P ((LWLIB_ID
));
51 widget_instance
* lw_get_widget_instance
__P ((Widget
));
53 #endif /* LWLIB_INTERNAL_H */