/usr/share/gtk-doc/html/buzztard-edit/buzztard-edit-btedit.html is in libbuzztard-dev 0.6.0-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>btedit</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Buzztard Bt-Edit Reference Manual">
<link rel="up" href="ch01.html" title="Main Class Reference">
<link rel="prev" href="ch01.html" title="Main Class Reference">
<link rel="next" href="BtAboutDialog.html" title="BtAboutDialog">
<meta name="generator" content="GTK-Doc V1.19 (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="2">
<tr valign="middle">
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Buzztard Bt-Edit Reference Manual</th>
<td><a accesskey="n" href="BtAboutDialog.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#buzztard-edit-btedit.synopsis" class="shortcut">Top</a>
|
<a href="#buzztard-edit-btedit.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="buzztard-edit-btedit"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="buzztard-edit-btedit.top_of_page"></a>btedit</span></h2>
<p>btedit — buzztard graphical editor application</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="buzztard-edit-btedit.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include "bt-edit.h"
<span class="returnvalue">void</span> <a class="link" href="buzztard-edit-btedit.html#add-pixmap-directory" title="add_pixmap_directory ()">add_pixmap_directory</a> (<em class="parameter"><code>const <span class="type">gchar</span> *directory</code></em>);
<span class="returnvalue">GtkWidget</span> * <a class="link" href="buzztard-edit-btedit.html#gtk-image-new-from-filename" title="gtk_image_new_from_filename ()">gtk_image_new_from_filename</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
<span class="returnvalue">GdkPixbuf</span> * <a class="link" href="buzztard-edit-btedit.html#gdk-pixbuf-new-from-filename" title="gdk_pixbuf_new_from_filename ()">gdk_pixbuf_new_from_filename</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
<span class="returnvalue">GdkPixbuf</span> * <a class="link" href="buzztard-edit-btedit.html#gdk-pixbuf-new-from-theme" title="gdk_pixbuf_new_from_theme ()">gdk_pixbuf_new_from_theme</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code><span class="type">gint</span> size</code></em>);
<span class="returnvalue">GtkToolbarStyle</span> <a class="link" href="buzztard-edit-btedit.html#gtk-toolbar-get-style-from-string" title="gtk_toolbar_get_style_from_string ()">gtk_toolbar_get_style_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *style_name</code></em>);
<span class="returnvalue">GtkTargetEntry</span> * <a class="link" href="buzztard-edit-btedit.html#gtk-target-table-make" title="gtk_target_table_make ()">gtk_target_table_make</a> (<em class="parameter"><code><span class="type">GdkAtom</span> format_atom</code></em>,
<em class="parameter"><code><span class="type">gint</span> *n_targets</code></em>);
<span class="returnvalue">void</span> <a class="link" href="buzztard-edit-btedit.html#gtk-show-uri-simple" title="gtk_show_uri_simple ()">gtk_show_uri_simple</a> (<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
#define <a class="link" href="buzztard-edit-btedit.html#GNOME-CANVAS-BROKEN-PROPERTIES:CAPS" title="GNOME_CANVAS_BROKEN_PROPERTIES">GNOME_CANVAS_BROKEN_PROPERTIES</a>
</pre>
</div>
<div class="refsect1">
<a name="buzztard-edit-btedit.description"></a><h2>Description</h2>
<p>
Implements the body of the buzztard GUI editor.
</p>
<p>
You can try to run the uninstalled program via
</p>
<div class="informalexample"><pre class="programlisting">
libtool --mode=execute buzztard-edit
</pre></div>
<p>
to enable debug output add:
</p>
<div class="informalexample"><pre class="programlisting">
--gst-debug="*:2,bt-*:3" for not-so-much-logdata or
--gst-debug="*:2,bt-*:4" for a-lot-logdata
</pre></div>
<p>
</p>
<p>
Example songs can be found in <code class="filename">./test/songs/</code>.
</p>
</div>
<div class="refsect1">
<a name="buzztard-edit-btedit.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="add-pixmap-directory"></a><h3>add_pixmap_directory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> add_pixmap_directory (<em class="parameter"><code>const <span class="type">gchar</span> *directory</code></em>);</pre>
<p>
Use this function to set the directory containing installed pixmaps.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>directory</code></em> :</span></p></td>
<td>register another directory to search for pixmaps</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-image-new-from-filename"></a><h3>gtk_image_new_from_filename ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gtk_image_new_from_filename (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
<p>
Creates a new pixmap image widget for the image file.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>the filename of the image file</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new pixmap widget</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdk-pixbuf-new-from-filename"></a><h3>gdk_pixbuf_new_from_filename ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * gdk_pixbuf_new_from_filename (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
<p>
Creates a new pixbuf image for the image file.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>the filename of the image file</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new pixbuf, <code class="function">g_object_unref()</code> when done.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdk-pixbuf-new-from-theme"></a><h3>gdk_pixbuf_new_from_theme ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * gdk_pixbuf_new_from_theme (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
<p>
Creates a new pixbuf image from the icon <em class="parameter"><code>name</code></em> and <em class="parameter"><code>size</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the icon name</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>the pixel size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new pixbuf, <code class="function">g_object_unref()</code> when done.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-toolbar-get-style-from-string"></a><h3>gtk_toolbar_get_style_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkToolbarStyle</span> gtk_toolbar_get_style_from_string (<em class="parameter"><code>const <span class="type">gchar</span> *style_name</code></em>);</pre>
<p>
toolbar gconf to style conversion
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style_name</code></em> :</span></p></td>
<td>the style name returned from gconf settings</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the style id</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-target-table-make"></a><h3>gtk_target_table_make ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkTargetEntry</span> * gtk_target_table_make (<em class="parameter"><code><span class="type">GdkAtom</span> format_atom</code></em>,
<em class="parameter"><code><span class="type">gint</span> *n_targets</code></em>);</pre>
<p>
Generate the target table for pasting to clipboard. Use
gtk_target_table_free (targets, n_targets);
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>format_atom</code></em> :</span></p></td>
<td>format atom for the target list</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
<td>out variable for the size of the table</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the table and the size in the out variable <em class="parameter"><code>n_targets</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-show-uri-simple"></a><h3>gtk_show_uri_simple ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_show_uri_simple (<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
<p>
Show the given <em class="parameter"><code>uri</code></em>. Uses same screen as <em class="parameter"><code>widget</code></em> (default if <em class="parameter"><code>widget</code></em> is NULL).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>widget that triggered the action</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>the uri</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-CANVAS-BROKEN-PROPERTIES:CAPS"></a><h3>GNOME_CANVAS_BROKEN_PROPERTIES</h3>
<pre class="programlisting">#define GNOME_CANVAS_BROKEN_PROPERTIES 1
</pre>
<p>
gnome canvas has a broken design,
it does not allow derived classes to have G_PARAM_CONSTRUCT_ONLY properties
</p>
</div>
</div>
<div class="refsect1">
<a name="buzztard-edit-btedit.see-also"></a><h2>See Also</h2>
<a class="link" href="BtEditApplication.html" title="BtEditApplication"><span class="type">BtEditApplication</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|