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.55 2000/08/12 21:27:30 mast Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.56 2000/08/15 12:27:14 jonasw 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:135: Inside #if defined(manual)
     <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'> +  Set icon vertical alignment. Requires three horizontal guidelines in the +  frame image. If set to <att>above</att> the icon is placed between the first +  and second guidelines and the text between the second and third ones. If +  set to <att>below</att> the placement is reversed. Default value is +  <att>middle</att>. + </attr> +    <attr name='font' value=''>      </attr>      <attr name='extra-layers' value='[''],[first|last],[selected|unselected],[background|mask|frame|left|right]'>      </attr>      <attr name='extra-left-layers' value='[''],[first|last],[selected|unselected],[background|mask|frame|left|right]'>