
Pass the current icon theme directory to plug-ins through the config message, and add a gimp_icon_theme_dir() libgimp function for retrieving it. Note that we already have a similar gimp_icon_get_theme_dir() PDB function, which we keep around, since it can be used to dynamically query for the current icon dir, unlike the former, and since it returns a dynamically-allocated string, while the rest of the config-related functions return statically allocated strings. Use the new function, instead of gimp_get_icon_theme_dir(), in gimp_ui_init(). This allows gimp_ui_init() to run without making any PDB calls. Consequently, this allows us to start plug-ins that call gimp_ui_init() without entering the main loop in the main app. We're going to add a plug-in that displays an interactive dialog while the main app is blocking waiting for an operation to complete, and we need to be able to start the plug-in without entering the main loop, to avoid the possibility of arbitrary code being executed during the wait. Bump the protocol version.
171 lines
6.9 KiB
XML
171 lines
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN'
|
|
'http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd'>
|
|
|
|
<book lang="en" id="libgimp-libgimpui" xmlns:xi="http://www.w3.org/2003/XInclude">
|
|
|
|
<bookinfo>
|
|
<title>GIMP Library Reference Manual</title>
|
|
<releaseinfo>
|
|
for GIMP <xi:include href="version" parse="text"/>
|
|
</releaseinfo>
|
|
</bookinfo>
|
|
|
|
<part id="libgimp">
|
|
<title>GIMP Library</title>
|
|
|
|
<partintro id="libgimp-introduction">
|
|
<para>
|
|
GIMP's Procedural Database (PDB) offers an interface to core
|
|
functions and to functionality provided by plug-ins. The role
|
|
of libgimp is to provide C bindings for this interface.
|
|
</para>
|
|
</partintro>
|
|
|
|
<chapter id="libgimp-general">
|
|
<title>Functions not Related to Specific Images</title>
|
|
<xi:include href="xml/gimp.xml" />
|
|
<xi:include href="xml/gimpenums.xml" />
|
|
<xi:include href="xml/gimpbuffer.xml" />
|
|
<xi:include href="xml/gimpcontext.xml" />
|
|
<xi:include href="xml/gimpgimprc.xml" />
|
|
<xi:include href="xml/gimphelp.xml" />
|
|
<xi:include href="xml/gimpmessage.xml" />
|
|
<xi:include href="xml/gimpplugin.xml" />
|
|
<xi:include href="xml/gimpproceduraldb.xml" />
|
|
<xi:include href="xml/gimpprogress.xml" />
|
|
<xi:include href="xml/gimpdebug.xml" />
|
|
</chapter>
|
|
|
|
<chapter id="libgimp-image">
|
|
<title>Manupulating Images and their Properties</title>
|
|
<xi:include href="xml/gimpchannel.xml" />
|
|
<xi:include href="xml/gimpcolor.xml" />
|
|
<xi:include href="xml/gimpdisplay.xml" />
|
|
<xi:include href="xml/gimpdrawable.xml" />
|
|
<xi:include href="xml/gimpdrawablecolor.xml" />
|
|
<xi:include href="xml/gimpdrawableedit.xml" />
|
|
<xi:include href="xml/gimpdrawabletransform.xml" />
|
|
<xi:include href="xml/gimpedit.xml" />
|
|
<xi:include href="xml/gimpfileops.xml" />
|
|
<xi:include href="xml/gimpfloatingsel.xml" />
|
|
<xi:include href="xml/gimpimage.xml" />
|
|
<xi:include href="xml/gimpimagecolorprofile.xml" />
|
|
<xi:include href="xml/gimpimageconvert.xml" />
|
|
<xi:include href="xml/gimpimagegrid.xml" />
|
|
<xi:include href="xml/gimpimageguides.xml" />
|
|
<xi:include href="xml/gimpimagesamplepoints.xml" />
|
|
<xi:include href="xml/gimpimageselect.xml" />
|
|
<xi:include href="xml/gimpimagetransform.xml" />
|
|
<xi:include href="xml/gimpimageundo.xml" />
|
|
<xi:include href="xml/gimpmetadata.xml" />
|
|
<xi:include href="xml/gimpitem.xml" />
|
|
<xi:include href="xml/gimpitemtransform.xml" />
|
|
<xi:include href="xml/gimplayer.xml" />
|
|
<xi:include href="xml/gimppaths.xml" />
|
|
<xi:include href="xml/gimppixbuf.xml" />
|
|
<xi:include href="xml/gimppixelfetcher.xml" />
|
|
<xi:include href="xml/gimppixelrgn.xml" />
|
|
<xi:include href="xml/gimpregioniterator.xml" />
|
|
<xi:include href="xml/gimpselection.xml" />
|
|
<xi:include href="xml/gimptextlayer.xml" />
|
|
<xi:include href="xml/gimptexttool.xml" />
|
|
<xi:include href="xml/gimptile.xml" />
|
|
<xi:include href="xml/gimppainttools.xml" />
|
|
<xi:include href="xml/gimpselectiontools.xml" />
|
|
<xi:include href="xml/gimptransformtools.xml" />
|
|
<xi:include href="xml/gimpvectors.xml" />
|
|
</chapter>
|
|
|
|
<chapter id="libgimp-data">
|
|
<title>Data Objects</title>
|
|
<xi:include href="xml/gimpbrush.xml" />
|
|
<xi:include href="xml/gimpbrushes.xml" />
|
|
<xi:include href="xml/gimpdynamics.xml" />
|
|
<xi:include href="xml/gimpfonts.xml" />
|
|
<xi:include href="xml/gimpgradient.xml" />
|
|
<xi:include href="xml/gimpgradients.xml" />
|
|
<xi:include href="xml/gimppalette.xml" />
|
|
<xi:include href="xml/gimppalettes.xml" />
|
|
<xi:include href="xml/gimppattern.xml" />
|
|
<xi:include href="xml/gimppatterns.xml" />
|
|
</chapter>
|
|
|
|
<chapter id="libgimp-selectors">
|
|
<title>Controlling the Core's Selection Dialogs</title>
|
|
<xi:include href="xml/gimpselectbutton.xml" />
|
|
<xi:include href="xml/gimpbrushselectbutton.xml" />
|
|
<xi:include href="xml/gimpfontselectbutton.xml" />
|
|
<xi:include href="xml/gimpgradientselectbutton.xml" />
|
|
<xi:include href="xml/gimppaletteselectbutton.xml" />
|
|
<xi:include href="xml/gimppatternselectbutton.xml" />
|
|
|
|
<xi:include href="xml/gimpbrushselect.xml" />
|
|
<xi:include href="xml/gimpfontselect.xml" />
|
|
<xi:include href="xml/gimpgradientselect.xml" />
|
|
<xi:include href="xml/gimppaletteselect.xml" />
|
|
<xi:include href="xml/gimppatternselect.xml" />
|
|
</chapter>
|
|
</part>
|
|
|
|
<part id="libgimpui">
|
|
<title>GIMP User Interface Library</title>
|
|
|
|
<chapter id="libgimpui-hierarchy">
|
|
<title>Object Hierarchy</title>
|
|
<xi:include href="xml/tree_index.sgml" />
|
|
</chapter>
|
|
|
|
<xi:include href="xml/gimpui.xml" />
|
|
<xi:include href="xml/gimpexport.xml" />
|
|
<xi:include href="xml/gimpdrawablepreview.xml" />
|
|
<xi:include href="xml/gimpaspectpreview.xml" />
|
|
<xi:include href="xml/gimpzoompreview.xml" />
|
|
<xi:include href="xml/gimpitemcombobox.xml" />
|
|
<xi:include href="xml/gimpimagecombobox.xml" />
|
|
<xi:include href="xml/gimpprogressbar.xml" />
|
|
<xi:include href="xml/gimpmenu.xml" />
|
|
<xi:include href="xml/gimpbrushmenu.xml" />
|
|
<xi:include href="xml/gimpfontmenu.xml" />
|
|
<xi:include href="xml/gimpgradientmenu.xml" />
|
|
<xi:include href="xml/gimppalettemenu.xml" />
|
|
<xi:include href="xml/gimppatternmenu.xml" />
|
|
<xi:include href="xml/gimpprocbrowserdialog.xml" />
|
|
<xi:include href="xml/gimpprocview.xml" />
|
|
</part>
|
|
|
|
<index id="api-index-full">
|
|
<title>Index</title>
|
|
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.2" id="api-index-2-2">
|
|
<title>Index of new symbols in GIMP 2.2</title>
|
|
<xi:include href="xml/api-index-2.2.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.4" id="api-index-2-4">
|
|
<title>Index of new symbols in GIMP 2.4</title>
|
|
<xi:include href="xml/api-index-2.4.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.6" id="api-index-2-6">
|
|
<title>Index of new symbols in GIMP 2.6</title>
|
|
<xi:include href="xml/api-index-2.6.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.8" id="api-index-2-8">
|
|
<title>Index of new symbols in GIMP 2.8</title>
|
|
<xi:include href="xml/api-index-2.8.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.10" id="api-index-2-10">
|
|
<title>Index of new symbols in GIMP 2.10</title>
|
|
<xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="2.10.4" id="api-index-2-10-4">
|
|
<title>Index of new symbols in GIMP 2.10.4</title>
|
|
<xi:include href="xml/api-index-2.10.4.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
<index role="deprecated" id="api-index-deprecated">
|
|
<title>Index of deprecated symbols</title>
|
|
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
|
</index>
|
|
|
|
</book>
|