A label widget may be used to crate a simple (text) label.
interface label : widget { <widgets/label.h>
sources/java/hush.dv.widgets.label
label();
label(char* p, char * options = "");
label(widget* w, char* p, char * options = "");
void text(const char* s);
void text(int value);
void text(double value, int precision=6);
void image(const char*);
void bitmap(const char*);
};
-height <coord> -width <coord>
anchor, background, image, borderwidth, cursor, font, foreground, padx, pady, relief, text, textvariable
Use image("@/some/path/filename.gif") when using GIF files. Use bitmap("@/some/path/filename.xbm") when using X bitmap files. Use something like image("image1") to re-use images previously created bty the image create command.
hush - file <widgets/label.h>
|
Hush Online Technology
hush@cs.vu.nl
09/24/99 |
|
|