Re: please help disabling spinbutton arrows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le dimanche 12 dÃcembre 2004 Ã 13:19 -0700, Neil Zanella a Ãcrit :
> Hello,
> 
> I need to temporarily disable spinbutton arrows so that the user can
> still cut text from the
> spinbutton contents and paste it elsewhere, but cannot change it in
> any way. In particular
> the arrows need to be disabled without disabling the entire widget.
> This makes sense for
> the following reason: the disabling is temporary: the user presses a
> button which disables
> it in order for a particular operation to complete in a way that makes
> sense, an then another
> button click elsewhere reenables editing the numbers using the spin
> button arrows.
> 
> So, how do I temporarily disable the spin button arrows so that they
> become grayed out
> but without the text entry box being grayed out? I want the spin
> button arrows to be
> disabled, and the user to still be able to cut text from the white
> space for text entry.
> How do I do this?

It is not possible AFAIK. Arrows are not widgets included inside the
GtkSpinButton. If you really need that, request the feature using
bugzilla (http://bugzilla.gnome.org)

Regards,

Jean

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux