GTK-BUILDER-TOOL(1)
π gtk-builder-tool β the GtkBuilder file utility, bestie edition π
okay so real quick, this is page GTK-BUILDER-TOOL(1) from the User Commands manual β and it's literally the little tool that does stuff to your GtkBuilder files. she's small. she's mighty. she's giving utility icon energy. π οΈβ¨
πΈ SYNOPSIS πΈ
gtk-builder-tool [COMMAND] [OPTION...] FILE
that's it. that's the whole vibe. a command, some options, and a file. π
π¦ DESCRIPTION π¦
okay so <purple>gtk-builder-tool</purple> can perform various operations on GtkBuilder .ui files. that's the whole job description and honestly? iconic. π
β οΈ BESTIE LISTEN. You should always test the modified.uifiles produced bygtk-builder-toolbefore using them in production. no cap. always. fr fr. π
π COMMANDS π
here's what she can actually do β the following commands are understood:
validateβ Validates the.uifile and reports errors to stderr. she's the vibe check. if something's off, she WILL tell you, and she tells stderr, not stdout. π©·simplifyβ Simplifies the.uifile by removing properties that are set to their default values, then writes the resulting XML to stdout, or back to the input file. glow-down for the sake of cleanliness, we love a decluttered queen. π§Ήβ¨enumerateβ Lists all the named objects that are created in the.uifile. roll call!! everybody say present ππ«Άpreviewβ Preview the.uifile. This command accepts options to specify the ID of an object and a.cssfile to use. it's the "show me" of the group chat. ππ¨
π SIMPLIFY OPTIONS π
the simplify command accepts the following options:
--replaceβ Write the content back to the.uifile instead of stdout. β οΈ yes she will actually overwrite your file. no undo button. proceed with main character confidence but maybe back it up first. π
π PREVIEW OPTIONS π
the preview command accepts the following options:
--id=IDβ The ID of the object to preview. If not specified,<purple>gtk-builder-tool</purple>will choose a suitable object on its own. she's got taste, she'll pick a good one. π--css=FILEβ Load style information from the given.cssfile. dress her up!! ππ
lowkey the whole tool is just: point it at a .ui file, pick a command, and let her cook. highkey slay. π₯
and that's the page, bestie!! this lil doc came to you from GTK+ β the source and version right there in the footer, and the manual page name is GTK-BUILDER-TOOL(1), the one and only. πβ¨ go forth and validate your .ui files before shipping them, i'm begging. mwah. π«ΆπΈ
π¦ where this page comes from
- fedora 43: gtk3-devel 3.24.52-1.fc43 Β· LGPL-2.0-or-later
- fedora 43: gtk3-devel 3.24.52-1.fc43 Β· LGPL-2.0-or-later
- fedora 44: gtk3-devel 3.24.52-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: gtk3-devel 3.24.52-1.fc44 Β· LGPL-2.0-or-later
- ubuntu resolute: libgtk-3-bin 3.24.52-0ubuntu1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- ubuntu stonking: libgtk-3-bin 3.24.52-0ubuntu1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms