Re: enhancement to GtkList



I had seen that GtkList was deprecated and had briefly considered doing 
something with CList, but the complexity involved was a bit much. ;-)

Glad to hear 2.0 will have an IconList widget.  The whole add an hbox with 
a pixmap and label to the ItemList widget is tedious to put it lightly.

One thing I did like about the way my patch works is that in win32 if you 
have multiple columns only the last full column shows and the scrolling is 
jumpy.  If you don't happen to see the horizontal scrollbar on the bottom 
right away it takes a second to realize what you need to do.  With the 
modified GtkList widget you see the left hand side of the last column and 
its very intuitive to scroll right to get more items.  Just a pet peeve of 
mine with win32, but an area we can improve on. ;-)

Also for my application the easier it is to hook a right mouse click popup 
to *any* selected item and have the appropriate data field passed to the 
called function the better. i.e. just set one callback for the entire 
widget instead of individually on the items themselves, however right 
mouse clicking on space around or between items should do nothing.

I'd love to help with the process, but seeing how the last widget writing 
I did was in motif, it'd probably take me a while to come up to speed 
enough. I'll definately help in the debugging and requirements part of it 
though.

Cheers,

Brian

On 27 Jan 2002, Havoc Pennington wrote:

> 
> Brian Bruns <camber ais org> writes: 
> > 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?
> 
> We probably need a widget like this when adding a new file selector
> (most likely in version 2.2). However I'd guess we'd start from
> scratch since GtkList is deprecated in 2.0.
> 
> Most likely the new widget would be a GtkIconList and would have the
> ability to do a file-manager kind of view as well, i.e. with icons
> above the text.
> 
> Alternatively we may just use GtkTreeView for the file selector in
> 2.2, to avoid having to do an icon list in that timeframe. The filesel
> hasn't been designed yet, so it's hard to say.
> 
> I created this bug to track the icon list feature, which is probably 
> wanted regardless of the filesel:
>   http://bugzilla.gnome.org/show_bug.cgi?id=69819
> 
> Any design comments, patches, etc. would be welcome on that bug.  New
> widgets will need a spec as a basis for discussion (writeup of similar
> widgets in other toolkits, intended use-cases, etc.)
> 
> Havoc
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 




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