GtkRecentChooser {RGtk2.10}R Documentation

GtkRecentChooser

Description

Interface implemented by GtkRecentChooserWidget, GtkRecentChooserMenu and GtkRecentChooserDialog

Methods and Functions

gtkRecentChooserSetShowPrivate(object, show.private)
gtkRecentChooserGetShowPrivate(object)
gtkRecentChooserSetShowNotFound(object, show.not.found)
gtkRecentChooserGetShowNotFound(object)
gtkRecentChooserSetShowIcons(object, show.icons)
gtkRecentChooserGetShowIcons(object)
gtkRecentChooserSetSelectMultiple(object, select.multiple)
gtkRecentChooserGetSelectMultiple(object)
gtkRecentChooserSetLocalOnly(object, local.only)
gtkRecentChooserGetLocalOnly(object)
gtkRecentChooserSetLimit(object, limit)
gtkRecentChooserGetLimit(object)
gtkRecentChooserSetShowTips(object, show.tips)
gtkRecentChooserGetShowTips(object)
gtkRecentChooserSetSortType(object, sort.type)
gtkRecentChooserGetSortType(object)
gtkRecentChooserSetSortFunc(object, sort.func, sort.data)
gtkRecentChooserSetCurrentUri(object, uri, .errwarn = TRUE)
gtkRecentChooserGetCurrentUri(object)
gtkRecentChooserGetCurrentItem(object)
gtkRecentChooserSelectUri(object, uri, .errwarn = TRUE)
gtkRecentChooserUnselectUri(object, uri)
gtkRecentChooserSelectAll(object)
gtkRecentChooserUnselectAll(object)
gtkRecentChooserGetItems(object)
gtkRecentChooserGetUris(object)
gtkRecentChooserAddFilter(object, filter)
gtkRecentChooserRemoveFilter(object, filter)
gtkRecentChooserListFilters(object)
gtkRecentChooserSetFilter(object, filter)
gtkRecentChooserGetFilter(object)

Hierarchy

  GInterface
   +----GtkRecentChooser

Implementations

GtkRecentChooser is implemented by GtkRecentChooserDialog, GtkRecentChooserWidget and GtkRecentChooserMenu.

Detailed Description

GtkRecentChooser is an interface that can be implemented by widgets displaying the list of recently used files. In GTK+, the main objects that implement this interface are GtkRecentChooserWidget, GtkRecentChooserDialog and GtkRecentChooserMenu.

Recently used files are supported since GTK+ 2.10.

Structures

GtkRecentChooser
undocumented

Enums and Flags

GtkRecentChooserError
These identify the various errors that can occur while calling GtkRecentChooser functions.

not-found
Indicates that a file does not exist
invalid-uri
Indicates a malformed URI

GtkRecentSortType
Used to specify the sorting method to be applyed to the recently used resource list.

none
Do not sort the returned list of recently used resources.
mru
Sort the returned list with the most recently used items first.
lru
Sort the returned list with the least recently used items first.
custom
Sort the returned list using a custom sorting function passed using gtkRecentManagerSetSortFunc().

User Functions

GtkRecentSortFunc(a, b, user.data)
undocumented

a
[GtkRecentInfo]
b
[GtkRecentInfo]
user.data
[R object]

Signals

item-activated(chooser, user.data)
This signal is emitted when the user "activates" a recent item in the recent chooser. This can happen by double-clicking on an item in the recently used resources list, or by pressing Enter.

Since 2.10

chooser
[GtkRecentChooser] the object which received the signal
user.data
[R object] user data set when the signal handler was connected.

selection-changed(chooser, user.data)
This signal is emitted when there is a change in the set of selected recently used resources. This can happen when a user modifies the selection with the mouse or the keyboard, or when explicitely calling functions to change the selection.

Since 2.10

chooser
[GtkRecentChooser] the object which received the signal
user.data
[R object] user data set when the signal handler was connected.

Properties

filter [GtkRecentFilter : Read / Write]

The current filter for selecting which resources are displayed.

limit [integer : Read / Write]

The maximum number of items to be displayed. Allowed values: >= -1 Default value: -1

local-only [logical : Read / Write]

Whether the selected resource(s) should be limited to local file: URIs. Default value: TRUE

recent-manager [GtkRecentManager : Write / Construct Only]

The RecentManager object to use.

select-multiple [logical : Read / Write]

Whether to allow multiple items to be selected. Default value: FALSE

show-icons [logical : Read / Write]

Whether there should be an icon near the item. Default value: TRUE

show-not-found [logical : Read / Write]

Whether the items pointing to unavailable resources should be displayed. Default value: FALSE

show-private [logical : Read / Write]

Whether the private items should be displayed. Default value: FALSE

show-tips [logical : Read / Write]

Whether there should be a tooltip on the item. Default value: FALSE

sort-type [GtkRecentSortType : Read / Write]

The sorting order of the items displayed. Default value: GTK_RECENT_SORT_NONE

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkRecentChooser.html

See Also

GtkRecentManager GtkRecentChooserDialog GtkRecentChooserWidget GtkRecentChooserMenu


[Package RGtk2.10 version 2.10.6 Index]