Roxen.git/server/modules/graphics/gbutton.pike:17:
// icon-src -- icon reference
// icon-data -- inline icon data
// align -- left|center|right text alignment
// align-icon -- left|center-before|center-after|right icon 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.51 2000/06/05 14:59:22 jonasw Exp $";
+ constant cvs_version = "$Id: gbutton.pike,v 1.52 2000/07/21 12:42:28 kuntri Exp $";
constant thread_safe = 1;
#include <module.h>
inherit "module";
roxen.ImageCache button_cache;
constant module_type = MODULE_PARSER;
constant module_name = "GButton";
constant module_doc =
Roxen.git/server/modules/graphics/gbutton.pike:123: Inside #if defined(manual)
</attr>
<attr name='align-icon' value='left|center-before|center-after|right'>
Set icon alignment.
<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>
<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>