gtk4-builder-toolGTKDeveloperMatthiasClasengtk4-builder-tool1User Commandsgtk4-builder-toolGtkBuilder file utilitygtk4-builder-toolCOMMANDOPTIONFILEDescriptiongtk4-builder-tool can perform various operations
on GtkBuilder .ui files.
You should always test the modified .ui files produced by gtk4-builder-tool
before using them in production.
CommandsThe following commands are understood:Validates the .ui file and report errors to stderr.Simplifies the .ui file by removing properties that
are set to their default values and write the resulting XML to stdout,
or back to the input file.Lists all the named objects that are created in the .ui file.Preview the .ui file. This command accepts options
to specify the ID of an object and a .css file to use.Simplify OptionsThe command accepts the following options:Write the content back to the .ui file instead of stdout.Transform a GTK 3 ui file to GTK 4Preview OptionsThe command accepts the following options:The ID of the object to preview. If not specified,
gtk4-builder-tool will choose a suitable object on its own.Load style information from the given .css file.