Mercurial > hg > xemacs-beta
comparison lwlib/lwlib-internal.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | 74fd4e045ea6 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
1 #ifndef INCLUDED_lwlib_internal_h_ | 1 #ifndef LWLIB_INTERNAL_H |
2 #define INCLUDED_lwlib_internal_h_ | 2 #define LWLIB_INTERNAL_H |
3 | 3 |
4 #include "lwlib.h" | 4 #include "lwlib.h" |
5 | 5 |
6 /* This represents a single widget within a widget tree. All the | 6 /* This represents a single widget within a widget tree. All the |
7 widgets in a widget tree are chained through the `next' field. | 7 widgets in a widget tree are chained through the `next' field. |
37 typedef Widget | 37 typedef Widget |
38 (*widget_creation_function) (widget_instance* instance); | 38 (*widget_creation_function) (widget_instance* instance); |
39 | 39 |
40 typedef struct _widget_creation_entry | 40 typedef struct _widget_creation_entry |
41 { | 41 { |
42 const char* type; | 42 CONST char* type; |
43 widget_creation_function function; | 43 widget_creation_function function; |
44 } widget_creation_entry; | 44 } widget_creation_entry; |
45 | 45 |
46 /* update all other instances of a widget. Can be used in a callback when | 46 /* update all other instances of a widget. Can be used in a callback when |
47 a wiget has been used by the user */ | 47 a wiget has been used by the user */ |
53 widget_value* | 53 widget_value* |
54 lw_get_widget_value_for_widget (widget_instance* instance, Widget w); | 54 lw_get_widget_value_for_widget (widget_instance* instance, Widget w); |
55 | 55 |
56 widget_info *lw_get_widget_info (LWLIB_ID id); | 56 widget_info *lw_get_widget_info (LWLIB_ID id); |
57 | 57 |
58 #endif /* INCLUDED_lwlib_internal_h_ */ | 58 #endif /* LWLIB_INTERNAL_H */ |
59 |