Flags

Details

class GOffice.DataFlags(value)

Bases: GLib.Flags

CACHE_IS_VALID = 1

data in cache are valid.

IS_EDITABLE = 2

data can be edited.

SIZE_CACHED = 4

cached size is valid.

HAS_VALUE = 8

object is not empty.

class GOffice.GeometrySide(value)

Bases: GLib.Flags

LEFT = 1

left.

TOP_BOTTOM = 12

top or bottom.

AUTO = 15

auto.

RIGHT = 2

right.

LEFT_RIGHT = 3

left or right.

TOP = 4

top.

BOTTOM = 8

bottom.

class GOffice.GraphAxisSet(value)

Bases: GLib.Flags

Gives the needed axes for a plot.

UNKNOWN = -1

unkown, should not occur.

NONE = 0

no axis.

X = 1

only an X axis.

XY_BUBBLE = 131

X, Y, and bubble axes.

RADAR = 24

circular and radial axes.

ALL = 255

mask for all known axis types.

XY = 3

both X and Y axes.

FUNDAMENTAL = 31

mask for all fundamental axes.

XY_PSEUDO_3D = 35

X, Y, and pseudo-3D axes.

XY_COLOR = 67

X, Y, and color axes.

XYZ = 7

X, Y, and Z axes.

class GOffice.GraphObjectPosition(value)

Bases: GLib.Flags

ALIGN_FILL = 0

fills.

ANCHOR_NW = 0

anchored north-west.

AUTO = 0

automatic.

N = 1

north, might be combined with east or west.

EXPAND = 100663296

expands in either direction.

MANUAL_X_END = 1024

x position relative to start or end.

ANCHOR_E = 12288

anchored east.

ANCHOR = 126976

mask for anchors.

MANUAL = 128

manual.

ANY_MANUAL = 130944

mask for all manual positions

COMPASS = 15

mask of the four previous positions.

ALIGN_START = 16

start.

ANCHOR_SE = 16384

anchored south-east.

MANUAL_H_ABS = 16777216

absolute height.

S = 2

south, might be combined with east or west.

MANUAL_Y_END = 2048

y position relative to start or end.

ANCHOR_S = 20480

anchored south.

MANUAL_W = 2097152

relative width.

ANCHOR_SW = 24576

anchored south-west.

MANUAL_X_ABS = 256

whether the x position is absolute or relative.

ANCHOR_W = 28672

anchored west.

ANY_MANUAL_SIZE = 31457280

mask for manual sizes.

ALIGN_END = 32

end.

ANCHOR_CENTER = 32768

anchored at center.

HEXPAND = 33554432

expands in the horizontal direction.

E = 4

east.

ANCHOR_N = 4096

anchored north.

MANUAL_W_ABS = 4194304

absolute width.

ALIGNMENT = 48

mask for start or end.

ALIGN_CENTER = 48

centered.

MANUAL_Y_ABS = 512

whether the y position is absolute or relative.

SPECIAL = 64

special.

PADDING = 65536

padding.

VEXPAND = 67108864

expands in the vertical direction.

W = 8

west.

ANCHOR_NE = 8192

anchored north-east.

MANUAL_H = 8388608

relative height.

class GOffice.GraphSeriesLabelsPos(value)

Bases: GLib.Flags

DEFAULT_POS = 0

default position.

CENTERED = 1

centered.

NEAR_ORIGIN = 128

near origin.

RIGHT = 16

at right.

TOP = 2

at top.

OUTSIDE = 32

outside the element.

BOTTOM = 4

at bottom.

INSIDE = 64

inside the element.

LEFT = 8

at left.

class GOffice.PathOptions(value)

Bases: GLib.Flags

SNAP_COORDINATES = 1

round coordinates to avoid aliasing in pixbufs.

SNAP_WIDTH = 2

round width so that it correpond to a round pixels number.

SHARP = 3

use raw coordinates.

class GOffice.StyleFlag(value)

Bases: GLib.Flags

Gives the meaningful fields in GOStyle. Anyw combination can be used, except that GOffice.StyleFlag.OUTLINE and GOffice.StyleFlag.OUTLINE should never coexist.

OUTLINE = 1

outline.

MARKER_NO_COLOR = 128

marker with no color.

FONT = 16

GOffice.font.

FILL = 2

GOffice.fill.

ALL = 31

all elements

TEXT_LAYOUT = 32

text orientaiton.

LINE = 4

line.

INTERPOLATION = 64

curve interpolation.

MARKER = 8

marker.