EDataServer.SourceWebDAVNotes

g EDataServer.SourceExtension EDataServer.SourceExtension EDataServer.SourceWebDAVNotes EDataServer.SourceWebDAVNotes EDataServer.SourceExtension->EDataServer.SourceWebDAVNotes GObject.Object GObject.Object GObject.Object->EDataServer.SourceExtension

Subclasses:

None

Methods

Inherited:

EDataServer.SourceExtension (4), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_default_ext ()

get_default_ext ()

set_default_ext (default_ext)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

EDataServer.SourceExtension (1)

Name

Type

Flags

Short Description

default-ext

str

r/w/c/en

Default file extension for new notes

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

EDataServer.SourceExtension

r

Class Details

class EDataServer.SourceWebDAVNotes(**kwargs)
Bases:

EDataServer.SourceExtension

Abstract:

No

Structure:

EDataServer.SourceWebDAVNotesClass

Contains only private data that should be read and manipulated using the functions below.

New in version 3.44.

dup_default_ext()
Returns:

a newly-allocated copy of EDataServer.SourceWebDAVNotes :default-ext, or None, when none is set

Return type:

str or None

Thread-safe variation of EDataServer.SourceWebDAVNotes.get_default_ext(). Use this function when accessing self from multiple threads.

The returned string should be freed with GLib.free() when no longer needed.

New in version 3.44.

get_default_ext()
Returns:

the default file extension, or None, when none is set

Return type:

str or None

Returns the default file extension for new notes.

New in version 3.44.

set_default_ext(default_ext)
Parameters:

default_ext (str or None) – a default file extension, or None

Sets the default file extension for new notes.

The internal copy of default_ext is automatically stripped of leading and trailing whitespace. If the resulting string is empty, None is set instead.

New in version 3.44.

Property Details

EDataServer.SourceWebDAVNotes.props.default_ext
Name:

default-ext

Type:

str

Default Value:

'.md'

Flags:

READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

Default file extension for new notes