?? xmbulletinboard.3
字號:
'\" t.\" $Header: /cvsroot/lesstif/lesstif/doc/lessdox/widgets/XmBulletinBoard.3,v 1.6 2001/03/04 22:02:02 amai Exp $.\".\" Copyright (C) 1997-1998 Free Software Foundation, Inc..\" .\" This file is part of the GNU LessTif Library..\" This library is free software; you can redistribute it and/or.\" modify it under the terms of the GNU Library General Public.\" License as published by the Free Software Foundation; either.\" version 2 of the License, or (at your option) any later version..\" .\" This library is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU.\" Library General Public License for more details..\" .\" You should have received a copy of the GNU Library General Public.\" License along with this library; if not, write to the Free.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA..\" .TH XmBulletinBoard 3 "April 1998" "LessTif Project" "LessTif Manuals".SH NAMEXmBulletinBoard.SH SYNOPSIS.B #include <Xm/BulletinB.h>.PP.B XmBulletinBoard.PP.BR XmCreateBulletinBoard (3x).SH DESCRIPTIONXmBulletinBoard is a widget that serves two main purposes.It is the basic widget for geometry management,of which many other manager widgets are subclassed.XmBulletinBoard is also designed to be the widget to builddialogs with..PPBoth the layout (geometry) management and the dialog featuresare excellent reasons to subclass from XmBulletinBoard..PPFinally, XmBulletinBoard and its subclasses are recognised andtreated especially by XmDialogShell.In normal circumstances,managing (with.BR XtManageChild (3x)) a XmBulletinBoardwhich is a direct child of a XmDialogShell will pop up a dialog window..SH X RESOURCES.TStab(;);l l l l l.Name;Class;Type;Default;Access_XmNshadowType;XmCShadowType;ShadowType;NULL;CSGXmNshadowThickness;XmCShadowThickness;HorizontalDimension;NULL;CSGXmNmarginWidth;XmCMarginWidth;HorizontalDimension;NULL;CSGXmNmarginHeight;XmCMarginHeight;VerticalDimension;NULL;CSGXmNdefaultButton;XmCWidget;Widget;NULL;CSGXmNcancelButton;XmCWidget;Widget;NULL;CSGXmNfocusCallback;XmCCallback;Callback;NULL;CSGXmNmapCallback;XmCCallback;Callback;NULL;CSGXmNunmapCallback;XmCCallback;Callback;NULL;CSGXmNbuttonFontList;XmCButtonFontList;FontList;NULL;CSGXmNlabelFontList;XmCLabelFontList;FontList;NULL;CSGXmNtextFontList;XmCTextFontList;FontList;NULL;CSGXmNtextTranslations;XmCTranslations;TranslationTable;NULL;CSGXmNallowOverlap;XmCAllowOverlap;Boolean;NULL;CSGXmNautoUnmanage;XmCAutoUnmanage;Boolean;NULL;CSGXmNdefaultPosition;XmCDefaultPosition;Boolean;NULL;CSGXmNresizePolicy;XmCResizePolicy;ResizePolicy;NULL;CSGXmNnoResize;XmCNoResize;Boolean;NULL;CSGXmNdialogStyle;XmCDialogStyle;DialogStyle;NULL;CSGXmNdialogTitle;XmCDialogTitle;XmString;(null);CSG.TE.PP.BR XmNshadowType.PP.BR XmNshadowThickness.PP.BR XmNmarginWidth.PP.BR XmNmarginHeight.PP.BR XmNdefaultButton.PP.BR XmNcancelButtonis a resource which contains the widget ID for the cancel button whichis automatically created when you call some functions such as.BR XmCreateMessageBox (3x) .The cancel button can be removed by calling.BR XtDestroyWidget (3x)or it can be hidden by calling.BR XtUnmanageChild (3x) ..PP.BR XmNfocusCallback.PP.BR XmNmapCallbackis a callback list which is called prior to mapping the dialog..PP.BR XmNunmapCallback.PP.BR XmNbuttonFontListspecifies the fontList used for button children..PP.BR XmNlabelFontListspecifies the fontList used for label children..PP.BR XmNtextFontListspecifies the fontList for.BR XmText (3x)or.BR XmTextField (3x)widgets which are children of the bulletinboard..PP.BR XmNtextTranslations.PP.BR XmNallowOverlap.PP.BR XmNautoUnmanagespecifies that the dialog will automatically pop down when the useractivates a button in the dialog other than the Apply or Help buttons.If this resource is not set,the dialog must be popped down by an action in the application(most likely by calling.BR XtUnmanageChild (3x)from inside some callback function)..PP.BR XmNdefaultPositionwill position the dialog centered above the window that calls it.If this resources is not set,the application should position the dialog e.g. by setting XmNx and XmNyfrom a function called from the XmNokCallback..PP.BR XmNresizePolicy.PP.BR XmNnoResize.PP.BR XmNdialogStyleThis only works if the bulletinboard is a child of a.BR XmDialogShell (3x)widget..PP.BR XmNdialogTitlespecifies the dialog's title,which is passed to the window manager.This only works if the bulletinboard is a child of a.BR XmDialogShell (3x)widget..PP.SH CLASS HIERARCHY.BR Object (3).BR Rect (3).BR UnNamedObj (3).BR Core (3).BR Composite (3).BR Constraint (3).BR XmManager (3).BR XmBulletinBoard (3).SH CALLBACKSThere is no widget specific structure passed by the callback functions.The data passed is a pointer to a structure of type XmAnyCallbackStruct :.SM typedef struct { int reason; XEvent *event; } XmAnyCallbackStruct;.SM.SH CONVENIENCE FUNCTIONS.BR XmCreateBulletinBoardDialog (3x).SH SEE ALSO.BR XmDialogShell (3x)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -