Re: [gtk-list] Re: Bug fix or feature addition?



Alexander Sendzimir wrote:
> 
> I am at the disadvantage that I'm am learning to use GLIB, GDK, and the GTK
> libraries. However, I am familiar with what a ctree is. I would agree that
> when setting up such a structure a default row ought to be configurable: not
> just row 0, any row.

Ok - while this may be true, its not actually what I was talking about! 
I
likely did a poor job of explaining...

My concern was that when the default row of 0 is selected, no signal is
sent.  Anything done to change the selection after the list is setup
will
send a signal but the initial row zero selection doesn't.  In the code
I'm
writing I handle everything regarding selection in the signal handler so
it wasn't getting set up correctly at first (row 0 was selected but my
program didn't know anything about it!).  So I think that when row 0
gets
selected by default (I assume when the first row is inserted), it should
send a signal just like any other time the selection changes.

Hope that clears it up...  I'll take a look at the ctree and clist
source code and see if its something obvious for me to send a patch for.

-- 
Brad Pepers
Linux Canada Inc.            Home of Linux products in Canada!
http://www.linuxcanada.com   Proud supporter of Cyclades, Red
brad@linuxcanada.com         Hat, and Caldera.



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