ICQ
Michael Van Canneyt
Michael.VanCanneyt at wisa.be
Thu Apr 22 04:25:17 EDT 1999
On Wed, 21 Apr 1999, Cliff Baeseman wrote:
> Guys
>
> here is the question of the year. How do I convert this structure to
> pascal . How dou you implement the pointer?
Which pointer ?
>
> This is to allow dynamic changing of captions in the fcl. We have to
> gain access to the label object at the top of the hiarchy.
>
> Cliff
>
>
>
> gtk_label_set(GTK_LABEL(GTK_BIN(mywidget)) -> child),'new text')
>
Var Gb,Gl,Child : PGtkWidget; // or whatever
pc : pchar;
gb:=gtk_bin(mywidget);
gl:=gtk_label(gb);
child:=gl^.child
gtk_label_set(child,'new text');
You may need some typecasting here, but this should be it ?
Michael
>
>
>
> Shane Miller wrote:
>
> > You using ICQ on your linux yet so I can tell when you are on? My
> > ICQ # is 188007. Your old one (in case you lost it) was
> > 36008926 Shane
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
>
More information about the Lazarus
mailing list