Gtk2::RecentChooser(3) User Contributed Perl Documentation Gtk2::RecentChooser(3)

Gtk2::RecentChooser - wrapper for GtkRecentChooser

Glib::Interface
+----Gtk2::RecentChooser

$chooser->add_filter ($filter)

$filter (Gtk2::RecentFilter)

$chooser->set_current_uri ($uri)

$uri (string)

May croak with a Glib::Error in $@ on failure.

$chooser->set_filter ($filter)

$filter (Gtk2::RecentFilter)

(list) = $chooser->get_items

$chooser->set_limit ($limit)

$limit (integer)

boolean = $chooser->get_local_only

$chooser->set_local_only ($local_only)

$local_only (boolean)

$chooser->remove_filter ($filter)

$filter (Gtk2::RecentFilter)

boolean = $chooser->get_select_multiple

$chooser->set_select_multiple ($select_multiple)

$select_multiple (boolean)

$chooser->select_uri ($uri)

$uri (string)

May croak with a Glib::Error in $@ on failure.

boolean = $chooser->get_show_icons

$chooser->set_show_icons ($show_icons)

$show_icons (boolean)

boolean = $chooser->get_show_not_found

$chooser->set_show_not_found ($show_not_found)

$show_not_found (boolean)

boolean = $chooser->get_show_private

$chooser->set_show_private ($show_private)

$show_private (boolean)

boolean = $chooser->get_show_tips

$chooser->set_show_tips ($show_tips)

$show_tips (boolean)

$chooser->set_sort_func ($sort_func, $sort_data=undef)

  • $sort_func (scalar)
  • $sort_data (scalar)

$chooser->set_sort_type ($sort_type)

$sort_type (Gtk2::RecentSortType)

$chooser->unselect_uri ($uri)

$uri (string)

(list) = $chooser->get_uris

'filter' (Gtk2::RecentFilter : default undef : readable / writable / private / static-nick / static-blurb)
The current filter for selecting which resources are displayed
'limit' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
The maximum number of items to be displayed
'local-only' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the selected resource(s) should be limited to local file: URIs
'recent-manager' (Gtk2::RecentManager : default undef : writable / construct-only / private / static-nick / static-blurb)
The RecentManager object to use
'select-multiple' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether to allow multiple items to be selected
'show-icons' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether there should be an icon near the item
'show-not-found' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the items pointing to unavailable resources should be displayed
'show-private' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the private items should be displayed
'show-tips' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether there should be a tooltip on the item
'sort-type' (Gtk2::RecentSortType : default "none" : readable / writable / private / static-nick / static-blurb)
The sorting order of the items displayed

  • 'none' / 'GTK_RECENT_SORT_NONE'
  • 'mru' / 'GTK_RECENT_SORT_MRU'
  • 'lru' / 'GTK_RECENT_SORT_LRU'
  • 'custom' / 'GTK_RECENT_SORT_CUSTOM'

  • 'not-found' / 'GTK_RECENT_CHOOSER_ERROR_NOT_FOUND'
  • 'invalid-uri' / 'GTK_RECENT_CHOOSER_ERROR_INVALID_URI'

Gtk2, Glib::Interface

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

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

2022-05-29 perl v5.36.0