⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmdrawingarea.3

📁 安装DDD之前
💻 3
字号:
'\" t.\" $Header: /cvsroot/lesstif/lesstif/doc/lessdox/widgets/XmDrawingArea.3,v 1.5 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 XmDrawingArea 3 "April 1998" "LessTif Project" "LessTif Manuals".SH NAMEXmDrawingArea.SH SYNOPSIS.B #include <Xm/DrawingA.h>.PP.B XmDrawingArea.PP.B XmCreateDrawingArea.SH DESCRIPTIONXmDrawingArea is a general purpose widget that can be used both asa canvas type widget or general manager widget.The widget has expose, resize and input callbacksand allows other widgets as its children. .SH X RESOURCES.TStab(;);l l l l l.Name;Class;Type;Default;Access_XmNmarginWidth;XmCMarginWidth;HorizontalDimension;NULL;CSGXmNmarginHeight;XmCMarginHeight;VerticalDimension;NULL;CSGXmNresizeCallback;XmCCallback;Callback;NULL;CSGXmNexposeCallback;XmCCallback;Callback;NULL;CSGXmNinputCallback;XmCCallback;Callback;NULL;CSGXmNresizePolicy;XmCResizePolicy;ResizePolicy;NULL;CSG.TE.PP.BR XmNmarginWidth.PP.BR XmNmarginHeight.PP.BR XmNresizeCallback.PP.BR XmNexposeCallback.PP.BR XmNinputCallback.PP.BR XmNresizePolicy.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 XmDrawingArea (3).SH CALLBACKSThe Drawing Area widget defines the following callback lists : .BR XmNexposeCallback,.BR XmNinputCallback,.BR XmNresizeCallback,.BR XmNdestroyCallback..PPAll callbacks pass a pointer to the following structure :.SM  typedef struct {    int reason;    XEvent *event;    Window window;  } XmDrawingAreaCallbackStruct;.SM.SH ACTIONSDrawingAreaInput().SH TRANSLATIONS.TStab(;);l l.<BtnMotion>:;ManagerGadgetButtonMotion() <Btn1Down>:;DrawingAreaInput() ManagerGadgetArm() <Btn1Down>,<Btn1Up>:;DrawingAreaInput() ManagerGadgetActivate() <Btn1Up>:;DrawingAreaInput() ManagerGadgetActivate() <Btn1Down>(2+):;DrawingAreaInput() ManagerGadgetMultiArm() <Btn1Up>(2+):;DrawingAreaInput() ManagerGadgetMultiActivate() <Btn2Down>:;DrawingAreaInput() ManagerGadgetDrag() <BtnDown>:;DrawingAreaInput() <BtnUp>:;DrawingAreaInput() <Key>osfActivate:;DrawingAreaInput() ManagerParentActivate() <Key>osfCancel:;DrawingAreaInput() ManagerParentCancel() <Key>osfHelp:;DrawingAreaInput() ManagerGadgetHelp() <Key>osfSelect:;DrawingAreaInput() ManagerGadgetSelect() <Key>Return:;DrawingAreaInput() ManagerParentActivate() <Key>Return:;DrawingAreaInput() ManagerGadgetSelect() <Key>space:;DrawingAreaInput() ManagerGadgetSelect() <KeyDown>:;DrawingAreaInput() ManagerGadgetKeyInput() <KeyUp>:;DrawingAreaInput() .TE.SH CONVENIENCE FUNCTIONS.SH SEE ALSO

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -