Re: Disable Spin Buttons


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.


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:
> Sent from the Gtk+ - General mailing list archive at
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org

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]