gtkmm: Gtk::RecentFilter::Info Class Reference

A RecentFilter::Info class is used to pass information about the tested file to filter(). More...

#include <gtkmm/recentfilter.h>

Public Member Functions

 Info ()
 

Public Attributes

Flags contains
 This bitmask tells us which of the other variables contain useful information. More...

 
Glib::ustring uri
 
Glib::ustring display_name
 
Glib::ustring mime_type
 
std::list< Glib::ustringapplications
 
std::list< Glib::ustringgroups
 
int age
 

Detailed Description

A RecentFilter::Info class is used to pass information about the tested file to filter().

  • contains: Flags indicating which of the following fields need are filled
  • uri: the URI of the file being tested
  • display_name: the string that will be used to display the file in the recent chooser
  • mime_type: the mime type of the file
  • applications: the list of applications that have registered the file
  • groups: the groups to which the file belongs to
  • age: the number of days elapsed since the file has been registered

Constructor & Destructor Documentation

Gtk::RecentFilter::Info::Info ( )

Member Data Documentation

int Gtk::RecentFilter::Info::age
std::list<Glib::ustring> Gtk::RecentFilter::Info::applications
Flags Gtk::RecentFilter::Info::contains

This bitmask tells us which of the other variables contain useful information.

Glib::ustring Gtk::RecentFilter::Info::display_name
std::list<Glib::ustring> Gtk::RecentFilter::Info::groups
Glib::ustring Gtk::RecentFilter::Info::mime_type
Glib::ustring Gtk::RecentFilter::Info::uri