Constructor

GtkRecentChooserMenunew_for_manager

since: 2.10

Declaration [src]

GtkWidget*
gtk_recent_chooser_menu_new_for_manager (
  GtkRecentManager* manager
)

Description [src]

Creates a new GtkRecentChooserMenu widget using manager as the underlying recently used resources manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a GtkRecentManager object or if you wish to share a common GtkRecentManager object among multiple GtkRecentChooser widgets.

Available since: 2.10

Parameters

manager

Type: GtkRecentManager

A GtkRecentManager.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

A new GtkRecentChooserMenu, bound to manager.

The data is owned by the called function.