Re: Re: Label issue of toggle buttons...



This didn't work....
I'm using GTK 1.2. Perhaps this is a function in GTK 2.0...

Still wondering what can be done...

-----Original Message-----
From: Sven Neumann <sven gimp org>
To: "Hari Prasad Nadig" <hpnadig myrealbox com>
Date: Wed, 04 Jun 2003 19:20:45 +0200
Subject: Re: Label issue of toggle buttons...

Hi,

"Hari Prasad Nadig" <hpnadig myrealbox com> writes:

> I created a new toggle button..
>
> gtk_toggle_button_new_with_label("ON");
>
> now how do I change the label to "OFF" when the button is toggled?

 gtk_button_set_label (GTK_BUTTON toggle), "OFF");


Sven
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]