1GTK4-BUILDER-TOOL(1)             User Commands            GTK4-BUILDER-TOOL(1)
2
3
4

NAME

6       gtk4-builder-tool - GtkBuilder file utility
7

SYNOPSIS

9       gtk4-builder-tool [COMMAND] [OPTION...] FILE
10

DESCRIPTION

12       gtk4-builder-tool can perform various operations on GtkBuilder .ui
13       files.
14
15       You should always test the modified .ui files produced by
16       gtk4-builder-tool before using them in production.
17

COMMANDS

19       The following commands are understood:
20
21       validate
22           Validates the .ui file and report errors to stderr.
23
24       simplify
25           Simplifies the .ui file by removing properties that are set to
26           their default values and write the resulting XML to stdout, or back
27           to the input file.
28
29       enumerate
30           Lists all the named objects that are created in the .ui file.
31
32       preview
33           Preview the .ui file. This command accepts options to specify the
34           ID of an object and a .css file to use.
35

SIMPLIFY OPTIONS

37       The simplify command accepts the following options:
38
39       --replace
40           Write the content back to the .ui file instead of stdout.
41
42       --3to4
43           Transform a GTK 3 ui file to GTK 4
44

PREVIEW OPTIONS

46       The preview command accepts the following options:
47
48       --id=ID
49           The ID of the object to preview. If not specified,
50           gtk4-builder-tool will choose a suitable object on its own.
51
52       --css=FILE
53           Load style information from the given .css file.
54
55
56
57GTK                                                       GTK4-BUILDER-TOOL(1)
Impressum