Re: Disable Spin Buttons
- From: "Tadej Borovšak" <tadeboro gmail com>
- To: "Justin Rajewski" <justin rajewski com>
- Cc: gtk-list gnome org
- Subject: Re: Disable Spin Buttons
- Date: Sat, 27 Sep 2008 19:10:38 +0200
Hello!
I think since GtkSpinButton is child of a GtkEntry, you could use
functions like "gtk_entry_set_editable". Or if you wish, could also
try "gtk_widget_set_sensitive";
Hope it helps.
Tadej
2008/9/24 Justin Rajewski <justin rajewski com>:
>
> I have a spin button that allows the user to enter 0-65534. When they click a
> radio button I want to make the spin button read 65535 and not allow them to
> change it until they select a different radio button. Is there a function
> that can disable a spin button?
> Something like [code]void gtk_combo_disable_activate( GtkCombo *combo
> );[/code] but for spin buttons.
>
> Thanks,
> Justin
> --
> View this message in context: http://www.nabble.com/Disable-Spin-Buttons-tp19639406p19639406.html
> Sent from the Gtk+ - General mailing list archive at Nabble.com.
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
Tadej Borovšak
00386 (0)40 613 131
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]