File: gimpcolorprofilestore.xml

package info (click to toggle)
gimp 2.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 130,648 kB
  • ctags: 50,475
  • sloc: ansic: 607,353; xml: 48,593; lisp: 10,881; sh: 9,811; makefile: 9,583; python: 3,333; perl: 2,683; yacc: 523; lex: 340
file content (150 lines) | stat: -rw-r--r-- 7,563 bytes parent folder | download
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?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="GimpColorProfileStore">
<refmeta>
<refentrytitle role="top_of_page" id="GimpColorProfileStore.top_of_page">GimpColorProfileStore</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GimpColorProfileStore</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="GimpColorProfileStore.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="GimpColorProfileStore-struct">GimpColorProfileStore</link>;
<link linkend="GtkListStore">GtkListStore</link>*       <link linkend="gimp-color-profile-store-new">gimp_color_profile_store_new</link>        (const <link linkend="gchar">gchar</link> *history);
<link linkend="void">void</link>                <link linkend="gimp-color-profile-store-add">gimp_color_profile_store_add</link>        (<link linkend="GimpColorProfileStore">GimpColorProfileStore</link> *store,
                                                         const <link linkend="gchar">gchar</link> *filename,
                                                         const <link linkend="gchar">gchar</link> *label);
</synopsis>
</refsynopsisdiv>

<refsect1 id="GimpColorProfileStore.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GtkListStore">GtkListStore</link>
         +----GimpColorProfileStore
</synopsis>

</refsect1>



<refsect1 id="GimpColorProfileStore.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorProfileStore implements
 <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkTreeModel">GtkTreeModel</link>,  <link linkend="GtkTreeDragSource">GtkTreeDragSource</link>,  <link linkend="GtkTreeDragDest">GtkTreeDragDest</link> and  <link linkend="GtkTreeSortable">GtkTreeSortable</link>.</para>

</refsect1>


<refsect1 id="GimpColorProfileStore.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="GimpColorProfileStore--history">history</link>&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
</synopsis>
</refsect1>



<refsect1 id="GimpColorProfileStore.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="GimpColorProfileStore.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GimpColorProfileStore-struct" role="struct">
<title>GimpColorProfileStore</title>
<indexterm zone="GimpColorProfileStore-struct"><primary>GimpColorProfileStore</primary></indexterm><programlisting>typedef struct _GimpColorProfileStore GimpColorProfileStore;</programlisting>
<para>

</para></refsect2>
<refsect2 id="gimp-color-profile-store-new" role="function" condition="since:GIMP 2.4">
<title>gimp_color_profile_store_new ()</title>
<indexterm zone="gimp-color-profile-store-new" role="GIMP 2.4"><primary>gimp_color_profile_store_new</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>*       gimp_color_profile_store_new        (const <link linkend="gchar">gchar</link> *history);</programlisting>
<para>
Creates a new <link linkend="GimpColorProfileStore"><type>GimpColorProfileStore</type></link> object and populates it with
last used profiles read from the file <parameter>history</parameter>. The updated history
is written back to disk when the store is disposed.
</para>
<para>
The filename passed as <parameter>history</parameter> is typically created using the
following code snippet:
<informalexample><programlisting>
 gchar *history = gimp_personal_rc_file ("profilerc");
</programlisting></informalexample></para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>history</parameter>&nbsp;:</term>
<listitem><simpara> filename of the profilerc (or <link linkend="NULL:CAPS"><literal>NULL</literal></link> for no history)
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="GimpColorProfileStore"><type>GimpColorProfileStore</type></link>

</simpara></listitem></varlistentry>
</variablelist><para role="since">Since  GIMP 2.4
</para></refsect2>
<refsect2 id="gimp-color-profile-store-add" role="function" condition="since:GIMP 2.4">
<title>gimp_color_profile_store_add ()</title>
<indexterm zone="gimp-color-profile-store-add" role="GIMP 2.4"><primary>gimp_color_profile_store_add</primary></indexterm><programlisting><link linkend="void">void</link>                gimp_color_profile_store_add        (<link linkend="GimpColorProfileStore">GimpColorProfileStore</link> *store,
                                                         const <link linkend="gchar">gchar</link> *filename,
                                                         const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Adds a color profile item to the <link linkend="GimpColorProfileStore"><type>GimpColorProfileStore</type></link>. Items
added with this function will be kept at the top, separated from
the history of last used color profiles.
</para>
<para>
This function is often used to add a selectable item for the <link linkend="NULL:CAPS"><literal>NULL</literal></link>
filename. If you pass <link linkend="NULL:CAPS"><literal>NULL</literal></link> for both <parameter>filename</parameter> and <parameter>label</parameter>, the
<parameter>label</parameter> will be set to the string "None" for you (and translated for
the user).</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>store</parameter>&nbsp;:</term>
<listitem><simpara>    a <link linkend="GimpColorProfileStore"><type>GimpColorProfileStore</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter>&nbsp;:</term>
<listitem><simpara> filename of the profile to add (or <link linkend="NULL:CAPS"><literal>NULL</literal></link>)
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>    label to use for the profile
           (may only be <link linkend="NULL:CAPS"><literal>NULL</literal></link> if <parameter>filename</parameter> is <link linkend="NULL:CAPS"><literal>NULL</literal></link>)
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since  GIMP 2.4
</para></refsect2>

</refsect1>
<refsect1 id="GimpColorProfileStore.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GimpColorProfileStore--history"><title>The <literal>&quot;history&quot;</literal> property</title>
<indexterm zone="GimpColorProfileStore--history" role="GIMP 2.4"><primary>GimpColorProfileStore:history</primary></indexterm><programlisting>  &quot;history&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>
Filename of the color history used to populate the profile store.</para>
<para>

</para><para>Default value: NULL</para>
<para>Since  GIMP 2.4
</para>
</refsect2>

</refsect1>




</refentry>