Sets our main struct and passes it to the parent class.
Creates a new #GtkRecentChooserMenu widget.
Creates a new #GtkRecentChooserMenu widget using @manager as the underlying recently used resources manager.
Get the main Gtk struct
Returns the value set by gtk_recent_chooser_menu_set_show_numbers().
the main Gtk struct as a void*
Sets whether a number should be added to the items of @menu. The numbers are shown to provide a unique character for a mnemonic to be used inside ten menu item’s label. Only the first the items get a number to avoid clashes.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Popups up this menu
Creates and append a submenu to this menu. This menu item that actualy has the sub menu is also created.
Returns a list of the menus which are attached to this widget. This list is owned by GTK+ and must not be modified.
Adds a new #GtkMenuItem to a (table) menu. The number of “cells” that an item will occupy is specified by @left_attach, @right_attach, @top_attach and @bottom_attach. These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero).
Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls gtk_menu_detach() during its destruction.
Detaches the menu from the widget to which it had been attached. This function will call the callback function, @detacher, provided when the gtk_menu_attach_to_widget() function was called.
Gets the #GtkAccelGroup which holds global accelerators for the menu. See gtk_menu_set_accel_group().
Retrieves the accelerator path set on the menu.
Returns the selected menu item from the menu. This is used by the #GtkComboBox.
Returns the #GtkWidget that the menu is attached to.
Retrieves the number of the monitor on which to show the menu.
Returns whether the menu reserves space for toggles and icons, regardless of their actual presence.
Returns whether the menu is torn off. See gtk_menu_set_tearoff_state().
Returns the title of the menu. See gtk_menu_set_title().
Places @menu on the given monitor.
Removes the menu from the screen.
Displays a menu and makes it available for selection.
Displays @menu and makes it available for selection.
Displays @menu and makes it available for selection.
Displays @menu and makes it available for selection.
Displays a menu and makes it available for selection.
Moves @child to a new @position in the list of @menu children.
Repositions the menu according to its position function.
Set the #GtkAccelGroup which holds global accelerators for the menu. This accelerator group needs to also be added to all windows that this menu is being used in with gtk_window_add_accel_group(), in order for those windows to support all the accelerators contained in this group.
Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. The main purpose of this function is to spare the programmer the inconvenience of having to call gtk_menu_item_set_accel_path() on each menu item that should support runtime user changable accelerators. Instead, by just calling gtk_menu_set_accel_path() on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned.
Selects the specified menu item within the menu. This is used by the #GtkComboBox and should not be used by anyone else.
Informs GTK+ on which monitor a menu should be popped up. See gdk_monitor_get_geometry().
Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence.
Sets the #GdkScreen on which the menu will be displayed.
Changes the tearoff state of the menu. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached.
Sets the title string for the menu.
Emitted when the position of @menu is finalized after being popped up using gtk_menu_popup_at_rect (), gtk_menu_popup_at_widget (), or gtk_menu_popup_at_pointer ().
Get the main Gtk struct
the main Gtk struct as a void*
This is a utility function for #GtkActivatable implementors.
Gets the related #GtkAction for @activatable.
Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance.
Sets the related action on the @activatable object.
Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance
This is called to update the activatable completely, this is called internally when the #GtkActivatable:related-action property is set or unset and by the implementing class when #GtkActivatable:use-action-appearance changes.
Get the main Gtk struct
the main Gtk struct as a void*
Adds @filter to the list of #GtkRecentFilter objects held by @chooser.
Gets the #GtkRecentInfo currently selected by @chooser.
Gets the URI currently selected by @chooser.
Gets the #GtkRecentFilter object currently used by @chooser to affect the display of the recently used resources.
Gets the list of recently used resources in form of #GtkRecentInfo objects.
Gets the number of items returned by gtk_recent_chooser_get_items() and gtk_recent_chooser_get_uris().
Gets whether only local resources should be shown in the recently used resources selector. See gtk_recent_chooser_set_local_only()
Gets whether @chooser can select multiple items.
Retrieves whether @chooser should show an icon near the resource.
Retrieves whether @chooser should show the recently used resources that were not found.
Returns whether @chooser should display recently used resources registered as private.
Gets whether @chooser should display tooltips containing the full path of a recently user resource.
Gets the value set by gtk_recent_chooser_set_sort_type().
Gets the URI of the recently used resources.
Gets the #GtkRecentFilter objects held by @chooser.
Removes @filter from the list of #GtkRecentFilter objects held by @chooser.
Selects all the items inside @chooser, if the @chooser supports multiple selection.
Selects @uri inside @chooser.
Sets @uri as the current URI for @chooser.
Sets @filter as the current #GtkRecentFilter object used by @chooser to affect the displayed recently used resources.
Sets the number of items that should be returned by gtk_recent_chooser_get_items() and gtk_recent_chooser_get_uris().
Sets whether only local resources, that is resources using the file:// URI scheme, should be shown in the recently used resources selector. If @local_only is %TRUE (the default) then the shown resources are guaranteed to be accessible through the operating system native file system.
Sets whether @chooser can select multiple items.
Sets whether @chooser should show an icon near the resource when displaying it.
Sets whether @chooser should display the recently used resources that it didn’t find. This only applies to local resources.
Whether to show recently used resources marked registered as private.
Sets whether to show a tooltips containing the full path of each recently used resource in a #GtkRecentChooser widget.
Sets the comparison function used when sorting to be @sort_func. If the @chooser has the sort type set to #GTK_RECENT_SORT_CUSTOM then the chooser will sort using this function.
Changes the sorting order of the recently used resources list displayed by @chooser.
Unselects all the items inside @chooser.
Unselects @uri inside @chooser.
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.
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 explicitly calling functions to change the selection.
#GtkRecentChooserMenu is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a #GtkMenuItem using gtk_menu_item_set_submenu(), or as the menu of a #GtkMenuToolButton.
Note that #GtkRecentChooserMenu does not have any methods of its own. Instead, you should use the functions that work on a #GtkRecentChooser.
Note also that #GtkRecentChooserMenu does not support multiple filters, as it has no way to let the user choose between them as the #GtkRecentChooserWidget and #GtkRecentChooserDialog widgets do. Thus using gtk_recent_chooser_add_filter() on a #GtkRecentChooserMenu widget will yield the same effects as using gtk_recent_chooser_set_filter(), replacing any currently set filter with the supplied filter; gtk_recent_chooser_remove_filter() will remove any currently set #GtkRecentFilter object and will unset the current filter; gtk_recent_chooser_list_filters() will return a list containing a single #GtkRecentFilter object.
Recently used files are supported since GTK+ 2.10.