1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
1 |
<?xml version="1.0" encoding="UTF-8" ?>
|
2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
|
3 |
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
|
4 |
||
5 |
<refentry id="GimpFontSelectButton"> |
|
6 |
<refmeta>
|
|
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
7 |
<refentrytitle role="top_of_page" id="GimpFontSelectButton.top_of_page">GimpFontSelectButton</refentrytitle> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
8 |
<manvolnum>3</manvolnum> |
9 |
<refmiscinfo>LIBGIMP Library</refmiscinfo> |
|
10 |
</refmeta>
|
|
11 |
||
12 |
<refnamediv>
|
|
13 |
<refname>GimpFontSelectButton</refname> |
|
14 |
<refpurpose></refpurpose>
|
|
15 |
</refnamediv>
|
|
16 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
17 |
<refsynopsisdiv id="GimpFontSelectButton.synopsis" role="synopsis"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
18 |
<title role="synopsis.title">Synopsis</title> |
19 |
||
20 |
<synopsis>
|
|
21 |
<link linkend="GimpFontSelectButton-struct">GimpFontSelectButton</link>; |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
22 |
<link linkend="GtkWidget">GtkWidget</link> * <link linkend="gimp-font-select-button-new">gimp_font_select_button_new</link> (const <link linkend="gchar">gchar</link> *title, |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
23 |
const <link linkend="gchar">gchar</link> *font_name); |
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
24 |
const <link linkend="gchar">gchar</link> * <link linkend="gimp-font-select-button-get-font">gimp_font_select_button_get_font</link> (<link linkend="GimpFontSelectButton">GimpFontSelectButton</link> *button); |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
25 |
<link linkend="void">void</link> <link linkend="gimp-font-select-button-set-font">gimp_font_select_button_set_font</link> (<link linkend="GimpFontSelectButton">GimpFontSelectButton</link> *button, |
26 |
const <link linkend="gchar">gchar</link> *font_name); |
|
27 |
</synopsis>
|
|
28 |
</refsynopsisdiv>
|
|
29 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
30 |
<refsect1 id="GimpFontSelectButton.object-hierarchy" role="object_hierarchy"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
31 |
<title role="object_hierarchy.title">Object Hierarchy</title> |
32 |
<synopsis>
|
|
33 |
<link linkend="GObject">GObject</link> |
|
34 |
+----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link> |
|
35 |
+----<link linkend="GtkObject">GtkObject</link> |
|
36 |
+----<link linkend="GtkWidget">GtkWidget</link> |
|
37 |
+----<link linkend="GtkContainer">GtkContainer</link> |
|
38 |
+----<link linkend="GtkBox">GtkBox</link> |
|
39 |
+----<link linkend="GtkHBox">GtkHBox</link> |
|
40 |
+----<link linkend="GimpSelectButton">GimpSelectButton</link> |
|
41 |
+----GimpFontSelectButton |
|
42 |
</synopsis>
|
|
43 |
</refsect1>
|
|
44 |
||
45 |
||
46 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
47 |
<refsect1 id="GimpFontSelectButton.implemented-interfaces" role="impl_interfaces"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
48 |
<title role="impl_interfaces.title">Implemented Interfaces</title> |
49 |
<para>
|
|
50 |
GimpFontSelectButton implements |
|
0.2.2
by Ari Pollak
Import upstream version 2.6.7 |
51 |
<link linkend="GtkBuildable">GtkBuildable</link>, <link linkend="AtkImplementorIface">AtkImplementorIface</link> and <link linkend="GtkOrientable">GtkOrientable</link>.</para> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
52 |
</refsect1>
|
53 |
||
54 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
55 |
<refsect1 id="GimpFontSelectButton.properties" role="properties"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
56 |
<title role="properties.title">Properties</title> |
57 |
<synopsis>
|
|
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
58 |
"<link linkend="GimpFontSelectButton--font-name">font-name</link>" <link linkend="gchar">gchar</link>* : Read / Write |
59 |
"<link linkend="GimpFontSelectButton--title">title</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
60 |
</synopsis>
|
61 |
</refsect1>
|
|
62 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
63 |
<refsect1 id="GimpFontSelectButton.signals" role="signal_proto"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
64 |
<title role="signal_proto.title">Signals</title> |
65 |
<synopsis>
|
|
66 |
"<link linkend="GimpFontSelectButton-font-set">font-set</link>" : Run First |
|
67 |
</synopsis>
|
|
68 |
</refsect1>
|
|
69 |
||
70 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
71 |
<refsect1 id="GimpFontSelectButton.description" role="desc"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
72 |
<title role="desc.title">Description</title> |
73 |
<para>
|
|
74 |
</para>
|
|
75 |
</refsect1>
|
|
76 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
77 |
<refsect1 id="GimpFontSelectButton.details" role="details"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
78 |
<title role="details.title">Details</title> |
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
79 |
<refsect2 id="GimpFontSelectButton-struct" role="struct"> |
80 |
<title>GimpFontSelectButton</title> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
81 |
<indexterm zone="GimpFontSelectButton-struct"><primary sortas="GimpFontSelectButton">GimpFontSelectButton</primary></indexterm><programlisting>typedef struct _GimpFontSelectButton GimpFontSelectButton;</programlisting> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
82 |
<para>
|
83 |
</para></refsect2>
|
|
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
84 |
<refsect2 id="gimp-font-select-button-new" role="function" condition="since:GIMP 2.4"> |
85 |
<title>gimp_font_select_button_new ()</title> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
86 |
<indexterm zone="gimp-font-select-button-new" role="GIMP 2.4"><primary sortas="gimp_font_select_button_new">gimp_font_select_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link> * gimp_font_select_button_new (const <link linkend="gchar">gchar</link> *title, |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
87 |
const <link linkend="gchar">gchar</link> *font_name);</programlisting> |
88 |
<para>
|
|
89 |
Creates a new <link linkend="GtkWidget"><type>GtkWidget</type></link> that completely controls the selection of |
|
90 |
a font. This widget is suitable for placement in a table in a |
|
91 |
plug-in dialog.</para>
|
|
92 |
<para>
|
|
93 |
</para><variablelist role="params"> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
94 |
<varlistentry><term><parameter>title</parameter> :</term> |
95 |
<listitem><simpara> Title of the dialog to use or <link linkend="NULL--CAPS"><literal>NULL</literal></link> to use the default title. |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
96 |
</simpara></listitem></varlistentry>
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
97 |
<varlistentry><term><parameter>font_name</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
98 |
<listitem><simpara> Initial font name.
|
99 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
100 |
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A <link linkend="GtkWidget"><type>GtkWidget</type></link> that you can use in your UI. |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
101 |
|
102 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
103 |
</variablelist><para role="since">Since GIMP 2.4</para></refsect2> |
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
104 |
<refsect2 id="gimp-font-select-button-get-font" role="function" condition="since:GIMP 2.4"> |
105 |
<title>gimp_font_select_button_get_font ()</title> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
106 |
<indexterm zone="gimp-font-select-button-get-font" role="GIMP 2.4"><primary sortas="gimp_font_select_button_get_font">gimp_font_select_button_get_font</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> * gimp_font_select_button_get_font (<link linkend="GimpFontSelectButton">GimpFontSelectButton</link> *button);</programlisting> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
107 |
<para>
|
108 |
Retrieves the name of currently selected font.</para>
|
|
109 |
<para>
|
|
110 |
</para><variablelist role="params"> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
111 |
<varlistentry><term><parameter>button</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
112 |
<listitem><simpara> A <link linkend="GimpFontSelectButton"><type>GimpFontSelectButton</type></link> |
113 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
114 |
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> an internal copy of the font name which must not be freed. |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
115 |
|
116 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
117 |
</variablelist><para role="since">Since GIMP 2.4</para></refsect2> |
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
118 |
<refsect2 id="gimp-font-select-button-set-font" role="function" condition="since:GIMP 2.4"> |
119 |
<title>gimp_font_select_button_set_font ()</title> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
120 |
<indexterm zone="gimp-font-select-button-set-font" role="GIMP 2.4"><primary sortas="gimp_font_select_button_set_font">gimp_font_select_button_set_font</primary></indexterm><programlisting><link linkend="void">void</link> gimp_font_select_button_set_font (<link linkend="GimpFontSelectButton">GimpFontSelectButton</link> *button, |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
121 |
const <link linkend="gchar">gchar</link> *font_name);</programlisting> |
122 |
<para>
|
|
123 |
Sets the current font for the font select button.</para>
|
|
124 |
<para>
|
|
125 |
</para><variablelist role="params"> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
126 |
<varlistentry><term><parameter>button</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
127 |
<listitem><simpara> A <link linkend="GimpFontSelectButton"><type>GimpFontSelectButton</type></link> |
128 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
129 |
<varlistentry><term><parameter>font_name</parameter> :</term> |
130 |
<listitem><simpara> Font name to set; <link linkend="NULL--CAPS"><literal>NULL</literal></link> means no change. |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
131 |
</simpara></listitem></varlistentry>
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
132 |
</variablelist><para role="since">Since GIMP 2.4</para></refsect2> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
133 |
|
134 |
</refsect1>
|
|
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
135 |
<refsect1 id="GimpFontSelectButton.property-details" role="property_details"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
136 |
<title role="property_details.title">Property Details</title> |
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
137 |
<refsect2 id="GimpFontSelectButton--font-name" role="property"><title>The <literal>"font-name"</literal> property</title> |
138 |
<indexterm zone="GimpFontSelectButton--font-name" role="GIMP 2.4"><primary sortas="GimpFontSelectButton:font-name">GimpFontSelectButton:font-name</primary></indexterm><programlisting> "font-name" <link linkend="gchar">gchar</link>* : Read / Write</programlisting> |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
139 |
<para>
|
140 |
The name of the currently selected font.</para>
|
|
141 |
<para>
|
|
142 |
</para><para>Default value: "Sans"</para> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
143 |
<para>Since GIMP 2.4</para> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
144 |
</refsect2>
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
145 |
<refsect2 id="GimpFontSelectButton--title" role="property"><title>The <literal>"title"</literal> property</title> |
146 |
<indexterm zone="GimpFontSelectButton--title" role="GIMP 2.4"><primary sortas="GimpFontSelectButton:title">GimpFontSelectButton:title</primary></indexterm><programlisting> "title" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only</programlisting> |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
147 |
<para>
|
148 |
The title to be used for the font selection popup dialog.</para>
|
|
149 |
<para>
|
|
150 |
</para><para>Default value: "Font Selection"</para> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
151 |
<para>Since GIMP 2.4</para> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
152 |
</refsect2>
|
153 |
</refsect1>
|
|
154 |
||
1.1.13
by Bryce Harrington
Import upstream version 2.4.6 |
155 |
<refsect1 id="GimpFontSelectButton.signal-details" role="signals"> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
156 |
<title role="signals.title">Signal Details</title> |
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
157 |
<refsect2 id="GimpFontSelectButton-font-set" role="signal"><title>The <literal>"font-set"</literal> signal</title> |
158 |
<indexterm zone="GimpFontSelectButton-font-set" role="GIMP 2.4"><primary sortas="GimpFontSelectButton::font-set">GimpFontSelectButton::font-set</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpFontSelectButton">GimpFontSelectButton</link> *widget, |
|
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
159 |
<link linkend="gchar">gchar</link> *font_name, |
160 |
<link linkend="gboolean">gboolean</link> dialog_closing, |
|
161 |
<link linkend="gpointer">gpointer</link> user_data) : Run First</programlisting> |
|
162 |
<para>
|
|
163 |
The ::font-set signal is emitted when the user selects a font.</para>
|
|
164 |
<para>
|
|
165 |
</para><variablelist role="params"> |
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
166 |
<varlistentry><term><parameter>widget</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
167 |
<listitem><simpara> the object which received the signal.
|
168 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
169 |
<varlistentry><term><parameter>font_name</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
170 |
<listitem><simpara> the name of the currently selected font.
|
171 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
172 |
<varlistentry><term><parameter>dialog_closing</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
173 |
<listitem><simpara> whether the dialog was closed or not.
|
174 |
</simpara></listitem></varlistentry>
|
|
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
175 |
<varlistentry><term><parameter>user_data</parameter> :</term> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
176 |
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry> |
1.1.20
by Pedro Fragoso
Import upstream version 2.6.6 |
177 |
</variablelist><para>Since GIMP 2.4</para></refsect2> |
1.1.4
by Daniel Holbach
Import upstream version 2.3.16 |
178 |
</refsect1>
|
179 |
||
180 |
||
181 |
||
182 |
</refentry>
|