Flags

Details

class Gsk.Isolation(value)

Bases: GObject.GFlags

These flags describe the types of isolations possible with a [class`Gsk`.IsolationNode].

More isolation options may be added in the future.

New in version 4.22.

ALL = -1

Isolate everything. This will include features that are added in the future.

NONE = 0

No isolation is defined.

BACKGROUND = 1

If the background should be made available. If the background is not available, future operations will be rendered to a transparent background and added to the existing background later.

COPY_PASTE = 2

If copies should be available to paste nodes. If copies are not available, paste nodes can only paste from copies that are made inside the isolated contents.

class Gsk.PathForeachFlags(value)

Bases: GObject.GFlags

Flags that can be passed to Gsk.Path.foreach() to influence what kinds of operations the path is decomposed into.

By default, [method`Gsk`.Path.foreach] will only emit a path with all operations flattened to straight lines to allow for maximum compatibility. The only operations emitted will be GSK_PATH_MOVE, GSK_PATH_LINE and GSK_PATH_CLOSE.

New in version 4.14.

ONLY_LINES = 0

The default behavior, only allow lines.

QUAD = 1

Allow emission of GSK_PATH_QUAD operations

CUBIC = 2

Allow emission of GSK_PATH_CUBIC operations.

CONIC = 4

Allow emission of GSK_PATH_CONIC operations.