Constructor
GtkRecentChooserDialognew_for_manager
since: 2.10
Declaration [src]
GtkWidget*
gtk_recent_chooser_dialog_new_for_manager (
const gchar* title,
GtkWindow* parent,
GtkRecentManager* manager,
const gchar* first_button_text,
...
)
Description [src]
Creates a new GtkRecentChooserDialog
with a specified recent manager.
This is useful if you have implemented your own recent manager, or if you
have a customized instance of a GtkRecentManager
object.
Available since: 2.10
This constructor is not directly available to language bindings.
Parameters
title
-
Type:
const gchar*
Title of the dialog, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. parent
-
Type:
GtkWindow
Transient parent of the dialog, or
NULL
,.The argument can be NULL
.The data is owned by the caller of the function. manager
-
Type:
GtkRecentManager
A
GtkRecentManager
.The data is owned by the caller of the function. first_button_text
-
Type:
const gchar*
Stock ID or text to go in the first button, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...
-
Type:
Response ID for the first button, then additional (button, id) pairs, ending with
NULL
.
Return value
Type: GtkWidget
A new GtkRecentChooserDialog
.
The data is owned by the called function. |