Flags

Details

class WebKit2.EditorTypingAttributes(value)

Bases: GObject.GFlags

Enum values with flags representing typing attributes.

New in version 2.10.

UNDERLINE = 16

Underline typing attribute.

NONE = 2

No typing attributes.

STRIKETHROUGH = 32

Strikethrough typing attribute.

BOLD = 4

Bold typing attribute.

ITALIC = 8

Italic typing attribute.

class WebKit2.FindOptions(value)

Bases: GObject.GFlags

Enum values used to specify search options.

NONE = 0

no search flags, this means a case sensitive, no wrap, forward only search.

CASE_INSENSITIVE = 1

case insensitive search.

WRAP_AROUND = 16

if not present search will stop at the end of the document.

AT_WORD_STARTS = 2

search text only at the begining of the words.

TREAT_MEDIAL_CAPITAL_AS_WORD_START = 4

treat capital letters in the middle of words as word start.

BACKWARDS = 8

search backwards.

class WebKit2.HitTestResultContext(value)

Bases: GObject.GFlags

Enum values with flags representing the context of a WebKit2.HitTestResult.

SELECTION = 128

a selected element.

New in version 2.8.

MEDIA = 16

a video or audio element.

DOCUMENT = 2

anywhere in the document.

EDITABLE = 32

an editable element

a hyperlink element.

SCROLLBAR = 64

a scrollbar element.

IMAGE = 8

an image element.

class WebKit2.InputHints(value)

Bases: GObject.GFlags

Enum values used to describe hints that might be taken into account by input methods.

New in version 2.28.

NONE = 0

No special behavior suggested

SPELLCHECK = 1

Suggest spell checking

UPPERCASE_SENTENCES = 16

Suggest to capitalize the first word of each sentence

LOWERCASE = 2

Suggest to not autocapitlize

INHIBIT_OSK = 32

Suggest to not show an onscreen keyboard

UPPERCASE_CHARS = 4

Suggest to capitalize all text

UPPERCASE_WORDS = 8

Suggest to capitalize the first character of each word

class WebKit2.SnapshotOptions(value)

Bases: GObject.GFlags

Enum values used to specify options when taking a snapshot from a WebKit2.WebView.

NONE = 0

Do not include any special options.

INCLUDE_SELECTION_HIGHLIGHTING = 1

Whether to include in the snapshot the highlight of the selected content.

TRANSPARENT_BACKGROUND = 2

Do not fill the background with white before rendering the snapshot.

New in version 2.8.

class WebKit2.WebsiteDataTypes(value)

Bases: GObject.GFlags

Enum values with flags representing types of Website data.

New in version 2.16.

MEMORY_CACHE = 1

Memory cache.

HSTS_CACHE = 1024

HSTS cache.

New in version 2.26.

PLUGIN_DATA = 128

Plugins data. Deprecated 2.32

LOCAL_STORAGE = 16

Local storage data.

ALL = 16383

All types.

DISK_CACHE = 2

HTTP disk cache.

ITP = 2048

Intelligent Tracking Prevention data.

New in version 2.30.

COOKIES = 256

Cookies.

WEBSQL_DATABASES = 32

WebSQL databases. Deprecated 2.24

OFFLINE_APPLICATION_CACHE = 4

Offline web application cache.

SERVICE_WORKER_REGISTRATIONS = 4096

Service worker registrations.

New in version 2.30.

DEVICE_ID_HASH_SALT = 512

Hash salt used to generate the device ids used by webpages.

New in version 2.24.

INDEXEDDB_DATABASES = 64

IndexedDB databases.

SESSION_STORAGE = 8

Session storage data.

DOM_CACHE = 8192

DOM (CacheStorage) cache.

New in version 2.30.