Re: enhancement to GtkList
- From: Owen Taylor <otaylor redhat com>
- To: Brian Bruns <camber ais org>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: enhancement to GtkList
- Date: Sun, 27 Jan 2002 11:21:21 -0500 (EST)
Thanks for the contribtion; Unfortunately, GtkList is (for all
practical purposes) a deprecated widget in GTK+-2.0, and will
definitelyl be deprecated after 2.2. (It's still used by GtkCombo,
so we can't entirely deprecate it it until we replace GtkCombo.)
We have a new tree/list widget for GTK+-2.0 that is much more
powerful (and correspondingly complex.) It should be possible
to reuse much of the infrastructure of the new widget
(GtkTreeModel, GtkCellRenderer) in a horizontally scrolling
widget; the part you would be replacing (GtkTreeView
and GtkTreeViewColumn) is a _lot_ of code, but probably 75%
of that code is code for features that aren't necessarily
relevant (column headers, resizing, reordering columns, etc.)
Regards,
Owen
Brian Bruns <camber ais org> writes:
> Hi all,
>
> I've been working on a patch to GtkList to allow the ListItems to be
> layed out in columns. The items are drawn top to bottom until the end of
> the viewable area is reached and then begin again in the next column to
> the right. This behaviour is controlled with a new function
> gtk_list_set_horizontal_mode() and is a fairly small (under 100 lines)
> patch.
>
> This is similar to win32 file dialog box behaviour or for my purposes like
> MS Access's list windows in the notebook tabs.
>
> So, my question is. Is this something that would be of interest generally
> for GTK or should I be packaging this separately with my application?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]