next up previous contents
Nächste Seite: j_ hasfocus Aufwärts: Functions Vorherige Seite: j_ graphicbutton   Inhalt


j_ graphiclabel


Synopsis
int j_graphiclabel ( int obj , char* str );

Argumente

obj : int
str : char*

Beschreibung

Die Funktion erzeugt ein neues Label mit einem Icon als Inhalt.Die Datei, die das Icon enthält, ist im Parameter filename anzugeben. Das Icon muß im GIF oder JPEG-Format vorliegen. Die Funktion liefert die Eventnummer des Labels zurück, oder im Fehlerfall $-1$.

Zielkomponenten

Panel, Borderpanel, Window, Dialog, Frame

Beispiel

:
frame  = j_frame("j_graphiclabel");
label = j_graphiclabel(frame,"new.gif");
:

j_graphiclabel.eps



Merten Joost 2003-02-26