📄 combobox.man
字号:
XmComboBox(3Xm) Harry's Motif Tools XmComboBox(3Xm)NNAAMMEE XmComboBox - The Combo Box widget classSSYYNNOOPPSSIISS ##iinncclluuddee <<CCoommbbooBBooxx..hh>> Depending on your system's configuration the place of this include file may vary. In doubt, contact your local system administrator. Or run in circles and shout.DDEESSCCRRIIPPTTIIOONN The ComboBox widget allows the user to select elements from a list of choices, and enter their own values in a text widget. To conserve screen space, the list of choices is shown only when the user selects the down arrow button. The choices may then be selected from this list. The list will automatically by removed when the user selects an item in the list. When the list is removed, the item that was selected will be placed in the text widget. Typing the escape key when the list is up, cancels the list popup. CCllaasssseess ComboBox inherits behaviour and resources from CCoorree and CCoommppoossiittee, CCoonnssttrraaiinntt and XXmmMMaannaaggeerr classes. The class pointer is xxmmCCoommbbooBBooxxWWiiddggeettCCllaassss. The class name is XXmmCCoommbbooBBooxx. NNeeww RReessoouurrcceess The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove the XXmmNN or XXmmCC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the XXmm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XXttSSeettVVaalluueess (S), retrieved by using XXttGGeettVVaalluueess (G), or is not applicable (N/A). XXmmCCoommbbooBBooxx RReessoouurrccee SSeett ----------------------------------------------------------------- NNaammee DDeeffaauulltt AAcccceessss CCllaassss TTyyppee ----------------------------------------------------------------- XmNactivateCallback NULL C XmCCallback XtCallbackList -----------------------------------------------------------------Version 1.31 20 March 1995 1XmComboBox(3Xm) Harry's Motif Tools XmComboBox(3Xm) XmNalignment XmALIGNMENT_CENTER CSG XmCAlignment unsigned char ----------------------------------------------------------------- XmNarrowSpacingOn False CSG XmNCArrowSpacingOn Boolean ----------------------------------------------------------------- XmNautomaticSelection False CSG XmCAutomaticSelection Boolean ----------------------------------------------------------------- XmNblinkRate 500 CSG XmCBlinkRate int ----------------------------------------------------------------- XmNcolumns dynamic CSG XmCColumns short ----------------------------------------------------------------- XmNcursorPosition 0 CSG XmCCursorPosition XmTextPosition ----------------------------------------------------------------- XmNcursorPositionVisible True CSG XmCCursorPositionVisible Boolean ----------------------------------------------------------------- XmNdefaultActionCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNdropDownCallback NULL CSG XmCDropDownCallback XtCallbackList ----------------------------------------------------------------- XmNdropDownCursor center_ptr CSG XmCDropDownCursor Cursor ----------------------------------------------------------------- XmNdropDownOffset dynamic CSG XmCDropDownOffset Position ----------------------------------------------------------------- XmNeditable False CG XmCEditable Boolean ----------------------------------------------------------------- XmNfontList dynamic CSG XmCFontList XmFontList ----------------------------------------------------------------- XmNitemCount 0 CSG XmCItemCount int ----------------------------------------------------------------- XmNitems NULL CSG XmCItems XmStringTable ----------------------------------------------------------------- XmNlabelFontList dynamic CSG XmCLabelFontList XmFontList ----------------------------------------------------------------- XmNlabelInsensitivePixmap XmUNSPECIFIED_PIXMAP CSG XmCLabelInsensitivePixmap Pixmap ----------------------------------------------------------------- XmNlabelMarginBottom 0 CSGVersion 1.31 20 March 1995 2XmComboBox(3Xm) Harry's Motif Tools XmComboBox(3Xm) XmCLabelMarginBottom Dimension ----------------------------------------------------------------- XmNlabelMarginHeight 2 CSG XmCLabelMarginHeight Dimension ----------------------------------------------------------------- XmNlabelMarginLeft 0 CSG XmCLabelMarginLeft Dimension ----------------------------------------------------------------- XmNlabelMarginRight 0 CSG XmCLabelMarginRight Dimension ----------------------------------------------------------------- XmNlabelMarginTop 0 CSG XmCLabelMarginTop Dimension ----------------------------------------------------------------- XmNlabelMarginWidth 0 CSG XmCLabelMarginWidth Dimension ----------------------------------------------------------------- XmNlabelPixmap XmUNSPECIFIED_PIXMAP CSG XmCLabelPixmap Pixmap ----------------------------------------------------------------- XmNlabelString dynamic CSG XmCXmString XmString ----------------------------------------------------------------- XmNlabelType XmSTRING CSG XmCLabelType unsigned char ----------------------------------------------------------------- XmNlistMarginHeight 0 CSG XmCListMarginHeight Dimension ----------------------------------------------------------------- XmNlistMarginWidth 0 CSG XmCListMarginWidth Dimension ----------------------------------------------------------------- XmNlistSizePolicy XmVARIABLE CG XmCListSizePolicy unsigned char ----------------------------------------------------------------- XmNlistSpacing 0 CSG XmCListSpacing Dimension ----------------------------------------------------------------- XmNmarginHeight 5 CSG XmCMarginHeight Dimension ----------------------------------------------------------------- XmNmarginWidth 5 CSG XmCMarginWidth Dimension ----------------------------------------------------------------- XmNmaxLength largest integer CSG XmCMaxLength int ----------------------------------------------------------------- XmNmodifyVerifyCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNmotionVerifyCallback NULL CSG XmCCallback XtCallbackList -----------------------------------------------------------------Version 1.31 20 March 1995 3XmComboBox(3Xm) Harry's Motif Tools XmComboBox(3Xm) XmNpersistentDropDown False CSG XmCPersistentDropDown Boolean ----------------------------------------------------------------- XmNscrollBarDisplayPolicy XmAS_NEEDED CSG XmCScrollBarDisplayPolicy unsigned char ----------------------------------------------------------------- XmNselectionCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNselectionPolicy XmBROWSE_SELECT CG XmCSelectionPolicy unsigned char ----------------------------------------------------------------- XmNselectThreshold 5 CSG XmCSelectThreshold int ----------------------------------------------------------------- XmNshowLabel False CG XmCShowLabel Boolean ----------------------------------------------------------------- XmNsorted False CSG XmCSorted Boolean ----------------------------------------------------------------- XmNsortingCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNsquareArrow False CSG XmCSquareArrow Boolean ----------------------------------------------------------------- XmNstaticList False CSG XmCStaticList Boolean ----------------------------------------------------------------- XmNstringDirection dynamic CSG XmCStringDirection XmStringDirection ----------------------------------------------------------------- XmNtwmHandlingOn False CSG XmCTwmHandlingOn Boolean ----------------------------------------------------------------- XmNtopItemPostion 1 G XmCTopItemPostion int ----------------------------------------------------------------- XmNunselectionCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNvalue "" CSG XmCValue String ----------------------------------------------------------------- XmNvalueChangedCallback NULL CSG XmCCallback XtCallbackList ----------------------------------------------------------------- XmNvisibleItemCount 8 CSG XmCVisibleItemCount Int ----------------------------------------------------------------- XXmmNNaaccttiivvaatteeCCaallllbbaacckk Specifies a list of callbacks to be called when theVersion 1.31 20 March 1995 4XmComboBox(3Xm) Harry's Motif Tools XmComboBox(3Xm)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -