Re: GTK1.2 vs. GTK 2.0 (was: Re: Label issue of toggle buttons...)

2003-06-06 Thread Richard Warren
- 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

GTK1.2 vs. GTK 2.0 (was: Re: Label issue of toggle buttons...)

2003-06-06 Thread Peter Krueger
> 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

Re: Label issue of toggle buttons...

2003-06-05 Thread Paul Davis
>>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-

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
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

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
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

Re: Label issue of toggle buttons...

2003-06-05 Thread Paul Davis
>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

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

2003-06-05 Thread Hari Prasad Nadig
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 +

Label issue of toggle buttons...

2003-06-05 Thread Hari Prasad Nadig
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. _

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
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 _

Label issue of toggle buttons...

2003-06-05 Thread Hari Prasad Nadig
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. _