Re: Labels In Radio Buttons
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: scottish-lad freeuk com, ifrawley opaltelecom co uk
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Labels In Radio Buttons
- Date: Fri, 19 Oct 2001 12:01:20 +0100 (BST)
Sorry. I was thinking GTK 2.0.
In 1.2 according to the documentation the label is a property of the GtkButton
so it should be possible to get it. I suspect gtk_object_get_data() might work.
Padraig
Delivered-To: gtk-app-devel-list gnome org
To: "darren adams" <scottish-lad freeuk com>
Cc: <gtk-app-devel-list gnome org>
Subject: Re: Labels In Radio Buttons
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Virus-Scanned: by NIA VirusScan v4.14 (linux) using AMaViS perl-11
X-BeenThere: gtk-app-devel-list gnome org
X-Loop: gtk-app-devel-list gnome org
X-Mailman-Version: 2.0.6
List-Help: <mailto:gtk-app-devel-list-request gnome org?subject=help>
List-Post: <mailto:gtk-app-devel-list gnome org>
List-Subscribe: <http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list>,
<mailto:gtk-app-devel-list-request gnome org?subject=subscribe>
List-Id: Writing Apps with GTK+ <gtk-app-devel-list.gnome.org>
List-Unsubscribe: <http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list>,
<mailto:gtk-app-devel-list-request gnome org?subject=unsubscribe>
List-Archive: <http://mail.gnome.org/archives/gtk-app-devel-list/>
Thanks Darren I will keep looking as well.
----- Original Message -----
From: "darren adams" <scottish-lad freeuk com>
To: "Ian Frawley" <ifrawley opaltelecom co uk>
Cc: <gtk-app-devel-list gnome org>
Sent: Friday, October 19, 2001 11:51 AM
Subject: Re: Labels In Radio Buttons
Ah,
Going through the API reference, it seems that such a function doesn't
exist. Oh dear!
This should be straigtforward, but it isn't. I'll keep looking for a
solution during the day.
Sorry,
- darren
----- Original Message -----
From: "Ian Frawley" <ifrawley opaltelecom co uk>
To: "darren adams" <scottish-lad freeuk com>
Cc: <gtk-app-devel-list gnome org>
Sent: Friday, October 19, 2001 11:32 AM
Subject: Re: Labels In Radio Buttons
Weird
It doesn't work for me I get a:
gtk_button_get_label undeclared (first use this function)
I checked gtkbutton.h and there is no constructor for it. Do you think I
might have an old version I am running RedHat 7.1
Ian
----- Original Message -----
From: "darren adams" <scottish-lad freeuk com>
To: "Ian Frawley" <ifrawley opaltelecom co uk>
Sent: Friday, October 19, 2001 11:21 AM
Subject: Re: Labels In Radio Buttons
Hmm,
That's strange. Because as Padraig says here:
http://moniker.gnome.org/archives/gtk-app-devel-list/2001-October/msg00180.h
tml
A GTK Radio Button is a descendant of a GTK button, so that should have
worked. I suppose that Padraig's method will work instead. Good to know
anyway. That's one to remember.
Ta,
- darren
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]