Flags

Details

class WebKit.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 WebKit.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 WebKit.HitTestResultContext(value)

Bases: GObject.GFlags

Enum values with flags representing the context of a WebKit.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 WebKit.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 WebKit.SnapshotOptions(value)

Bases: GObject.GFlags

Enum values used to specify options when taking a snapshot from a WebKit.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 WebKit.WebsiteDataTypes(value)

Bases: GObject.GFlags

Enum values with flags representing types of Website data.

New in version 2.16.

MEMORY_CACHE = 1

Memory cache.

SERVICE_WORKER_REGISTRATIONS = 1024

Service worker registrations.

DEVICE_ID_HASH_SALT = 128

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

LOCAL_STORAGE = 16

Local storage data.

DISK_CACHE = 2

HTTP disk cache.

DOM_CACHE = 2048

DOM (CacheStorage) cache.

HSTS_CACHE = 256

HSTS cache.

INDEXEDDB_DATABASES = 32

IndexedDB databases.

OFFLINE_APPLICATION_CACHE = 4

Offline web application cache.

ALL = 4095

All types.

ITP = 512

Intelligent Tracking Prevention data.

COOKIES = 64

Cookies.

SESSION_STORAGE = 8

Session storage data.