[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: More Recent files questions
From:       "Jonathon Jongsma" <jonathon.jongsma () gmail ! com>
Date:       2006-07-24 16:41:21
Message-ID: ee2fcb570607240941v33e129bbke6759c45cb209a87 () mail ! gmail ! com
[Download RAW message or body]

Hello GTK+ developers

This is a question I had while working on some gtkmm documentation for
the new recent files stuff in GTK+ 2.10.  Can anybody enlighten me on
the question below?

[Also, the GtkRecentFilterInfo type is a bit confusing to me in
general.  It feels more like an internal implementation detail rather
than an external API, but maybe I just don't understand it very well
-- the documentation is still pretty sparse.  Any help would be
appreciated]

> >  There's a RecentFilter
> > member function in GTK+ that's not wrapped:
> > gtk_recent_filter_filter().  The GTK+ documentation says that this
> > function is only really used in the implementation of GtkRecentChooser
> > and friends, so I assume that this is why the function was not
> > wrapped.
> >
> > However, I'm thinking of a situation where you get a list of
> > recently-used items from RecentManager::get_items() and you want to
> > filter these (i.e. without going through the default chooser widgets).
> >  Wouldn't Gtk::RecentFilter::filter() be useful in this case?
> >
> > The only problem is that I'm not sure if the underlying GTK+ machinery
> > works well for this case (maybe it wasn't intended to) because
> > gtk_recent_filter_filter() takes a GtkRecentFilterInfo object, and I'm
> > not sure how you would go about converting a GtkRecentInfo object (the
> > type returned from get_items()) to a GtkRecentFilterInfo object
> > without a bunch of tedious copying between the two.
> >
> > Is this a valid use-case?

--
jonner
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic