Imported Upstream version 2.3.13
This commit is contained in:
@ -18,10 +18,10 @@
|
||||
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
||||
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
|
||||
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
<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">
|
||||
@ -32,16 +32,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimpexport.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="#id2577570" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2552379" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2699938" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2700316" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpui"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2577570"></a><span class="refentrytitle">gimpui</span>
|
||||
<a name="id2552379"></a><span class="refentrytitle">gimpui</span>
|
||||
</h2>
|
||||
<p>gimpui — Common user interface functions. This header includes all other GIMP User
|
||||
Interface Library headers.</p>
|
||||
@ -65,7 +65,7 @@ void <a href="libgimp-gimpui.html#gimp-window-set-transient-for-display">
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2699938"></a><h2>Description</h2>
|
||||
<a name="id2700316"></a><h2>Description</h2>
|
||||
<p>
|
||||
Common user interface functions. This header includes all other GIMP User
|
||||
Interface Library headers.
|
||||
@ -73,11 +73,11 @@ Interface Library headers.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2699956"></a><h2>Details</h2>
|
||||
<a name="id2700333"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2699966"></a><h3>
|
||||
<a name="id2700344"></a><h3>
|
||||
<a name="gimp-ui-init"></a>gimp_ui_init ()</h3>
|
||||
<a class="indexterm" name="id2699977"></a><pre class="programlisting">void gimp_ui_init (const gchar *prog_name,
|
||||
<a class="indexterm" name="id2700355"></a><pre class="programlisting">void gimp_ui_init (const gchar *prog_name,
|
||||
gboolean preview);</pre>
|
||||
<p>
|
||||
This function initializes GTK+ with <code class="function">gtk_init()</code> and initializes GDK's
|
||||
@ -94,16 +94,14 @@ gimprc variables <em class="parameter"><code>min_colors</code></em> and <em clas
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>prog_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>prog_name</code></em> :</span></td>
|
||||
<td> The name of the plug-in which will be passed as argv[0] to
|
||||
<code class="function">gtk_init()</code>. It's a convention to use the name of the
|
||||
executable and _not_ the PDB procedure name or something.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>preview</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>preview</code></em> :</span></td>
|
||||
<td> This parameter is unused and exists for historical
|
||||
reasons only.
|
||||
</td>
|
||||
@ -113,9 +111,9 @@ gimprc variables <em class="parameter"><code>min_colors</code></em> and <em clas
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2698214"></a><h3>
|
||||
<a name="id2699477"></a><h3>
|
||||
<a name="gimp-ui-get-display-window"></a>gimp_ui_get_display_window ()</h3>
|
||||
<a class="indexterm" name="id2698227"></a><pre class="programlisting">GdkWindow* gimp_ui_get_display_window (guint32 gdisp_ID);</pre>
|
||||
<a class="indexterm" name="id2699490"></a><pre class="programlisting">GdkWindow* gimp_ui_get_display_window (guint32 gdisp_ID);</pre>
|
||||
<p>
|
||||
Returns the <span class="type">GdkWindow</span> of a display window. The purpose is to allow
|
||||
to make plug-in dialogs transient to the image display as explained
|
||||
@ -131,14 +129,12 @@ You shouldn't have to call this function directly. Use
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gdisp_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gdisp_ID</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A reference to a <span class="type">GdkWindow</span> or <code class="literal">NULL</code>. You should
|
||||
unref the window using <code class="function">g_object_unref()</code> as soon as
|
||||
you don't need it any longer.
|
||||
@ -152,9 +148,9 @@ You shouldn't have to call this function directly. Use
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2701008"></a><h3>
|
||||
<a name="id2702854"></a><h3>
|
||||
<a name="gimp-ui-get-progress-window"></a>gimp_ui_get_progress_window ()</h3>
|
||||
<a class="indexterm" name="id2701022"></a><pre class="programlisting">GdkWindow* gimp_ui_get_progress_window (void);</pre>
|
||||
<a class="indexterm" name="id2702866"></a><pre class="programlisting">GdkWindow* gimp_ui_get_progress_window (void);</pre>
|
||||
<p>
|
||||
Returns the <span class="type">GdkWindow</span> of the window this plug-in's progress bar is
|
||||
shown in. Use it to make plug-in dialogs transient to this window
|
||||
@ -169,8 +165,7 @@ You shouldn't have to call this function directly. Use
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A reference to a <span class="type">GdkWindow</span> or <code class="literal">NULL</code>. You should
|
||||
unref the window using <code class="function">g_object_unref()</code> as soon as
|
||||
you don't need it any longer.
|
||||
@ -183,9 +178,9 @@ You shouldn't have to call this function directly. Use
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2701122"></a><h3>
|
||||
<a name="id2702966"></a><h3>
|
||||
<a name="gimp-window-set-transient"></a>gimp_window_set_transient ()</h3>
|
||||
<a class="indexterm" name="id2701135"></a><pre class="programlisting">void gimp_window_set_transient (GtkWindow *window);</pre>
|
||||
<a class="indexterm" name="id2702980"></a><pre class="programlisting">void gimp_window_set_transient (GtkWindow *window);</pre>
|
||||
<p>
|
||||
Indicates to the window manager that <em class="parameter"><code>window</code></em> is a transient dialog
|
||||
associated with the GIMP window that the plug-in has been
|
||||
@ -196,8 +191,7 @@ started from. See also <a href="libgimp-gimpui.html#gimp-window-set-transient-fo
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>window</code></em> :</span></td>
|
||||
<td> the <span class="type">GtkWindow</span> that should become transient
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -207,9 +201,9 @@ started from. See also <a href="libgimp-gimpui.html#gimp-window-set-transient-fo
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2695801"></a><h3>
|
||||
<a name="id2703055"></a><h3>
|
||||
<a name="gimp-window-set-transient-for-display"></a>gimp_window_set_transient_for_display ()</h3>
|
||||
<a class="indexterm" name="id2695814"></a><pre class="programlisting">void gimp_window_set_transient_for_display
|
||||
<a class="indexterm" name="id2703070"></a><pre class="programlisting">void gimp_window_set_transient_for_display
|
||||
(GtkWindow *window,
|
||||
guint32 gdisp_ID);</pre>
|
||||
<p>
|
||||
@ -227,14 +221,12 @@ Most of the time you will want to use the convenience function
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>window</code></em> :</span></td>
|
||||
<td> the <span class="type">GtkWindow</span> that should become transient
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gdisp_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gdisp_ID</code></em> :</span></td>
|
||||
<td> display ID of the image window that should become the parent
|
||||
</td>
|
||||
</tr>
|
||||
@ -245,7 +237,7 @@ Most of the time you will want to use the convenience function
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2695926"></a><h2>See Also</h2>
|
||||
<a name="id2698156"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<code class="function">gtk_init()</code>, <code class="function">gdk_set_use_xshm()</code>, <code class="function">gdk_rgb_set_min_colors()</code>,
|
||||
<code class="function">gdk_rgb_set_install()</code>, <code class="function">gdk_rgb_get_visual()</code>, <code class="function">gdk_rgb_get_cmap()</code>,
|
||||
|
Reference in New Issue
Block a user