Re: Labels In Radio Buttons
- From: "darren adams" <scottish-lad freeuk com>
- To: "Ian Frawley" <ifrawley opaltelecom co uk>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Labels In Radio Buttons
- Date: Fri, 19 Oct 2001 11:01:57 +0100
----- Original Message -----
From: "Ian Frawley" <ifrawley opaltelecom co uk>
To: <gtk-app-devel-list gnome org>
Sent: Friday, October 19, 2001 10:16 AM
Subject: Labels In Radio Buttons
Hi All
Does anyone know how to get the values stored within a radio buttons
label?
[...]
I dunno whether this works or not (I'm at work, on a Windows machine), but
what you might need is code similar to the following:
GtkWidget *radio_button;
gchar *radio_button_label_text;
...
radio_button = gtk_radio_button_new_with_label(NULL, "This is my text");
radio_button_label_text = GTK_TOGGLE_BUTTON(radio_button)->label;
Give it a bash. It may well work...
Ta,
- darren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]