Re: What is a non-editable spinbutton?
- From: "Matthias Clasen" <Matthias Clasen poet de>
- To: gtk-devel-list gnome org
- Subject: Re: What is a non-editable spinbutton?
- Date: Fri, 9 Aug 2002 13:29:18 +0200
> It was pointed out to me that currently a non-editable GtkSpinButton
> is inconsistent ... you can change its value using the mouse to
> click on the buttons, but not with the keyboard.
>
> Which way should it be? Is a non-editable spinbutton not editable
> at all, or just not editable by editing the contents of the entry?
> I suspect the second is more useful, though I think its basically
> never right to make a spinbutton not-editable.
A non-editable spinbutton should not be editable at all. If you need
a spinbutton with a read-only entry, you should just make the entry
readonly (though I don't know if gtkspinbutton has an api for that
short of poking in the widget internals). I can imagine readonly
spinbuttons to make sense if they become readonly as part of changing
some other settings in a larger dialog.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]