Gtk2::RecentFilter

NAME

Gtk2::RecentFilter − wrapper for GtkRecentFilter

HIERARCHY

Glib::Object
+−−−−Glib::InitiallyUnowned
+−−−−Gtk2::Object
+−−−−Gtk2::RecentFilter

METHODS

recentfilter = Gtk2::RecentFilter−>new
$filter−>add_age ($days)

$days (integer)

$filter−>add_application ($application)

$application (string)

$filter−>add_custom ($needed, $func, $data=undef)

$needed (Gtk2::RecentFilterFlags)

$func (scalar)

$data (scalar)

$filter−>add_group ($group)

$group (string)

$filter−>add_mime_type ($mime_type)

$mime_type (string)

$filter−>add_pattern ($pattern)

$pattern (string)

$filter−>add_pixbuf_formats
boolean = $filter−>filter ($filter_info)

$filter_info (scalar)

string = $filter−>get_name
$filter−>set_name ($name)

$name (string)

recentfilterflags = $filter−>get_needed

ENUMS AND FLAGS

flags Gtk2::RecentFilterFlags

’uri’ / ’ GTK_RECENT_FILTER_URI

’display−name’ / ’ GTK_RECENT_FILTER_DISPLAY_NAME

’mime−type’ / ’ GTK_RECENT_FILTER_MIME_TYPE

’application’ / ’ GTK_RECENT_FILTER_APPLICATION

’group’ / ’ GTK_RECENT_FILTER_GROUP

’age’ / ’ GTK_RECENT_FILTER_AGE

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object

COPYRIGHT

Copyright (C) 2003−2011 by the gtk2−perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.