
2002-10-23 Michael Natterer <mitch@gimp.org> Moved generic datafile loading to LibGimpBase: * app/core/gimpdatafiles.[ch]: removed... * libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed API which requires no more global variables. * libgimpbase/Makefile.am * libgimpbase/gimpbase.h * libgimpbase/gimpbasetypes.h * app/core/Makefile.am * app/core/core-types.h * app/core/gimpdatafactory.c * app/gui/gui.c * app/plug-in/plug-in.c * app/plug-in/plug-ins.c * app/tools/tools.c: changed accordingly. Moved module loading to LibGimpModule: * app/core/gimpmodules.c: removed lots of code... * libgimpmodule/gimpmoduledb.[ch]: ...and added it here as GimpModuleDB object. * libgimpmodule/Makefile.am * libgimpmodule/gimpmoduletypes.h: changed accordingly. * app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db. * libgimpmodule/gimpmodule.[ch]: added gimp_module_query(). Internal cleanup. Stuff... * app/gui/module-browser.c: changed accordingly. Unfinished... * app/core/gimpcontainer.c * app/core/gimplist.c: reverted the HACKS introduced recently. * app/core/gimpobject.[ch]: added gimp_g_object_get_memsize() utility function. * libgimpproxy/gimpobject.[ch]: regenerated. Changed display filter configuration stuff: * libgimpwidgets/gimpcolordisplay.[ch]: made the virtual configure() function return a GtkWidget instead of opening a dialog. Changed configure_cancel() to configure_reset(). Added "changed" signal. * app/display/gimpdisplayshell-filter-dialog.c: embed the filters' config GUI in the dialog. Connect to "changed" and added a "Reset" button which resets the filter. * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c: changed accordingly. * modules/colorsel_triangle.c * modules/colorsel_water.c: minor fixes. 2002-10-23 Michael Natterer <mitch@gimp.org> * libgimpbase/libgimpbase-docs.sgml * libgimpbase/libgimpbase-sections.txt * libgimpbase/tmpl/gimpbasetypes.sgml * libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles * libgimpmodule/libgimpmodule-docs.sgml * libgimpmodule/libgimpmodule-sections.txt * libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB. * libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type * libgimpmodule/tmpl/gimpmodule.sgml * libgimpwidgets/tmpl/gimpcolordisplay.sgml * libgimpwidgets/tmpl/gimpdialog.sgml: updated.
131 lines
2.5 KiB
Plaintext
131 lines
2.5 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GimpDialog
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Constructors for #GtkDialog's and action_areas as well as other
|
|
dialog-related stuff.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GimpDialog ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_dialog_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@title:
|
|
@wmclass_name:
|
|
@help_func:
|
|
@help_data:
|
|
@position:
|
|
@allow_shrink:
|
|
@allow_grow:
|
|
@auto_shrink:
|
|
@Varargs:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_dialog_newv ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@title:
|
|
@wmclass_name:
|
|
@help_func:
|
|
@help_data:
|
|
@position:
|
|
@allow_shrink:
|
|
@allow_grow:
|
|
@auto_shrink:
|
|
@args:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_dialog_create_action_area ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dialog:
|
|
@Varargs:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_dialog_create_action_areav ##### -->
|
|
<para>
|
|
|
|
The @va_list describing the action_area #GtkButton's has the following format:
|
|
|
|
<informaltable pgwide=1 frame="none" role="struct">
|
|
<tgroup cols="2"><colspec colwidth="4*"><colspec colwidth="8*">
|
|
<tbody>
|
|
|
|
<row>
|
|
<entry>#gchar *label,</entry>
|
|
<entry>The button's label.</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#GtkSignalFunc callback,</entry>
|
|
<entry>The callback which will be connected to the button's
|
|
"clicked" signal</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#gpointer data,</entry>
|
|
<entry>The callback data which will be used in
|
|
gtk_signal_connect(). If you pass #NULL, then the dialog itself will
|
|
by passed as @data.</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#GtkObject *slot_object,</entry>
|
|
<entry>If you pass a pointer other than #NULL, then the button's "clicked"
|
|
signal will be connected with gtk_signal_connect_object() instead of
|
|
gtk_signal_connect(). If you want the dialog itself to be the
|
|
@slot_object, pass "1".</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#GtkWidget **widget_ptr,</entry>
|
|
<entry>A pointer to store the created button in.</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#gboolean default_action,</entry>
|
|
<entry>#TRUE if this button should grab the default dialog action with
|
|
gtk_widget_grab_default().</entry>
|
|
</row>
|
|
|
|
<row>
|
|
<entry>#gboolean connect_delete,</entry>
|
|
<entry>#TRUE if the dialog's "delete_event" should be connected to
|
|
this button's callback. Usually you will connect to the dialog's
|
|
"Cancel" callback. Note that the callback will be called indirectly,
|
|
so you don't have to worry about the #GdkEvent pointer which comes
|
|
with the "delete_event", as it will be stripped away before your
|
|
"Cancel" callback is called.</entry>
|
|
</row>
|
|
|
|
</tbody></tgroup></informaltable>
|
|
|
|
</para>
|
|
|
|
@dialog:
|
|
@args:
|
|
|
|
|