140 lines
2.6 KiB
HTML
140 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GTK-BUILDER-TOOL</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GTK-BUILDER-TOOL</H1>
|
|
Section: User Commands (1)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
gtk-builder-tool - GtkBuilder file utility
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>gtk-builder-tool</B> [<I>COMMAND</I>] [<I>OPTION</I>...] <I>FILE</I>
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>gtk-builder-tool</B>
|
|
<DD>can perform various operations on GtkBuilder .ui files.
|
|
<P>
|
|
|
|
You should always test the modified .ui files produced by gtk-builder-tool before using them in production.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>COMMANDS</H2>
|
|
|
|
<P>
|
|
|
|
The following commands are understood:
|
|
<P>
|
|
|
|
<B>validate</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Validates the .ui file and report errors to stderr.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>simplify</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
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.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>enumerate</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Lists all the named objects that are created in the .ui file.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>preview</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Preview the .ui file. This command accepts options to specify the ID of an object and a .css file to use.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SIMPLIFY OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
The
|
|
<B>simplify</B>
|
|
command accepts the following options:
|
|
<P>
|
|
|
|
<B>--replace</B>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Write the content back to the .ui file instead of stdout.
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>PREVIEW OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
The
|
|
<B>preview</B>
|
|
command accepts the following options:
|
|
<P>
|
|
|
|
<B>--id=</B><B>ID</B>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
The ID of the object to preview. If not specified, gtk-builder-tool will choose a suitable object on its own.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>--css=</B><B>FILE</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
Load style information from the given .css file.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">COMMANDS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">SIMPLIFY OPTIONS</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">PREVIEW OPTIONS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|