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
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="GimpFrame">
<refmeta>
<refentrytitle id="top_of_page">GimpFrame</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpFrame</refname>
<refpurpose>A widget providing a HIG-compliant subclass of <link linkend="GtkFrame"><type>GtkFrame</type></link>.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
<link linkend="GimpFrame-struct">GimpFrame</link>;
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-frame-new">gimp_frame_new</link> (const <link linkend="gchar">gchar</link> *label);
</synopsis>
</refsynopsisdiv>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
+----<link linkend="GtkObject">GtkObject</link>
+----<link linkend="GtkWidget">GtkWidget</link>
+----<link linkend="GtkContainer">GtkContainer</link>
+----<link linkend="GtkBin">GtkBin</link>
+----<link linkend="GtkFrame">GtkFrame</link>
+----GimpFrame
</synopsis>
</refsect1>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpFrame implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
</refsect1>
<refsect1 id="style_properties">
<title id="style_properties.title">Style Properties</title>
<synopsis>
"<link linkend="GimpFrame--label-bold">label-bold</link>" <link linkend="gboolean">gboolean</link> : Read
"<link linkend="GimpFrame--label-spacing">label-spacing</link>" <link linkend="gint">gint</link> : Read
</synopsis>
</refsect1>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A widget providing a HIG-compliant subclass of <link linkend="GtkFrame"><type>GtkFrame</type></link>.
</para>
</refsect1>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpFrame-struct" role="struct"/>GimpFrame</title>
<indexterm><primary>GimpFrame</primary></indexterm><programlisting>typedef struct _GimpFrame GimpFrame;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-frame-new" role="function" condition="since:GIMP 2.2"/>gimp_frame_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_frame_new (const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GimpFrame"><type>GimpFrame</type></link> widget. A <link linkend="GimpFrame"><type>GimpFrame</type></link> is a HIG-compliant
variant of <link linkend="GtkFrame"><type>GtkFrame</type></link>. 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/).</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>label</parameter> :</term>
<listitem><simpara> text to set as the frame's title label (or <link linkend="NULL:CAPS"><literal>NULL</literal></link> for no title)
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a new <link linkend="GimpFrame"><type>GimpFrame</type></link> widget
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
</refsect1>
<refsect1 id="style_properties_details">
<title id="style_properties_details.title">Style Property Details</title>
<refsect2><title><anchor id="GimpFrame--label-bold"/>The "<literal>label-bold</literal>" style property</title>
<indexterm><primary>GimpFrame:label-bold</primary></indexterm><programlisting> "label-bold" <link linkend="gboolean">gboolean</link> : Read</programlisting>
<para></para><para>Default value: TRUE</para>
</refsect2>
<refsect2><title><anchor id="GimpFrame--label-spacing"/>The "<literal>label-spacing</literal>" style property</title>
<indexterm><primary>GimpFrame:label-spacing</primary></indexterm><programlisting> "label-spacing" <link linkend="gint">gint</link> : Read</programlisting>
<para></para><para>Allowed values: >= 0</para>
<para>Default value: 6</para>
</refsect2>
</refsect1>
</refentry>
|