REF XpwResources Jonathan Meyer, Mar 1990 Adrian Howard, Jun 1991 COPYRIGHT University of Sussex 1993. All Rights Reserved. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< POPLOG WIDGET SET >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< REVISION 3 INDEX >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< This file provides an index to the resources used in the Poplog Widget Set. For information about the Poplog Widget Set, see HELP *Xpw. Resources can be set and examined using the low level toolkit procedures XtGetValues and XtSetValues (see REF * XT_RESOURCE), or the higher level Pop-11 construct XptVal or the procedure XptPopValue (see REF * XPT_RESOURCE). CONTENTS - (Use g to access required sections) 1 Core and XpwCore Resources 2 XpwPixmap Resources 3 XpwGraphic resources 4 XpwScrollText resources ----------------------------- 1 Core and XpwCore Resources ----------------------------- (See REF * XpwCore for more details) Name Class RepType Default* Description ---- ----- ------- -------- ----------- XtNwidth Width Dimension 200 Window width XtNheight Height Dimension 100 Window height XtNx X Position 0 X coordinate in pixels XtNy Y Position 0 Y coordinate in pixels XtNborderWidth BorderWidth Dimension 1 Border width in pixels XtNborderPixmap BorderPixmap Pixmap None Window border pixmap XtNborderColor BorderColor Pixel foreground Window border color XtNbackground Background Pixel XtDefault Window background color XtNforeground Foreground Pixel XtDefault Window foreground color XtNfont Font FontStruct XtDefault Font for text operations XtNpointerShape Cursor Cursor None mouse cursor (cursorfont) XtNtranslations Translations String Event-to-action translations XtNpopCallback Callback Pointer NULL Callbacks for events XtNautoFlush Boolean Boolean TRUE XFlush after methods? XtNusersGC GC Pointer NULL Graphics Context for ops XtNmodifiers Parameter Int None event -> state modifiers XtNdestroy- -Callback Callback NULL XtDestroyWidget callback XtNmappedWhen- -Managed Boolean TRUE automatic XtMapWidget ---------------------- 2 XpwPixmap Resources ---------------------- (See REF * XpwPixmap for more details) Name Class RepType Default Description ---- ----- ------- ------- ----------- XtNfunction Function Int XtDefault GC drawing mode XtNsubwindowMode SubWindowMode Int XtDefault GC subwindow mode XtNlineWidth LineWidth Int XtDefault GC line width XtNlineStyle LineStyle Int XtDefault GC line style XtNcapStyle CapStyle Int XtDefault GC cap style XtNjoinStyle JoinStyle Int XtDefault GC join style XtNprivateGC GC Pointer None Pixmap Graphics Context XtNpixmap Pixmap Pointer None Pixmap of Widget. XtNpixmapStatus PixmapStatus Cardinal PixmapOn Is Pixmap active? ----------------------- 3 XpwGraphic resources ----------------------- (See REF * XpwGraphic) Name Class RepType Default Description ---- ----- ------- ------- ----------- XtNusePrivateGC Boolean Boolean TRUE See below XtNmyGC GC Pointer NULL GC for window refresh XtNswitchCmaps Boolean Boolean FALSE Automatic cmap install XtNmouseX MouseLocation Int None Mouse X location in pixels XtNmouseY MouseLocation Int None Mouse Y location in pixels XtNbuttonEvent Callback Pointer NULL Called on ButtonPress XtNkeyboardEvent Callback Pointer NULL Called on KeyPress XtNmouseEvent Callback Pointer NULL Called on Enter/Leave XtNmotionEvent Callback Pointer NULL Called on mouse Motion XrNresizeEvent Callback Pointer NULL Called on Resize Req -------------------------- 4 XpwScrollText resources -------------------------- (See REF * XpwScrollText for more details) Name Class RepType Default Description ---- ----- ------- ------- ----------- XtNtopMargin TopMargin Dimension 0 Distance to start of text XtNleftMargin LeftMargin Dimension 2 Distance to start of text XtNfontWidth Width Dimension None Width of current font XtNfontHeight Height Dimension None Height of current font XtNcursorRow Position Position 0 Cursors Y location XtNcursorColumn Position Position 0 Cursors X location XtNcursorStatus CursorStatus Boolean TRUE Cursor on/off XtNmouseX MouseLocation Int None Mouse column XtNmouseY MouseLocation Int None Mouse row XtNnumRows Dimension Dimension 24 Text columns XtNnumColumns Dimension Dimension 80 Text rows XtNexposedLines Parameter (int *) NULL Lines that need redrawing XtNkey Key String NULL Ascii string of KeyPress XtNkeyboardEvent Callback Callback NULL keyboard inputs callback XtNbuttonEvent Callback Callback NULL Mouse buttonpress events XtNmotionEvent Callback Callback NULL Mouse motion events XtNdestroyCallback Callback NULL XtDestroyWidget callback --- C.x/x/pop/ref/XpwResources --- Copyright University of Sussex 1990. All rights reserved.