[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Spin button problem
- From: Andreas Sliwka <goff nef wh uni-dortmund de>
- To: gtk-app-devel-list redhat com
- Subject: Re: Spin button problem
- Date: Sun, 20 Feb 2000 13:35:24 +0100
Bart Vandewoestyne wrote:
> OK, i found my problem. The mistake I made was using the same
> GtkAdjustment for both spinbuttons. I had to make a GtkAdjustment for
> each spinbutton.
>
> Can somebody give me some more reasons why the GTK-people programmed it
> that way and not the way I am suggesting here ?
The GtkAdjustment thingy was designed to give you the choice:
Either you make a lot of GtkWidgets that display the same GtkAdjustment. That
quite nice if you want to be able to control a special value (encapsulated in
the GtkAdjustment) in different windows or by different widgets (spinbuttons,
scrollbars ...).
Or you make one GtkAdjustment for each GtkWidget, than they dont interfere
with each other.
mfg
--
Andreas Sliwka | goff@nef.wh.uni-dortmund.de | ICQ goff:13961062
------BEGIN GEEK CODE V3.12 BLOCK-----
GCS/MU/L d-(+) S:++ a- C++$ UL++$ P++$ L+++$ E--- W+$ N++ o-- K- w-- O- !M !V
PS+(++) PE Y+ PGP>++ t(+) 5+ X- R tv+ b+++ DI++ D G e+ h- r++ x+++
-------END GEEK CODE V3.12 BLOCK------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]