diff options
Diffstat (limited to 'include/X11/Xaw3d/List.h')
-rw-r--r-- | include/X11/Xaw3d/List.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/X11/Xaw3d/List.h b/include/X11/Xaw3d/List.h index 9481744..99e61df 100644 --- a/include/X11/Xaw3d/List.h +++ b/include/X11/Xaw3d/List.h @@ -24,7 +24,7 @@ in this Software without prior written authorization from the X Consortium. */ /* This is the List widget, it is useful to display a list, without the - * overhead of having a widget for each item in the list. It allows + * overhead of having a widget for each item in the list. It allows * the user to select an item in a list and notifies the application through * a callback function. * @@ -57,7 +57,7 @@ in this Software without prior written authorization from the X Consortium. cursor Cursor Cursor left_ptr cursorName Cursor String NULL defaultColumns Columns int 2 **5 - destroyCallback Callback Pointer NULL + destroyCallback Callback Pointer NULL font Font XFontStruct* XtDefaultFont forceColumns Columns Boolean False **5 foreground Foreground Pixel XtDefaultForeground @@ -83,28 +83,28 @@ in this Software without prior written authorization from the X Consortium. is set to the minimum size necessay to fit the entire list. If both Width and Height are zero then they are adjusted to fit the - entire list that is created width the number of default columns + entire list that is created width the number of default columns specified in the defaultColumns resource. **2 - This is an array of strings the specify elements of the list. - This resource must be specified. + This resource must be specified. (What good is a list widget without a list?? :-) **3 - Longest is the length of the widest string in pixels. **4 - If either of these values are zero (0) then the list widget calculates - the correct value. + the correct value. - (This allows you to make startup faster if you already have + (This allows you to make startup faster if you already have this information calculated) - NOTE: If the numberStrings value is zero the list must + NOTE: If the numberStrings value is zero the list must be NULL terminated. **5 - By setting the List.Columns resource you can force the application to - have a given number of columns. - - **6 - This returns the name and index of the item selected in an + have a given number of columns. + + **6 - This returns the name and index of the item selected in an XawListReturnStruct that is pointed to by the client_data in the CallbackProc. @@ -112,10 +112,10 @@ in this Software without prior written authorization from the X Consortium. /* - * Value returned when there are no highlighted objects. + * Value returned when there are no highlighted objects. */ -#define XAW_LIST_NONE -1 +#define XAW_LIST_NONE -1 #define XtCList "List" #define XtCSpacing "Spacing" @@ -133,7 +133,7 @@ in this Software without prior written authorization from the X Consortium. #define XtNpasteBuffer "pasteBuffer" #define XtNrowSpacing "rowSpacing" #define XtNverticalList "verticalList" - + #ifdef XAW_INTERNATIONALIZATION #ifndef XtNfontSet #define XtNfontSet "fontSet" |