File: gtk-builder-convert.html

package info (click to toggle)
gtk%2B2.0 2.24.33-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates, trixie-updates
  • size: 124,860 kB
  • sloc: ansic: 574,091; makefile: 5,171; sh: 4,618; xml: 1,193; python: 1,117; perl: 749; awk: 49; cpp: 34
file content (88 lines) | stat: -rw-r--r-- 3,621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gtk-builder-convert: GTK+ 2 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="prev" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache">
<link rel="next" href="glossary.html" title="Glossary">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt05.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gtk-update-icon-cache.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="glossary.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gtk-builder-convert"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">gtk-builder-convert</span></h2>
<p>gtk-builder-convert — Glade file conversion utility</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">gtk-builder-convert</code>  [--skip-windows] [--target-version <em class="replaceable"><code>version</code></em>] [--root <em class="replaceable"><code>name</code></em>] {input} {output}</p></div>
</div>
<div class="refsect1">
<a name="id-1.6.4.4"></a><h2>Description</h2>
<p><span class="command"><strong>gtk-builder-convert</strong></span> converts glade files
into XML files which can be loaded with GtkBuilder.
</p>
<p>
It expects the name of a glade file as the first argument, and writes
its output the file specified as the second argument.
</p>
</div>
<div class="refsect1">
<a name="id-1.6.4.5"></a><h2>Options</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">--skip-windows, </span><span class="term">-w</span></p></td>
<td><p>Convert everything but GtkWindow subclasses.</p></td>
</tr>
<tr>
<td><p><span class="term">--target-version, </span><span class="term">-t</span></p></td>
<td><p>
        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.
      </p></td>
</tr>
<tr>
<td><p><span class="term">--root, </span><span class="term">-r</span></p></td>
<td><p>Convert only the widget named <em class="replaceable"><code>name</code></em> 
       and its children.</p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="id-1.6.4.6"></a><h2>Bugs</h2>
<p>
Toolbars are not handled.
</p>
<p>
Support for accessibility is not yet implemented.
</p>
<p>
The script requires a python interpreter to run.
</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>