Skip to documentation
SLOP

tiny.wayland.protocol.desktop.xdg_positioner.enumerations

Reference tiny.wayland protocol desktop xdg_positioner enumerations

Defined in protocol.desktop.xdg_positioner.

API (5)

Values and defaults

Public values and defaults.

No direct callersNo direct callsprotocol.desktop.xdg_positionerenumerations
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/wayland/src/protocol/generated/desktop.zig:241

zig
pub const enumerations = struct {        pub const @"error": schema.Enumeration = .{            .name = "error",            .since = 1,            .bitfield = false,            .entries = &.{                .{ .name = "invalid_input", .value = 0, .since = 1, .deprecated_since = null },            },        };        pub const anchor: schema.Enumeration = .{            .name = "anchor",            .since = 1,            .bitfield = false,            .entries = &.{                .{ .name = "none", .value = 0, .since = 1, .deprecated_since = null },                .{ .name = "top", .value = 1, .since = 1, .deprecated_since = null },                .{ .name = "bottom", .value = 2, .since = 1, .deprecated_since = null },                .{ .name = "left", .value = 3, .since = 1, .deprecated_since = null },                .{ .name = "right", .value = 4, .since = 1, .deprecated_since = null },                .{ .name = "top_left", .value = 5, .since = 1, .deprecated_since = null },                .{ .name = "bottom_left", .value = 6, .since = 1, .deprecated_since = null },                .{ .name = "top_right", .value = 7, .since = 1, .deprecated_since = null },                .{ .name = "bottom_right", .value = 8, .since = 1, .deprecated_since = null },            },        };        pub const gravity: schema.Enumeration = .{            .name = "gravity",            .since = 1,            .bitfield = false,            .entries = &.{                .{ .name = "none", .value = 0, .since = 1, .deprecated_since = null },                .{ .name = "top", .value = 1, .since = 1, .deprecated_since = null },                .{ .name = "bottom", .value = 2, .since = 1, .deprecated_since = null },                .{ .name = "left", .value = 3, .since = 1, .deprecated_since = null },                .{ .name = "right", .value = 4, .since = 1, .deprecated_since = null },                .{ .name = "top_left", .value = 5, .since = 1, .deprecated_since = null },                .{ .name = "bottom_left", .value = 6, .since = 1, .deprecated_since = null },                .{ .name = "top_right", .value = 7, .since = 1, .deprecated_since = null },                .{ .name = "bottom_right", .value = 8, .since = 1, .deprecated_since = null },            },        };        pub const constraint_adjustment: schema.Enumeration = .{            .name = "constraint_adjustment",            .since = 1,            .bitfield = true,            .entries = &.{                .{ .name = "none", .value = 0, .since = 1, .deprecated_since = null },                .{ .name = "slide_x", .value = 1, .since = 1, .deprecated_since = null },                .{ .name = "slide_y", .value = 2, .since = 1, .deprecated_since = null },                .{ .name = "flip_x", .value = 4, .since = 1, .deprecated_since = null },                .{ .name = "flip_y", .value = 8, .since = 1, .deprecated_since = null },                .{ .name = "resize_x", .value = 16, .since = 1, .deprecated_since = null },                .{ .name = "resize_y", .value = 32, .since = 1, .deprecated_since = null },            },        };        pub const all = [_]schema.Enumeration{ @"error", anchor, gravity, constraint_adjustment };    };

Also reachable as

protocol.generated.desktop.xdg_positioner.enumerations.

Audit

Definitions6
Public names12
Members0
Version26.7.0
Revisiondaab053ee433