Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

OptionalStatements

https://learn.microsoft.com/en-us/windows/win32/menurc/stringtable-resource#parameters https://learn.microsoft.com/en-us/windows/win32/menurc/dialog-resource#parameters https://learn.microsoft.com/en-us/windows/win32/menurc/dialogex-resource#parameters

rc.OptionalStatements
pub const OptionalStatements = enum

File

Code

pub const OptionalStatements = enum {
    characteristics,
    language,
    version,

    // DIALOG
    caption,
    class,
    exstyle,
    font,
    menu,
    style,

    pub const map = std.StaticStringMapWithEql(
        OptionalStatements,
        std.static_string_map.eqlAsciiIgnoreCase,
    ).initComptime(.{
        .{ "CHARACTERISTICS", .characteristics },
        .{ "LANGUAGE", .language },
        .{ "VERSION", .version },
    });

    pub const dialog_map = std.StaticStringMapWithEql(
        OptionalStatements,
        std.static_string_map.eqlAsciiIgnoreCase,
    ).initComptime(.{
        .{ "CAPTION", .caption },
        .{ "CLASS", .class },
        .{ "EXSTYLE", .exstyle },
        .{ "FONT", .font },
        .{ "MENU", .menu },
        .{ "STYLE", .style },
    });
}