Re: [gtk-list] Tree problems
- From: Bolliet Jerome <bolliet in2p3 fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Tree problems
- Date: Fri, 20 Mar 1998 11:14:58 +0100 (MET)
> I've written a gtk app that, given a list of usernames, checks which
> of them are logged in. The usernames can be sorted into categories,
> and each category can optionally belong to a single parent category.
>
> To display this, I use a GtkTree widget. My main window is a vbox
> with a menubar, the tree, and a "Update" button. Pressing the button
> forces a check on which users are logged in. If they have logged in
> since the last update, their name is added to the tree. If they have
> logged out, their name is deleted.
>
> Problems I've run into (on 0.99.3 up to 0.99.7):
>
> -- The "+" and "-" pixmaps don't display correctly when the user
> expands/collapses tree branches. It looks like the new pixmaps are
> displayed with their centers at the upper-left corner of the
> original pixmaps. In 0.99.7, the old pixmap is visible underneath;
> in older versions, it was erased first.
>
> -- Adding and removing elements from the tree fails to cause the right
> thing to be drawn. A tree branch might look like this:
>
> Title Title
> +-A +-A
> +-B ==> Add "D" ==> +-B
> L-C L-C <== (should have "T" piece, not corner)
> L-D
>
> Title Title
> +-A +-A
> +-B ==> Remove "C" ==> +-B <== (should have corner piece, not "T")
> L-C
>
Hi,
I've tested and i can't repoduce these problems.
What's the system and the compiler ?
Have you piece of code where these problems are present.
Regards,
--
-----------------------------------------------------------------------
_/ _/_/ _/ _/_/ _/_/_/ _/_/_/ Bolliet Jerome
_/ _/ _/ _/ _/ _/ / _/ _/ email: bolliet@in2p3.fr
_/ _/ _/_/ _/ _/_/_/ _/_/
_/ _/ _/ _/ _/ _/ Equipe Administration Systeme
_/ _/ _/ _/_/_/ _/ _/_/_/ email: sysunix@in2p3.fr
Centre de Calcul - Campus de la Doua
27 boulevard du 11 novembre 1918 Tel.: 04 78 93 08 80
69622 - VILLEURBANNE - FRANCE Fax.: 04 78 94 30 54
-----------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]