|
||||
File indexing completed on 2025-01-18 10:15:24
0001 #ifndef _XmDropDown_h 0002 #define _XmDropDown_h 0003 0004 #include <X11/Intrinsic.h> 0005 0006 #if defined(VMS) || defined(__VMS) 0007 #include <X11/apienvset.h> 0008 #endif 0009 0010 #if defined(__cplusplus) 0011 extern "C" { 0012 #endif 0013 0014 externalref WidgetClass xmDropDownWidgetClass; 0015 0016 typedef struct _XmDropDownClassRec *XmDropDownWidgetClass; 0017 typedef struct _XmDropDownRec *XmDropDownWidget; 0018 0019 /* XmIsDropDown may already be defined for Fast Subclassing */ 0020 #ifndef XmIsDropDown 0021 #define XmIsDropDown(w) XtIsSubclass(w, xmDropDownWidgetClass) 0022 #endif /* XmIsDropDown */ 0023 0024 /***** Public Function Declarations *****/ 0025 0026 /* Function Name: XmCreateDropDown 0027 * Description: Creation Routine for UIL and ADA. 0028 * Arguments: parent - the parent widget. 0029 * name - the name of the widget. 0030 * args, num_args - the number and list of args. 0031 * Returns: The Widget created. 0032 */ 0033 0034 extern Widget XmCreateDropDown(Widget parent, 0035 char *name, 0036 ArgList args, 0037 Cardinal argCount); 0038 0039 /* Function Name: XmDropDownGetValue 0040 * Description: Retreives the value from the combo box. 0041 * Arguments: w - the combination box. 0042 * Returns: The value in the text widget. 0043 */ 0044 0045 extern String XmDropDownGetValue(Widget w); 0046 0047 /* 0048 * Variable argument list functions 0049 */ 0050 0051 extern Widget XmVaCreateDropDown( 0052 Widget parent, 0053 char *name, 0054 ...); 0055 extern Widget XmVaCreateManagedDropDown( 0056 Widget parent, 0057 char *name, 0058 ...); 0059 0060 /* Function Name: XmDropDownGetLabel 0061 * Description: Returns the "label" child of the XmDropDown 0062 * Arguments: w - The XmCombinationBox2 Widget 0063 * Returns: The specified child of the XmDropDown 0064 */ 0065 0066 extern Widget XmDropDownGetLabel(Widget w); 0067 0068 /* Function Name: XmDropDownGetArrow 0069 * Description: Returns the "arrow" child of the XmDropDown 0070 * Arguments: w - The XmCombinationBox2 Widget 0071 * Returns: The specified child of the XmDropDown 0072 */ 0073 0074 extern Widget XmDropDownGetArrow(Widget w); 0075 0076 /* Function Name: XmDropDownGetText 0077 * Description: Returns the "text" child of the XmDropDown 0078 * Arguments: w - The XmCombinationBox2 Widget 0079 * Returns: The specified child of the XmDropDown 0080 */ 0081 0082 extern Widget XmDropDownGetText(Widget w); 0083 0084 /* Function Name: XmDropDownGetList 0085 * Description: Returns the "list" child of the XmDropDown 0086 * Arguments: w - The XmCombinationBox2 Widget 0087 * Returns: The specified child of the XmDropDown 0088 */ 0089 0090 extern Widget XmDropDownGetList(Widget w); 0091 0092 /* Function Name: XmDropDownGetChild 0093 * Description: Returns the child widget id of the XmDropDown 0094 * Arguments: w - The XmDropDown widget 0095 child - Teh component within the DropDown 0096 * Returns: The specified child of the XmDropDown 0097 */ 0098 extern Widget XmDropDownGetChild(Widget w, int child); 0099 0100 #if defined(__cplusplus) 0101 } 0102 #endif 0103 0104 #endif /* _XmDropDown_h_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |