GTK-BUILDER-CONVER(1)

πŸ’… GTK-BUILDER-CONVER(1) β€” like, the manual page bestie ✨

okay so real talk, this is the gtk-builder-convert page from the [FIXME: manual] section, and it's genuinely one of those little utilities that eats. let me put you on 🫢


✨ NAME ✨

gtk-builder-convert β€” the Glade file conversion utility, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

gtk-builder-convert [--skip-windows] [--target-version version]
                    [--root name] {input} {output}

🌸 DESCRIPTION 🌸

so what does it do? gtk-builder-convert converts glade files into XML files which can be loaded with GtkBuilder. it's giving glow-up, honestly β€” your glade file walks in, an XML file walks out πŸ’–

it expects the name of a glade file as the first argument, and writes its output the file specified as the second argument. so like, {input} β†’ {output}, positions matter, don't get it twisted ✨


πŸŽ€ OPTIONS πŸŽ€

  • --skip-windows, -w β€” converts everything but GtkWindow subclasses. like, we're doing the whole fit except the windows, and that's the whole point πŸ™ˆ
  • --target-version, -t β€” some widgets and properties are different between GTK+ versions 2.0 and 3.0, so this option allows to set the desired GTK+ target version. pick your era bestie πŸ‘‘
  • --root, -r β€” converts only the widget named name and its children. main character energy only, everyone else stays home πŸ’…

πŸ’€ BUGS πŸ’€

the messy parts, and i'm gonna be so fr fr with you:

  • Toolbars are not handled. 😭 like, actual not handled.
  • Support for accessibility is not yet implemented. not yet, bestie, but we're manifesting it 🌈
  • The script requires a python interpreter to run. yes, python. it needs a python interpreter to run, so don't come at it with nothing installed ⭐

lowkey reminder: those bugs are straight from the page, i'm not making anything up. toolbars = not handled. accessibility = not yet implemented. python interpreter = required. periodt 🫢

source/version: [FIXME: source] Β· date: 07/02/2025 β€” that's the whole sign-off, written by the manpage gremlins themselves, and honestly? iconic. bye bestie, go convert some glade files πŸ§šπŸ’œ