Files
gimp/devel-docs/libgimp/html/GimpProcBrowserDialog.html
2010-08-11 01:23:08 -04:00

316 lines
13 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpProcBrowserDialog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
<link rel="prev" href="libgimp-gimppatternmenu.html" title="gimppatternmenu">
<link rel="next" href="libgimp-gimpprocview.html" title="gimpprocview">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
<link rel="index" href="libgimp-index.html" title="Index">
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
</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="libgimp-gimppatternmenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpui.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">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpprocview.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583598" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2740169" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2602344" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2740115" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2740141" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpProcBrowserDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583598"></a><span class="refentrytitle">GimpProcBrowserDialog</span>
</h2>
<p>GimpProcBrowserDialog</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpProcBrowserDialog.html#GimpProcBrowserDialog-struct">GimpProcBrowserDialog</a>;
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpProcBrowserDialog.html#gimp-proc-browser-dialog-new">gimp_proc_browser_dialog_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../libgimpwidgets/libgimpwidgets-GimpHelpUI.html#GimpHelpFunc"
>GimpHelpFunc</a> help_func,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpProcBrowserDialog.html#gimp-proc-browser-dialog-get-selected">gimp_proc_browser_dialog_get_selected</a>
(<a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog">GimpProcBrowserDialog</a> *dialog);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2602344"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="../gtk/GtkWindow.html"
>GtkWindow</a>
+----<a
href="../gtk/GtkDialog.html"
>GtkDialog</a>
+----<a
href="../libgimpwidgets/GimpDialog.html"
>GimpDialog</a>
+----GimpProcBrowserDialog
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2740115"></a><h2>Implemented Interfaces</h2>
<p>
GimpProcBrowserDialog implements
AtkImplementorIface and GtkBuildable.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2740141"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GimpProcBrowserDialog.html#GimpProcBrowserDialog-row-activated">row-activated</a>" : Run Last
"<a class="link" href="GimpProcBrowserDialog.html#GimpProcBrowserDialog-selection-changed">selection-changed</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2740169"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2740185"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2734899"></a><h3>
<a name="GimpProcBrowserDialog-struct"></a>GimpProcBrowserDialog</h3>
<a class="indexterm" name="id2734909"></a><pre class="programlisting">typedef struct _GimpProcBrowserDialog GimpProcBrowserDialog;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2734925"></a><h3>
<a name="gimp-proc-browser-dialog-new"></a>gimp_proc_browser_dialog_new ()</h3>
<a class="indexterm" name="id2734938"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_proc_browser_dialog_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../libgimpwidgets/libgimpwidgets-GimpHelpUI.html#GimpHelpFunc"
>GimpHelpFunc</a> help_func,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);</pre>
<p>
Create a new <a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog"><span class="type">GimpProcBrowserDialog</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></p></td>
<td> The dialog's title.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>role</code></em>&#160;:</span></p></td>
<td> The dialog's role, see <a
href="../gtk/GtkWindow.html#gtk-window-set-role"
><code class="function">gtk_window_set_role()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>help_func</code></em>&#160;:</span></p></td>
<td> The function which will be called if the user presses "F1".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</span></p></td>
<td> The help_id which will be passed to <em class="parameter"><code>help_func</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
<td> A <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list destribing the action_area buttons.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly created <a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog"><span class="type">GimpProcBrowserDialog</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2741456"></a><h3>
<a name="gimp-proc-browser-dialog-get-selected"></a>gimp_proc_browser_dialog_get_selected ()</h3>
<a class="indexterm" name="id2741469"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_proc_browser_dialog_get_selected
(<a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog">GimpProcBrowserDialog</a> *dialog);</pre>
<p>
Retrieves the name of the currently selected procedure.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog</code></em>&#160;:</span></p></td>
<td> a <a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog"><span class="type">GimpProcBrowserDialog</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The name of the selected procedure of <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if no
procedure is selected.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2741555"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2741565"></a><h3>
<a name="GimpProcBrowserDialog-row-activated"></a>The "row-activated" signal</h3>
<a class="indexterm" name="id2741572"></a><pre class="programlisting">void user_function (<a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog">GimpProcBrowserDialog</a> *dialog,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
Emitted when one of the rows in the contained <a
href="../gtk/GtkTreeView.html"
><span class="type">GtkTreeView</span></a> is activated.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog</code></em>&#160;:</span></p></td>
<td> the object that received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2738789"></a><h3>
<a name="GimpProcBrowserDialog-selection-changed"></a>The "selection-changed" signal</h3>
<a class="indexterm" name="id2738798"></a><pre class="programlisting">void user_function (<a class="link" href="GimpProcBrowserDialog.html" title="GimpProcBrowserDialog">GimpProcBrowserDialog</a> *dialog,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
Emitted when the selection in the contained <a
href="../gtk/GtkTreeView.html"
><span class="type">GtkTreeView</span></a> changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog</code></em>&#160;:</span></p></td>
<td> the object that received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>