WebDAVDiscoverDialog


Description:

[ CCode ( has_construct_function = false , type = "GtkDialog*" ) ]
[ Version ( since = "3.18" ) ]
public WebDAVDiscoverDialog (Window parent, string title, CredentialsPrompter credentials_prompter, Source source, string? base_url, uint supports_filter)

Creates a new Dialog which has as its content a WebDAV discovery widget, created with WebDAVDiscoverContent.

This dialog can be shown to a user and when its final response is gtk_response_accept, then the inner content can be asked for currently selected source(s).

Parameters:

parent

a Window parent for the dialog

title

title of the window

credentials_prompter

an CredentialsPrompter to use to ask for credentials

source

an Source to use for authentication

base_url

optional base URL to use for discovery, or null

supports_filter

a bit-or of WebDAVDiscoverSupports, a filter to limit what source types will be shown in the dialog content; use e_webdav_discover_supports_none to show all

Returns:

a newly created Dialog, which should be freed with unref, when no longer needed.