- Original Message -
From: "Peter Krueger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 11:09 AM
> Hi,
> for me a reason to still use GTK1.2 was that we want to develop under
> Linux, Unix and Windows at the same time. When I compared the two versions
> there se
> From: Sven Neumann
> To: "Hari Prasad Nadig"
> Cc: gtk-list gnome org
> Subject: Re: Label issue of toggle buttons...
> Date: Thu, 05 Jun 2003 13:36:22 +0200
>
> ... I'm not going to give
> support for an outdated and unmaintained GTK+ version that noone
>>gtk_label_set_text (GTK_LABEL(GTK_BIN(button)->child), "OFF");
>
>Fortunately you don't need to write this ugly code any longer since
>there is gtk_button_set_label() nowadays.
i know. that's why i prefaced that message with "For 1.2:" ...
___
gtk-
Hi,
Paul Davis <[EMAIL PROTECTED]> writes:
>gtk_label_set_text (GTK_LABEL(GTK_BIN(button)->child), "OFF");
Fortunately you don't need to write this ugly code any longer since
there is gtk_button_set_label() nowadays.
Sven
___
gtk-list mailing li
Hi,
"Hari Prasad Nadig" <[EMAIL PROTECTED]> writes:
> This didn't work
> I'm using GTK 1.2. Perhaps this is a function in GTK 2.0...
Yes, this function was added in GTK+-2.0 and no, I'm not going to give
support for an outdated and unmaintained GTK+ version that noone
should be developing wi
>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?
>
>I tried creating new labels in each loop of the call back function but culdn't
> get the desired thing..
for 1.2, there are 2 ways:
a)
GtkWidge
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 <[EMAIL PROTECTED]>
To: "Hari Prasad Nadig" <[EMAIL PROTECTED]>
Date: Wed, 04 Jun 2003 19:20:45 +
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?
I tried creating new labels in each loop of the call back function but culdn't get the
desired thing..
please help me on this..
Thank you.
_
Hi,
"Hari Prasad Nadig" <[EMAIL PROTECTED]> 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
_
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?
I tried creating new labels in each loop of the call back function but culdn't get the
desired thing..
please help me on this..
Thank you.
_
10 matches
Mail list logo