Roxen.git / server / modules / graphics / gbutton.pike

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:18:   // icon-data -- inline icon data   // align -- left|center|right text alignment   // align-icon -- left|center-before|center-after|right icon alignment   // valign-icon -- above|middle|below icon vertical alignment   // >Button text</gbutton>   //   // Alignment restriction: when text alignment is either left or right, icons   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.64 2000/11/17 15:56:30 anders Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.65 2000/11/19 21:32:54 kuntri Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;      constant module_type = MODULE_TAG;   constant module_name = "GButton";   constant module_doc =
Roxen.git/server/modules/graphics/gbutton.pike:127: Inside #if defined(manual)
   Fetch the icon from this URI.</p>   </attr>      <attr name='icon-data' value=''><p>    Inline icon data.</p>   </attr>      <attr name='align-icon' value='left|center-before|center-after|right'><p>    Set icon alignment.</p>    - <table> - <tr><td>left</td><td>Place icon on the left side of the text.</td></tr> - <tr><td>center-before</td><td>Center the icon before the text.Requires the <att>align='center'</att> attribute.</td></tr> - <tr><td>center-after</td><td>Center the icon after the text. Requires the <att>align='center'</att> attribute.</td></tr> - <tr><td>right</td><td>Place icon on the right side of the text.</td></tr> - </table> + <xtable> + <row><c>left</c><c>Place icon on the left side of the text.</c></row> + <row><c>center-before</c><c>Center the icon before the text.Requires the <att>align='center'</att> attribute.</c></row> + <row><c>center-after</c><c>Center the icon after the text. Requires the <att>align='center'</att> attribute.</c></row> + <row><c>right</c><c>Place icon on the right side of the text.</c></row> + </xtable>    -  + <p></p> +    <ex>   <gbutton width='150' align-icon='center-before' icon-src='internal-roxen-help'>Roxen 2.0</gbutton>   </ex>   <ex>   <gbutton width='150' align='center' align-icon='center-after'    icon-src='internal-roxen-help'>Roxen 2.0</gbutton>   </ex>   </attr>      <attr name='valign-icon' value='above|middle|below'><p>