Sets our main struct and passes it to the parent class.
Creates a new RecentAction object. To add the action to a ActionGroup and set the accelerator for the action, call gtk.ActionGroup.ActionGroup.addActionwWithAccel().
Creates a new RecentAction object. To add the action to a ActionGroup and set the accelerator for the action, call gtk.ActionGroup.ActionGroup.addActionwWithAccel().
Creates a new #GtkRecentAction object. To add the action to a #GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel().
Creates a new #GtkRecentAction object. To add the action to a #GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel().
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 shown by the widgets representing @action. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first ten 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*
Gets the stock id of action. Since 2.16
Sets the stock id on action Since 2.16
This function is intended for use by action implementations to create icons displayed in the proxy widgets. Since 2.4
Creates a menu item widget that proxies for the given action. Since 2.4
Creates a toolbar item widget that proxies for the given action. Since 2.4
If action provides a GtkMenu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu. Since 2.12
Emits the “activate” signal on the specified action, if it isn't insensitive. This gets called by the proxy widgets when they get activated.
Disable activation signals from the action
Installs the accelerator for @action if @action has an accel path and group. See gtk_action_set_accel_path() and gtk_action_set_accel_group()
Undoes the effect of one call to gtk_action_connect_accelerator().
Returns the accel closure for this action.
Returns the accel path for this action.
Returns whether @action's menu item proxies will always show their image, if available.
Gets the gicon of @action.
Gets the icon name of @action.
Checks whether @action is important or not
Gets the label text of @action.
Returns the name of the action.
Returns the proxy widgets for an action. See also gtk_activatable_get_related_action().
Returns whether the action itself is sensitive. Note that this doesn’t necessarily mean effective sensitivity. See gtk_action_is_sensitive() for that.
Gets the short label text of @action.
Gets the tooltip text of @action.
Returns whether the action itself is visible. Note that this doesn’t necessarily mean effective visibility. See gtk_action_is_sensitive() for that.
Checks whether @action is visible when horizontal
Checks whether @action is visible when horizontal
Returns whether the action is effectively sensitive.
Returns whether the action is effectively visible.
Sets the #GtkAccelGroup in which the accelerator for this action will be installed.
Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent.
Sets whether @action's menu item proxies will ignore the #GtkSettings:gtk-menu-images setting and always show their image, if available.
Sets the icon of @action.
Sets the icon name on @action
Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not.
Sets the label of @action.
Sets the :sensitive property of the action to @sensitive. Note that this doesn’t necessarily mean effective sensitivity. See gtk_action_is_sensitive() for that.
Sets a shorter label text on @action.
Sets the stock id on @action
Sets the tooltip text on @action
Sets the :visible property of the action to @visible. Note that this doesn’t necessarily mean effective visibility. See gtk_action_is_visible() for that.
Sets whether @action is visible when horizontal
Sets whether @action is visible when vertical
Reenable activation signals from the action
The "activate" signal is emitted when the action is activated.
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.
A #GtkRecentAction represents a list of recently used files, which can be shown by widgets such as #GtkRecentChooserDialog or #GtkRecentChooserMenu.
To construct a submenu showing recently used files, use a #GtkRecentAction as the action for a <menuitem>. To construct a menu toolbutton showing the recently used files in the popup menu, use a #GtkRecentAction as the action for a <toolitem> element.