home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 19 / AACD19.BIN / AACD / Programming / AWNP / AWNP-Docs / layout.doc < prev    next >
Encoding:
Text File  |  2000-11-07  |  2.9 KB  |  145 lines

  1. LayOutEnd parameters
  2. ----------------------
  3.  
  4. LayOutEnd=le=pg
  5.  
  6. (pg is for historical reasons)
  7.  
  8. This ends the current layout group. It takes no parameters.
  9.  
  10. layout parameters.
  11. -------------------------
  12.  
  13. Layouts can be nested up to 50 deep.
  14.  
  15. page=GID
  16.  
  17.  Use this layout group as a page in the Clicktab gadget specified by GID.
  18.  
  19. selected=number (s=)
  20.  
  21.  The clicktab page to be displayed on startup, defaults to 0. Ignored unless page is also specified. It is only useful when adding the final page to a clicktab.
  22.  
  23. font=GID
  24.  
  25. This sets the font for the whole group. The GID points to an ALREADY defined text attribute.
  26.  
  27.  
  28. bevel=TYPE  (b=)
  29.  
  30.  Set the bevel type for this gadget.
  31. 0=NONE
  32. 1=THIN
  33. 2=BUTTON
  34. 3=GROUP
  35. 4=FIELD
  36. 5=DROPBOX
  37. 6=SBAR_HORIZ
  38. 7=SBAR_VERT
  39. 8=BOX
  40. 9=STANDARD
  41.  
  42.  
  43. gadgettext="group label" (gt=)
  44.  
  45.  set the group label for this group. Ignored if nobevel is
  46. set.
  47.  
  48. labr
  49. labl
  50. labc
  51.  
  52.  Set the position of the layout label (topleft/topright/topcenter). Defaults to the users prefs setting, so don't set/force this unless you really need to..
  53.  
  54. defn=PEN
  55.  
  56. The pen number to use when backfilling this layout.
  57.  
  58. fpat="HEX"
  59.  
  60.  The fill pattern to backfill this layout. A 24 bit hexidecimal number, interpeted as a 16 x 2 pattern. fpat is ignored unless defn is also specified.
  61.  
  62. minwidth=number (minw=)
  63.  
  64.  Set the minimum width for this gadget
  65.  
  66. minheight=number (minh=)
  67.  
  68.  Set the minimum height for this gadget
  69.  
  70. weightedwidth=number (weiw=)
  71.  
  72.  Set the weighted width for this gadget
  73.  
  74. weightedheight=number (weih=)
  75.  
  76.  Set the weighted height for this gadget
  77.  
  78. nominalsize (noms)
  79.  
  80.  Set this gadget to its nominal size.
  81.  
  82. SpaceOuter (so)
  83.  
  84.  Leave a blank space outside the layout group.
  85.  
  86. SpaceInner  (si)
  87.  
  88.  Leave a blank space around elements in the layout group.
  89.  
  90. disable=number (dis=)
  91.  
  92.  The gadgets in this layout are enabled if number = 0 , disabled if number != 0. Defaults to enabled.
  93.  
  94. centerjustify  (cj)
  95. rightjustify   (rj)
  96. bottomjustify  (bj)
  97.  
  98.  Set the justification of the gadgets in this layout. Defaults to leftjustify or topjustify.
  99.  
  100. vertical      (v)
  101.  
  102.  Switch to display gadgets vertically, defaults to horizontal.
  103.  
  104. even      (e)
  105.  
  106.  Switch to make gadgets/groups all the same size.
  107.  
  108. shrinkwrap  (sw)
  109.  
  110.  Switch to cause gadgets in this group to have no space between them.
  111.  
  112. tags="tags|data[|tag|data...]|0
  113.  
  114.  A list of tag and value pairs in HEX. Do not forget the trailing null !
  115.  
  116. childlabel    (chl)
  117. childlabelr   (chlr)
  118.  
  119.  Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
  120.  
  121. replace=GID
  122.  
  123.  Use this gadget to replace an existing gadget specified by GID.
  124.  
  125. Definition Reply
  126. -----------------
  127.  
  128.  When the gadget creation is successful the pipe replies with
  129.  
  130. 'ok GID'
  131.  
  132.  LayoutEnd replies with
  133.  
  134. 'ok'
  135.  
  136. layout modify parameters.
  137. -------------------------
  138.  
  139. disable=number (dis=)
  140.  
  141.  The gadgets in this layout are enabled if number = 0 , disabled if number != 0. Defaults to enabled.
  142.  
  143. refresh (ref)
  144.  
  145.  Refresh the gadgets in this layout group.