Re: [gtk-list] QSpinBox
- From: Stephan Krings <slothkri zedat fu-berlin de>
- To: gonzalez mppmu mpg de
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] QSpinBox
- Date: Mon, 5 Oct 1998 19:25:50 +0200 (CEST)
Hello,
> I'm trying to use an entry box and two buttons to implement a
> widget like that of Qt, called QSpinBox: this is an text entry
> with two small buttons at the right side, one above the other,
> with arrows pointing up and down, and which, obviously, increment
> the value of the entry text in one unit.
hope this isn't disappointing for you, but such a widget already
exists in GTK. At least for me in 1.0.6. Don't know when it was
introduced.
Have a look at gtkspinbutton. I haven't worked with it yet and it
seems to completely lack documentation, but its usage seems to be
pretty easy and similar to range-widgets. This is what I've noticed in
the header-files.
Best regards,
Stephan
--
Stephan Krings Freie Universitaet Berlin
AG Kommunikationsserver Zentraleinrichtung fuer Datenverarbeitung (ZEDAT)
slothkri@zedat.fu-berlin.de Fabeckstr. 32
Tel: +49 30 838 3239 14195 Berlin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]