Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:23

0001 /*
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022  */
0023 
0024 #ifndef _XmCombinationBox2P_h_
0025 #define _XmCombinationBox2P_h_
0026 
0027 #include <Xm/DropDownP.h>
0028 #include <Xm/XmP.h>
0029 
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033 
0034 #define XmCombinationBox2_UP        XmDropDown_UP
0035 #define XmCombinationBox2_UNPOSTED  XmDropDown_UNPOSTED
0036 #define XmCombinationBox2_DOWN          XmDropDown_DOWN
0037 #define XmCombinationBox2_POSTED    XmDropDown_POSTED
0038 #define XmCombinationBox2_IN_PROGRESS   XmDropDown_IN_PROGRESS
0039 #define XmCombinationBox2_BEGIN_POPUP_FROM_TEXT \
0040   XmDropDown_BEGIN_POPUP_FROM_TEXT
0041 
0042 #define XmComboBox2_h_space(w) (((XmCombinationBox2Widget)(w))->combo.h_space)
0043 #define XmComboBox2_v_space(w) (((XmCombinationBox2Widget)(w))->combo.v_space)
0044 #define XmComboBox2_popup_offset(w) (((XmCombinationBox2Widget)(w))->combo.popup_offset)
0045 #define XmComboBox2_verify(w) (((XmCombinationBox2Widget)(w))->combo.verify)
0046 #define XmComboBox2_editable(w) (((XmCombinationBox2Widget)(w))->combo.editable)
0047 #define XmComboBox2_show_label(w) (((XmCombinationBox2Widget)(w))->combo.show_label)
0048 #define XmComboBox2_customized_combo_box(w) (((XmCombinationBox2Widget)(w))->combo.customized_combo_box)
0049 #define XmComboBox2_use_text_field(w) (((XmCombinationBox2Widget)(w))->combo.use_text_field)
0050 #define XmComboBox2_popup_shell(w) (((XmCombinationBox2Widget)(w))->combo.popup_shell)
0051 #define XmComboBox2_popup_cursor(w) (((XmCombinationBox2Widget)(w))->combo.popup_cursor)
0052 #define XmComboBox2_translations(w) (((XmCombinationBox2Widget)(w))->combo.translations)
0053 #define XmComboBox2_verify_text_callback(w) (((XmCombinationBox2Widget)(w))->combo.verify_text_callback)
0054 #define XmComboBox2_verify_text_failed_callback(w) (((XmCombinationBox2Widget)(w))->combo.verify_text_failed_callback)
0055 #define XmComboBox2_update_text_callback(w) (((XmCombinationBox2Widget)(w))->combo.update_text_callback)
0056 #define XmComboBox2_update_shell_callback(w) (((XmCombinationBox2Widget)(w))->combo.update_shell_callback)
0057 #define XmComboBox2_visible_items(w) (((XmCombinationBox2Widget)(w))->combo.visible_items)
0058 #define XmComboBox2_new_visual_style(w) (((XmCombinationBox2Widget)(w))->combo.new_visual_style)
0059 
0060 #define XmComboBox2_old_text(w) (((XmCombinationBox2Widget)(w))->combo.old_text)
0061 #define XmComboBox2_focus_owner(w) (((XmCombinationBox2Widget)(w))->combo.focus_owner)
0062 #define XmComboBox2_focus_state(w) (((XmCombinationBox2Widget)(w))->combo.focus_state)
0063 #define XmComboBox2_list_state(w) (((XmCombinationBox2Widget)(w))->combo.list_state)
0064 #define XmComboBox2_text_x(w) (((XmCombinationBox2Widget)(w))->combo.text_x)
0065 #define XmComboBox2_list(w) (((XmCombinationBox2Widget)(w))->combo.list)
0066 #define XmComboBox2_label(w) (((XmCombinationBox2Widget)(w))->combo.label)
0067 #define XmComboBox2_text(w) (((XmCombinationBox2Widget)(w))->combo.text)
0068 #define XmComboBox2_arrow(w) (((XmCombinationBox2Widget)(w))->combo.arrow)
0069 
0070 #define XmComboBox2_autoTraversal(w) (((XmCombinationBox2Widget)(w))->combo.autoTraversal)
0071 #define XmComboBox2_activateOnFill(w) (((XmCombinationBox2Widget)(w))->combo.activateOnFill)
0072 #define XmComboBox2_doActivate(w) (((XmCombinationBox2Widget)(w))->combo.doActivate)
0073 #define XmComboBox2_inValueChanged(w) (((XmCombinationBox2Widget)(w))->combo.inValueChanged)
0074 
0075 /* Should return True to ignore invalid entry warning. Combination Box
0076  *  does not currently use this. Presumes do it in subclasses 
0077  */
0078 typedef Boolean (*XmCombinationBox2TextProc)(
0079     Widget, 
0080     char *text
0081 );
0082 
0083 typedef Boolean (*XmCombinationBox2TextListMapProc)(
0084     Widget,     /* combo box */
0085     Widget,     /* text */
0086     Widget      /* list */
0087 );
0088 
0089 /* Version number for the first Revision  */
0090 #define XmCombinationBox2ExtensionVersion 2
0091 
0092 typedef XmDropDownClassPart XmCombinationBox2ClassPartExtension;
0093 
0094 typedef XmDropDownClassPart XmCombinationBox2ClassPart;
0095 
0096 typedef XmDropDownClassRec  XmCombinationBox2ClassRec;
0097 
0098 typedef XmDropDownPart      XmCombinationBox2Part;
0099 
0100 typedef XmDropDownRec       XmCombinationBox2Rec;
0101 
0102 extern XmCombinationBox2ClassRec xmCombinationBox2ClassRec XM_DEPRECATED;
0103 
0104 #ifdef __cplusplus
0105 }   /* Closes scope of 'extern "C"' declaration */
0106 #endif
0107 
0108 #endif /* _XmCombinationBox2P_h_ */