Thu, 13 Feb 2020 20:37:12 -0600
Missed some USE_IDN's in the tests
|
35389
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
1 | <?xml version='1.0' encoding="ISO-8859-1"?> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
3 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
4 | ]> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
5 | <chapter id="chapter-signals-imgstore"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
6 | <title>Stored Image signals</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
7 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
8 | <refsect1 id="imgstores.signals" role="signal_proto"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
9 | <title role="signal_proto.title">List of signals</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
10 | <synopsis> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
11 | "<link linkend="imgstores-image-deleting">image-deleting</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
12 | </synopsis> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
13 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
14 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
15 | <refsect1 id="imgstores.signal-details" role="signals"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
16 | <title role="signals.title">Signal details</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
17 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
18 | <refsect2 id="imgstores-image-deleting" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
19 | <title>The <literal>"image-deleting"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
20 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
21 | char * user_function (const PurpleStoredImage *img, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
22 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
23 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
24 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
25 | Emitted when a #PurpleStoredImage is about to be destroyed. This allows for what amounts to weak references. Code can hold onto a pointer to the PurpleStoredImage without actually "holding" a reference. They can then use a signal handler to let them know when their img is about to be destroyed. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
26 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
27 | <note><para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
28 | It's not possible to purple_imgstore_ref() img to save it. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
29 | </para></note> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
30 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
31 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
32 | <term><parameter>img</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
33 | <listitem><simpara>The image about to be destroyed.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
34 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
35 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
36 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
37 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
38 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
39 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
40 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
41 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
42 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
43 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
44 | </chapter> |