WebDAVDiscoverContent


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "3.18" ) ]
public WebDAVDiscoverContent (CredentialsPrompter credentials_prompter, Source? source, string? base_url, uint supports_filter)

Creates a new WebDAV discovery content, which is a Grid containing necessary widgets to provide a UI interface for a user to search and select for available WebDAV (CalDAV or CardDAV) sources provided by the given server.

Do not pack anything into this content, its content can be changed dynamically.

Parameters:

credentials_prompter

an CredentialsPrompter to use to ask for credentials

source

optional Source to use for authentication, or null

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 new WebDAVDiscoverContent.