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.78 2001/03/08 14:35:43 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.79 2001/03/28 09:49:29 kuntri Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;      constant module_type = MODULE_TAG;   constant module_name = "Graphics: GButton";   constant module_doc =
Roxen.git/server/modules/graphics/gbutton.pike:126: Inside #if defined(manual)
  </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>      <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> + <row><c><p>left</p></c><c><p>Place icon on the left side of the text.</p></c></row> + <row><c><p>center-before</p></c><c><p>Center the icon before the text. Requires the <att>align='center'</att> attribute.</p></c></row> + <row><c><p>center-after</p></c><c><p>Center the icon after the text. Requires the <att>align='center'</att> attribute.</p></c></row> + <row><c><p>right</p></c><c><p>Place icon on the right side of the text.</p></c></row>   </xtable>      <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>