Gtktree widget snapshot and question ...
- From: BOLLIET Jerome <bolliet in2p3 fr>
- To: gtk-list redhat com
- CC: bolliet in2p3 fr
- Subject: Gtktree widget snapshot and question ...
- Date: Sat, 29 Nov 1997 13:09:24 +0100
hi,
After some request of people, i've make a snapshot of my gtktree widget
development tree.
Sorry for this waiting, but since my first mail, i've been very busy
at my work. But now, it's ok, i've more time to work on gtk.
This snapshot is a patch for gtk+-971109. It modify and add some files :
- gtkenums.h / gtklist.h : [MODIFIED]
move GtkSelectionMode definition in gtkenums.h because, now,
it's
not only used in gtklist widget.
- gtktree.*, gtktreeitem.* : [MODIFIED]
define gtktree, gtktreeitem widgets.
- testtree.c : [ADDED]
example using gtktree.
- tree_plus.xpm, tree_moins.xpm : [ADDED]
some pixmaps used by gtktreeitem widget.
actually, only tree_plus.xpm is used.
- Makefile.in, Makefile.am : [MODIFIED]
to add testtree.
These widgets have not been eavy tested. There is probably some bugs.
This widget is a modified version of gtklist widget.
You can use middle mouse button to expand an subtree, and left button to
collapse it. The first button is used to select item.
[QUESTION]
Actually, i'm working to add a left button to expand/collapse subtree.
That's work but i'v a little problem with color.
An item is a horiz box with, at left position, an event box which
contain
pixmap to collapse/expand, and at right, label (or what you want).
That work but the color of event box is grey and tree background is
white.
And i don't known how change this color !
I've try change style of event box but this solution don't work.
Can you tell me how change this color ?
tanks.
--
-----------------------------------------------------------------------
_/ _/_/ _/ _/_/ _/_/_/ _/_/_/ 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
-----------------------------------------------------------------------
gtk-bolliet-971129-0.patch.gz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]