home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / Microline3.0 / XmL / XmL.uih < prev   
Encoding:
Text File  |  1998-04-08  |  6.4 KB  |  163 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /*
  20.  * The following source code is part of the Microline Widget Library.
  21.  * The Microline widget library is made available to Mozilla developers
  22.  * under the Netscape Public License (NPL) by Neuron Data.  To learn
  23.  * more about Neuron Data, please visit the Neuron Data Home Page at
  24.  * http://www.neurondata.com.
  25.  */
  26.  
  27.  
  28. ! Common Resources
  29.  
  30. value
  31.   XmNblankBackground      : argument ('blankBackground', color);
  32.   XmNautoSelect           : argument ('autoSelect', boolean);
  33.   XmNdebugLevel           : argument ('debugLevel', integer);
  34.  
  35. ! Folder Widget
  36.  
  37. procedure
  38.   XmLCreateFolder();
  39.  
  40. ! Folder Resources
  41.  
  42. value
  43.   XmNcornerDimension      : argument ('cornerDimension', integer);
  44.   XmNcornerStyle          : argument ('cornerStyle', integer);
  45.      CornerNone        : 0;
  46.      CornerLine        : 1;
  47.      CornerArc         : 2;
  48.   XmNinactiveBackground   : argument ('inactiveBackground', color);
  49.   XmNinactiveForeground   : argument ('inactiveForeground', color);
  50.   XmNpixmapMargin         : argument ('pixmapMargin', integer);
  51.      ResizeStatic      : 10;
  52.      ResizeDynamic     : 11;
  53.   XmNrotateWhenLeftRight  : argument ('rotateWhenRightLeft', boolean);
  54.   XmNtabPlacement         : argument ('tabPlacement', integer);
  55.      FolderTop         : 0;
  56.      FolderLeft        : 1;
  57.      FolderBottom      : 2;
  58.      FolderRight       : 3;
  59.   XmNtabsPerRow           : argument ('tabsPerRow', integer);
  60.  
  61. ! Folder Constraint resources
  62.  
  63.   XmNtabFreePixmaps       : argument ('tabFreePixmaps', boolean);
  64.   XmNtabManagedName       : argument ('tabManagedName', string);
  65.   XmNtabManagedWidget     : argument ('tabManagedWidget', any);
  66.  
  67. ! Grid Widget
  68.  
  69. procedure
  70.   XmLCreateGrid();
  71.  
  72. ! Grid Resources
  73.  
  74. value
  75.   XmNallowColumnHide      : argument ('allowColumnHide', boolean);
  76.   XmNallowColumnResize    : argument ('allowColumnResize', boolean);
  77.   XmNallowDragSelected    : argument ('allowDragSelected', boolean);
  78.   XmNallowDrop            : argument ('allowDrop', boolean);
  79.   XmNallowRowHide         : argument ('allowRowHide', boolean);
  80.   XmNallowRowResize       : argument ('allowRowResize', boolean);
  81.   XmNbottomFixedCount     : argument ('bottomFixedCount', integer);
  82.   XmNbottomFixedMargin    : argument ('bottomFixedMargin', integer);
  83.   XmNfooterColumns        : argument ('footerColumns', integer);
  84.   XmNfooterRows           : argument ('footerRows', integer);
  85.   XmNglobalPixmapHeight   : argument ('globalPixmapHeight', integer);
  86.   XmNglobalPixmapWidth    : argument ('globalPixmapWidth', integer);
  87.   XmNheadingColumns       : argument ('headingColumns', integer);
  88.   XmNheadingRows          : argument ('headingRows', integer);
  89.   XmNhighlightRowMode     : argument ('highlightRowMode', boolean);
  90.   XmNhorizontalSizePolicy : argument ('horizontalSizePolicy', integer);
  91.   XmNhsbDisplayPolicy     : argument ('hsbDisplayPolicy', integer);
  92.   XmNimmediateDraw        : argument ('immediateDraw', boolean);
  93.   XmNleftFixedCount       : argument ('leftFixedCount', integer);
  94.   XmNleftFixedMargin      : argument ('leftFixedMargin', integer);
  95.   XmNrightFixedCount      : argument ('rightFixedCount', integer);
  96.   XmNrightFixedMargin     : argument ('rightFixedMargin', integer);
  97.   XmNscrollBarMargin      : argument ('scrollBarMargin', integer);
  98.      SelectNone        : 1;
  99.      SelectSingleRow   : 2;
  100.      SelectBrowseRow   : 3;
  101.      SelectMultipleRow : 4;
  102.      SelectCell        : 5;
  103.   XmNselectBackground     : argument ('selectBackground', color);
  104.   XmNselectForeground     : argument ('selectForeground', color);
  105.   XmNshadowRegions        : argument ('shadowRegions', integer);
  106.   XmNsimpleHeadings       : argument ('simpleHeadings', string);
  107.   XmNsimpleWidths         : argument ('simpleWidths', string);
  108.   XmNtopFixedCount        : argument ('topFixedCount', integer);
  109.   XmNtopFixedMargin       : argument ('topFixedMargin', integer);
  110.   XmNuseAverageFontWidth  : argument ('useAverageFontWidth', boolean);
  111.   XmNverticalSizePolicy   : argument ('verticalSizePolicy', integer);
  112.   XmNvisibleColumns       : argument ('visibleColumns', integer);
  113.   XmNvisibleRows          : argument ('visibleRows', integer);
  114.   XmNvsbDisplayPolicy     : argument ('vsbDisplayPolicy', integer);
  115.  
  116. ! Grid Callbacks
  117.  
  118. value
  119.   XmNaddCallback          : reason ('addCallback');
  120.   XmNcellDrawCallback     : reason ('cellDrawCallback');
  121.   XmNcellDropCallback     : reason ('cellDropCallback');
  122.   XmNcellFocusCallback    : reason ('cellFocusCallback');
  123.   XmNcellPasteCallback    : reason ('cellPasteCallback');
  124.   XmNdeleteCallback       : reason ('deleteCallback');
  125.   XmNdeselectCallback     : reason ('deselectCallback');
  126.   XmNeditCallback         : reason ('editCallback');
  127.   XmNscrollCallback       : reason ('scrollCallback');
  128.   XmNselectCallback       : reason ('selectCallback');
  129.  
  130. ! Progress Widget
  131.  
  132. procedure
  133.   XmLCreateProgress();
  134.  
  135. ! Progress Resources
  136.  
  137. value
  138.   XmNcompleteValue        : argument ('completeValue', integer);
  139.   XmNmeterStyle           : argument ('meterStyle', integer);
  140.      MeterBar         : 0;
  141.      MeterBoxes       : 1;
  142.   XmNnumBoxes             : argument ('numBoxes', integer);
  143.   XmNshowTime             : argument ('showTime', boolean);
  144.   XmNshowPercentage       : argument ('showPercentage', boolean);
  145.  
  146. ! Tree Widget
  147.  
  148. procedure
  149.   XmLCreateTree();
  150.  
  151. ! Tree Resources
  152.  
  153. value
  154.   XmNconnectingLineColor  : argument ('connectingLineColor', color);
  155.   XmNlevelSpacing         : argument ('levelSpacing', integer);
  156.   XmNplusMinusColor       : argument ('plusMinusColor', color);
  157.  
  158. ! Tree Callbacks
  159.  
  160. value
  161.   XmNexpandCallback       : reason ('expandCallback');
  162.   XmNcollapseCallback     : reason ('collapseCallback');
  163.