Files
gimp/devel-docs/libgimpwidgets/html/GimpFrame.html
2010-08-11 01:18:40 -04:00

179 lines
7.1 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpFrame</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpFileEntry.html" title="GimpFileEntry">
<link rel="next" href="GimpIntComboBox.html" title="GimpIntComboBox">
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<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">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="GimpFileEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpwidgets-widgets.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 Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpIntComboBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" lang="en">
<a name="GimpFrame"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpFrame</span></h2>
<p>GimpFrame &#8212; A widget providing a HIG-compliant subclass of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
</td>
<td valign="top" align="right"><img src="gimp-frame.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpFrame.html#GimpFrame-struct">GimpFrame</a>;
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpFrame.html#gimp-frame-new">gimp_frame_new</a> (const gchar *label);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2546379"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----<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/GtkFrame.html"
>GtkFrame</a>
+----GimpFrame
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2547743"></a><h2>Implemented Interfaces</h2>
<p>
GimpFrame implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2547760"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GimpFrame.html#GimpFrame--label-bold">label-bold</a>" gboolean : Read
"<a href="GimpFrame.html#GimpFrame--label-spacing">label-spacing</a>" gint : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2547797"></a><h2>Description</h2>
<p>
A widget providing a HIG-compliant subclass of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2547816"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2547822"></a><h3>
<a name="GimpFrame-struct"></a>GimpFrame</h3>
<a class="indexterm" name="id2547832"></a><pre class="programlisting">typedef struct _GimpFrame GimpFrame;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565756"></a><h3>
<a name="gimp-frame-new"></a>gimp_frame_new ()</h3>
<a class="indexterm" name="id2565766"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_frame_new (const gchar *label);</pre>
<p>
Creates a <a href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> widget. A <a href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> is a HIG-compliant
variant of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>. It doesn't render a frame at all but
otherwise behaves like a frame. The frame's title is rendered in
bold and the frame content is indented four spaces as suggested by
the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
<td> text to set as the frame's title label (or <code class="literal">NULL</code> for no title)
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> widget
</td>
</tr>
</tbody>
</table></div>
<p>Since GIMP 2.2
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2565870"></a><h2>Style Properties</h2>
<div class="refsect2" lang="en">
<a name="id2565876"></a><h3>
<a name="GimpFrame--label-bold"></a>The "<code class="literal">label-bold</code>" style property</h3>
<pre class="programlisting"> "label-bold" gboolean : Read</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2568239"></a><h3>
<a name="GimpFrame--label-spacing"></a>The "<code class="literal">label-spacing</code>" style property</h3>
<pre class="programlisting"> "label-spacing" gint : Read</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 6</p>
</div>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"><a accesskey="p" href="GimpFileEntry.html"><b>&lt;&lt;&#160;GimpFileEntry</b></a></td>
<td align="right"><a accesskey="n" href="GimpIntComboBox.html"><b>GimpIntComboBox&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>