Gtk2::RecentChooser

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::RecentChooser  

HIERARCHY

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

 

METHODS

 

$chooser->add_filter ($filter)

* $filter (Gtk2::RecentFilter)
 

recentinfo = $chooser->get_current_item

 

string = $chooser->get_current_uri

 

$chooser->set_current_uri ($uri)

* $uri (string)

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

 

recentfilter = $chooser->get_filter

 

$chooser->set_filter ($filter)

* $filter (Gtk2::RecentFilter)
 

(list) = $chooser->get_items

 

integer = $chooser->get_limit

 

$chooser->set_limit ($limit)

* $limit (integer)
 

(filters) = $chooser->list_filters

 

boolean = $chooser->get_local_only

 

$chooser->set_local_only ($local_only)

* $local_only (boolean)
 

$chooser->remove_filter ($filter)

* $filter (Gtk2::RecentFilter)
 

$chooser->select_all

 

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)
 

recentsorttype = $chooser->get_sort_type

 

$chooser->set_sort_type ($sort_type)

* $sort_type (Gtk2::RecentSortType)
 

$chooser->unselect_all

 

$chooser->unselect_uri ($uri)

* $uri (string)
 

(list) = $chooser->get_uris

 

PROPERTIES

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

SIGNALS

item-activated (Gtk2::RecentChooser)
selection-changed (Gtk2::RecentChooser)
 

ENUMS AND FLAGS

 

enum Gtk2::RecentSortType

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

enum GtkRecentChooserError

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

SEE ALSO

Gtk2, Glib::Interface  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
$chooser->add_filter ($filter)
recentinfo = $chooser->get_current_item
string = $chooser->get_current_uri
$chooser->set_current_uri ($uri)
recentfilter = $chooser->get_filter
$chooser->set_filter ($filter)
(list) = $chooser->get_items
integer = $chooser->get_limit
$chooser->set_limit ($limit)
(filters) = $chooser->list_filters
boolean = $chooser->get_local_only
$chooser->set_local_only ($local_only)
$chooser->remove_filter ($filter)
$chooser->select_all
boolean = $chooser->get_select_multiple
$chooser->set_select_multiple ($select_multiple)
$chooser->select_uri ($uri)
boolean = $chooser->get_show_icons
$chooser->set_show_icons ($show_icons)
boolean = $chooser->get_show_not_found
$chooser->set_show_not_found ($show_not_found)
boolean = $chooser->get_show_private
$chooser->set_show_private ($show_private)
boolean = $chooser->get_show_tips
$chooser->set_show_tips ($show_tips)
$chooser->set_sort_func ($sort_func, $sort_data=undef)
recentsorttype = $chooser->get_sort_type
$chooser->set_sort_type ($sort_type)
$chooser->unselect_all
$chooser->unselect_uri ($uri)
(list) = $chooser->get_uris
PROPERTIES
SIGNALS
ENUMS AND FLAGS
enum Gtk2::RecentSortType
enum GtkRecentChooserError
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages