Re: [gnome-love] Expanders in GtkTree* from GTK+ 2.0
- From: Thomas Broyer <tbroyer ltgt net>
- To: Jonathan Blandford <jrb redhat com>
- Cc: gnome-love gnome org, gtk-list gnome org
- Subject: Re: [gnome-love] Expanders in GtkTree* from GTK+ 2.0
- Date: Wed, 30 May 2001 21:05:17 +0200
Le 30/05/01 20:28:50, Jonathan Blandford a écrit :
I think about two possibilities:
· I can't see any good reason to have expanders in, say, the view's
second column -- and always there. Either they are left justified
or attached to a particular column.
- by default, expanders are always left justified.
- set_expander_column attaches them to the specified column
- use set_expander_column(-1) -- or make a
set_expander_column_default function -- to revert to the default
(always left justified)
· if you want to keep the current behaviour, add function to attach
the expanders to the column rather than the view (taking a boolean
as argument).
The internal implementation may be done by calling
set_expander_column when columns are reordered or handled directly
in the GtkTreeView display (it seems it's just a matter of changing
the i == tree_view->priv->expander_column tests)
This isn't a priority for me -- there are much more important things
that need doing in GtkTreeView. If you submit a patch, it's much more
likely to get in.
Of course, I can (at least try to) implement this.
I'm still wondering which is the best approach between the above two and if
it's the second one which implementation to choose.
Waiting for an answer before trying to do it and submit a patch...
Tom.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]