2000-02-26 11:41:06 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
|
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
2000-01-13 23:39:26 +08:00
|
|
|
*
|
|
|
|
* gimpwidgets.h
|
|
|
|
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2000-02-26 11:41:06 +08:00
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-01-13 23:39:26 +08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2000-05-31 07:38:46 +08:00
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
#ifndef __GIMP_WIDGETS_H__
|
|
|
|
#define __GIMP_WIDGETS_H__
|
|
|
|
|
2001-01-25 06:36:18 +08:00
|
|
|
|
|
|
|
#include <libgimpwidgets/gimpwidgetstypes.h>
|
|
|
|
|
2005-05-19 07:48:47 +08:00
|
|
|
#include <libgimpwidgets/gimpbrowser.h>
|
2001-05-07 04:31:46 +08:00
|
|
|
#include <libgimpwidgets/gimpbutton.h>
|
2004-07-27 02:52:35 +08:00
|
|
|
#include <libgimpwidgets/gimpcellrenderercolor.h>
|
2004-07-27 05:09:16 +08:00
|
|
|
#include <libgimpwidgets/gimpcellrenderertoggle.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimpchainbutton.h>
|
|
|
|
#include <libgimpwidgets/gimpcolorarea.h>
|
|
|
|
#include <libgimpwidgets/gimpcolorbutton.h>
|
2002-10-20 18:14:17 +08:00
|
|
|
#include <libgimpwidgets/gimpcolordisplay.h>
|
2003-11-22 05:27:10 +08:00
|
|
|
#include <libgimpwidgets/gimpcolordisplaystack.h>
|
2004-07-26 23:20:18 +08:00
|
|
|
#include <libgimpwidgets/gimpcolorhexentry.h>
|
2002-10-28 21:19:02 +08:00
|
|
|
#include <libgimpwidgets/gimpcolornotebook.h>
|
2002-10-30 07:16:17 +08:00
|
|
|
#include <libgimpwidgets/gimpcolorscale.h>
|
2002-10-29 04:13:17 +08:00
|
|
|
#include <libgimpwidgets/gimpcolorscales.h>
|
2002-10-20 18:14:17 +08:00
|
|
|
#include <libgimpwidgets/gimpcolorselector.h>
|
|
|
|
#include <libgimpwidgets/gimpcolorselect.h>
|
2003-11-11 00:38:37 +08:00
|
|
|
#include <libgimpwidgets/gimpcolorselection.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimpdialog.h>
|
2005-01-22 06:59:51 +08:00
|
|
|
#include <libgimpwidgets/gimpenumcombobox.h>
|
2005-06-25 06:46:42 +08:00
|
|
|
#include <libgimpwidgets/gimpenumlabel.h>
|
2005-01-22 06:59:51 +08:00
|
|
|
#include <libgimpwidgets/gimpenumstore.h>
|
2005-01-29 09:08:20 +08:00
|
|
|
#include <libgimpwidgets/gimpenumwidgets.h>
|
2003-11-21 23:53:57 +08:00
|
|
|
#include <libgimpwidgets/gimpfileentry.h>
|
2004-05-03 04:30:41 +08:00
|
|
|
#include <libgimpwidgets/gimpframe.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimphelpui.h>
|
2004-04-20 08:01:57 +08:00
|
|
|
#include <libgimpwidgets/gimpintcombobox.h>
|
2004-04-21 03:06:37 +08:00
|
|
|
#include <libgimpwidgets/gimpintstore.h>
|
2003-01-05 21:52:14 +08:00
|
|
|
#include <libgimpwidgets/gimpmemsizeentry.h>
|
2001-05-07 05:51:20 +08:00
|
|
|
#include <libgimpwidgets/gimpoffsetarea.h>
|
2005-06-27 22:14:25 +08:00
|
|
|
#include <libgimpwidgets/gimppageselector.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimppatheditor.h>
|
2002-11-05 06:56:41 +08:00
|
|
|
#include <libgimpwidgets/gimppickbutton.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimppixmap.h>
|
2004-08-31 06:10:26 +08:00
|
|
|
#include <libgimpwidgets/gimppreview.h>
|
2004-07-30 01:10:28 +08:00
|
|
|
#include <libgimpwidgets/gimppreviewarea.h>
|
2005-02-05 04:48:02 +08:00
|
|
|
#include <libgimpwidgets/gimppropwidgets.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimpquerybox.h>
|
2005-07-17 16:29:02 +08:00
|
|
|
#include <libgimpwidgets/gimpresolutionentry.h>
|
2005-07-09 00:07:16 +08:00
|
|
|
#include <libgimpwidgets/gimpscrolledpreview.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimpsizeentry.h>
|
2001-08-04 22:10:58 +08:00
|
|
|
#include <libgimpwidgets/gimpstock.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
#include <libgimpwidgets/gimpunitmenu.h>
|
2005-09-20 06:58:16 +08:00
|
|
|
#include <libgimpwidgets/gimpzoommodel.h>
|
2001-01-25 06:36:18 +08:00
|
|
|
|
2004-04-20 22:37:12 +08:00
|
|
|
#include <libgimpwidgets/gimpoldwidgets.h>
|
|
|
|
|
2001-01-25 06:36:18 +08:00
|
|
|
|
2001-11-22 21:01:26 +08:00
|
|
|
G_BEGIN_DECLS
|
2000-01-13 23:39:26 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
2001-11-28 09:14:06 +08:00
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
/*
|
|
|
|
* Widget Constructors
|
|
|
|
*/
|
|
|
|
|
2003-11-15 04:22:05 +08:00
|
|
|
GtkWidget * gimp_int_radio_group_new (gboolean in_frame,
|
|
|
|
const gchar *frame_title,
|
|
|
|
GCallback radio_button_callback,
|
|
|
|
gpointer radio_button_callback_data,
|
|
|
|
gint initial, /* item_data */
|
2003-11-15 02:05:39 +08:00
|
|
|
|
2003-11-15 04:22:05 +08:00
|
|
|
/* specify radio buttons as va_list:
|
|
|
|
* const gchar *label,
|
|
|
|
* gint item_data,
|
|
|
|
* GtkWidget **widget_ptr,
|
2003-11-15 02:05:39 +08:00
|
|
|
*/
|
|
|
|
|
2005-09-28 01:11:01 +08:00
|
|
|
...) G_GNUC_NULL_TERMINATED;
|
2003-11-15 02:05:39 +08:00
|
|
|
|
2003-11-15 19:27:34 +08:00
|
|
|
void gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
|
|
|
|
gint item_data);
|
|
|
|
|
2003-11-15 07:17:38 +08:00
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
GtkWidget * gimp_radio_group_new (gboolean in_frame,
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *frame_title,
|
2000-01-13 23:39:26 +08:00
|
|
|
|
|
|
|
/* specify radio buttons as va_list:
|
2000-11-18 08:25:42 +08:00
|
|
|
* const gchar *label,
|
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-25 05:27:11 +08:00
|
|
|
* GCallback callback,
|
2001-11-22 21:01:26 +08:00
|
|
|
* gpointer callback_data,
|
|
|
|
* gpointer item_data,
|
2000-01-13 23:39:26 +08:00
|
|
|
* GtkWidget **widget_ptr,
|
|
|
|
* gboolean active,
|
|
|
|
*/
|
|
|
|
|
2005-09-28 01:11:01 +08:00
|
|
|
...) G_GNUC_NULL_TERMINATED;
|
2000-01-13 23:39:26 +08:00
|
|
|
GtkWidget * gimp_radio_group_new2 (gboolean in_frame,
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *frame_title,
|
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-25 05:27:11 +08:00
|
|
|
GCallback radio_button_callback,
|
2001-11-22 21:01:26 +08:00
|
|
|
gpointer radio_button_callback_data,
|
|
|
|
gpointer initial, /* item_data */
|
2000-01-13 23:39:26 +08:00
|
|
|
|
|
|
|
/* specify radio buttons as va_list:
|
2000-11-18 08:25:42 +08:00
|
|
|
* const gchar *label,
|
2001-11-22 21:01:26 +08:00
|
|
|
* gpointer item_data,
|
2000-01-13 23:39:26 +08:00
|
|
|
* GtkWidget **widget_ptr,
|
|
|
|
*/
|
|
|
|
|
2005-09-28 01:11:01 +08:00
|
|
|
...) G_GNUC_NULL_TERMINATED;
|
2003-11-15 19:27:34 +08:00
|
|
|
|
2001-11-22 21:01:26 +08:00
|
|
|
void gimp_radio_group_set_active (GtkRadioButton *radio_button,
|
|
|
|
gpointer item_data);
|
2003-11-15 04:22:05 +08:00
|
|
|
|
2001-11-22 21:01:26 +08:00
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
GtkWidget * gimp_spin_button_new (/* return value: */
|
|
|
|
GtkObject **adjustment,
|
|
|
|
|
2003-02-26 20:48:48 +08:00
|
|
|
gdouble value,
|
|
|
|
gdouble lower,
|
|
|
|
gdouble upper,
|
|
|
|
gdouble step_increment,
|
|
|
|
gdouble page_increment,
|
|
|
|
gdouble page_size,
|
|
|
|
gdouble climb_rate,
|
2000-01-13 23:39:26 +08:00
|
|
|
guint digits);
|
|
|
|
|
2000-02-18 07:48:13 +08:00
|
|
|
#define GIMP_SCALE_ENTRY_LABEL(adj) \
|
2002-03-11 02:31:42 +08:00
|
|
|
(g_object_get_data (G_OBJECT (adj), "label"))
|
2000-02-18 07:48:13 +08:00
|
|
|
|
|
|
|
#define GIMP_SCALE_ENTRY_SCALE(adj) \
|
2002-03-11 02:31:42 +08:00
|
|
|
(g_object_get_data (G_OBJECT (adj), "scale"))
|
2000-02-18 07:48:13 +08:00
|
|
|
#define GIMP_SCALE_ENTRY_SCALE_ADJ(adj) \
|
|
|
|
gtk_range_get_adjustment \
|
2001-11-22 21:01:26 +08:00
|
|
|
(GTK_RANGE (g_object_get_data (G_OBJECT (adj), "scale")))
|
2000-02-18 07:48:13 +08:00
|
|
|
|
|
|
|
#define GIMP_SCALE_ENTRY_SPINBUTTON(adj) \
|
2002-03-11 02:31:42 +08:00
|
|
|
(g_object_get_data (G_OBJECT (adj), "spinbutton"))
|
2000-02-18 07:48:13 +08:00
|
|
|
#define GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj) \
|
|
|
|
gtk_spin_button_get_adjustment \
|
2001-11-22 21:01:26 +08:00
|
|
|
(GTK_SPIN_BUTTON (g_object_get_data (G_OBJECT (adj), "spinbutton")))
|
2000-02-18 07:48:13 +08:00
|
|
|
|
2002-10-31 00:10:18 +08:00
|
|
|
GtkObject * gimp_scale_entry_new (GtkTable *table,
|
|
|
|
gint column,
|
|
|
|
gint row,
|
|
|
|
const gchar *text,
|
|
|
|
gint scale_width,
|
|
|
|
gint spinbutton_width,
|
2003-02-26 20:48:48 +08:00
|
|
|
gdouble value,
|
|
|
|
gdouble lower,
|
|
|
|
gdouble upper,
|
|
|
|
gdouble step_increment,
|
|
|
|
gdouble page_increment,
|
2002-10-31 00:10:18 +08:00
|
|
|
guint digits,
|
|
|
|
gboolean constrain,
|
2003-02-26 20:48:48 +08:00
|
|
|
gdouble unconstrained_lower,
|
|
|
|
gdouble unconstrained_upper,
|
2002-10-31 00:10:18 +08:00
|
|
|
const gchar *tooltip,
|
2003-08-24 03:35:05 +08:00
|
|
|
const gchar *help_id);
|
2002-10-31 00:10:18 +08:00
|
|
|
|
2004-08-29 00:57:37 +08:00
|
|
|
|
2002-10-31 00:10:18 +08:00
|
|
|
GtkObject * gimp_color_scale_entry_new (GtkTable *table,
|
|
|
|
gint column,
|
|
|
|
gint row,
|
|
|
|
const gchar *text,
|
|
|
|
gint scale_width,
|
|
|
|
gint spinbutton_width,
|
2003-02-26 20:48:48 +08:00
|
|
|
gdouble value,
|
|
|
|
gdouble lower,
|
|
|
|
gdouble upper,
|
|
|
|
gdouble step_increment,
|
|
|
|
gdouble page_increment,
|
2002-10-31 00:10:18 +08:00
|
|
|
guint digits,
|
|
|
|
const gchar *tooltip,
|
2003-08-24 03:35:05 +08:00
|
|
|
const gchar *help_id);
|
2002-10-31 00:10:18 +08:00
|
|
|
|
2004-08-29 00:57:37 +08:00
|
|
|
void gimp_scale_entry_set_sensitive (GtkObject *adjustment,
|
|
|
|
gboolean sensitive);
|
|
|
|
|
|
|
|
void gimp_scale_entry_set_logarithmic (GtkObject *adjustment,
|
|
|
|
gboolean logarithmic);
|
|
|
|
gboolean gimp_scale_entry_get_logarithmic (GtkObject *adjustment);
|
2002-10-09 01:36:32 +08:00
|
|
|
|
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
#define GIMP_RANDOM_SEED_SPINBUTTON(hbox) \
|
2002-03-11 02:31:42 +08:00
|
|
|
(g_object_get_data (G_OBJECT (hbox), "spinbutton"))
|
2000-02-23 23:52:33 +08:00
|
|
|
#define GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox) \
|
|
|
|
gtk_spin_button_get_adjustment \
|
2001-11-22 21:01:26 +08:00
|
|
|
(GTK_SPIN_BUTTON (g_object_get_data (G_OBJECT (hbox), "spinbutton")))
|
2004-02-01 07:34:56 +08:00
|
|
|
#define GIMP_RANDOM_SEED_TOGGLE(hbox) \
|
|
|
|
(g_object_get_data (G_OBJECT(hbox), "toggle"))
|
2000-02-23 23:52:33 +08:00
|
|
|
|
2003-12-17 22:39:38 +08:00
|
|
|
GtkWidget * gimp_random_seed_new (guint32 *seed,
|
2003-12-17 22:49:56 +08:00
|
|
|
gboolean *random_seed);
|
2000-01-26 01:46:56 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
#define GIMP_COORDINATES_CHAINBUTTON(sizeentry) \
|
2002-03-11 02:31:42 +08:00
|
|
|
(g_object_get_data (G_OBJECT (sizeentry), "chainbutton"))
|
2000-02-23 23:52:33 +08:00
|
|
|
|
2000-02-08 04:35:13 +08:00
|
|
|
GtkWidget * gimp_coordinates_new (GimpUnit unit,
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *unit_format,
|
2000-02-01 04:47:44 +08:00
|
|
|
gboolean menu_show_pixels,
|
|
|
|
gboolean menu_show_percent,
|
2001-11-12 02:35:25 +08:00
|
|
|
gint spinbutton_width,
|
2000-02-08 04:35:13 +08:00
|
|
|
GimpSizeEntryUpdatePolicy update_policy,
|
2000-02-01 04:47:44 +08:00
|
|
|
|
2000-02-03 01:59:44 +08:00
|
|
|
gboolean chainbutton_active,
|
|
|
|
gboolean chain_constrains_ratio,
|
|
|
|
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *xlabel,
|
2000-02-01 04:47:44 +08:00
|
|
|
gdouble x,
|
|
|
|
gdouble xres,
|
2000-02-03 01:59:44 +08:00
|
|
|
gdouble lower_boundary_x,
|
|
|
|
gdouble upper_boundary_x,
|
|
|
|
gdouble xsize_0, /* % */
|
|
|
|
gdouble xsize_100, /* % */
|
2000-02-01 04:47:44 +08:00
|
|
|
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *ylabel,
|
2000-02-01 04:47:44 +08:00
|
|
|
gdouble y,
|
|
|
|
gdouble yres,
|
2000-02-03 01:59:44 +08:00
|
|
|
gdouble lower_boundary_y,
|
|
|
|
gdouble upper_boundary_y,
|
|
|
|
gdouble ysize_0, /* % */
|
|
|
|
gdouble ysize_100 /* % */);
|
2000-02-01 04:47:44 +08:00
|
|
|
|
2000-03-15 07:06:21 +08:00
|
|
|
|
2004-07-13 23:59:52 +08:00
|
|
|
#ifndef GIMP_DISABLE_DEPRECATED
|
|
|
|
|
2000-03-15 07:06:21 +08:00
|
|
|
GtkWidget * gimp_pixmap_button_new (gchar **xpm_data,
|
2000-11-18 08:25:42 +08:00
|
|
|
const gchar *text);
|
2000-02-18 21:59:18 +08:00
|
|
|
|
2004-07-13 23:59:52 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
/*
|
|
|
|
* Standard Callbacks
|
|
|
|
*/
|
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_toggle_button_sensitive_update (GtkToggleButton *toggle_button);
|
|
|
|
|
|
|
|
void gimp_toggle_button_update (GtkWidget *widget,
|
|
|
|
gpointer data);
|
2000-01-13 23:39:26 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_radio_button_update (GtkWidget *widget,
|
|
|
|
gpointer data);
|
2000-01-13 23:39:26 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_int_adjustment_update (GtkAdjustment *adjustment,
|
|
|
|
gpointer data);
|
2000-01-13 23:39:26 +08:00
|
|
|
|
2000-05-21 02:39:02 +08:00
|
|
|
void gimp_uint_adjustment_update (GtkAdjustment *adjustment,
|
|
|
|
gpointer data);
|
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_float_adjustment_update (GtkAdjustment *adjustment,
|
|
|
|
gpointer data);
|
2000-01-15 23:32:28 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_double_adjustment_update (GtkAdjustment *adjustment,
|
|
|
|
gpointer data);
|
2000-01-13 23:39:26 +08:00
|
|
|
|
2000-02-23 23:52:33 +08:00
|
|
|
void gimp_unit_menu_update (GtkWidget *widget,
|
|
|
|
gpointer data);
|
2000-01-14 20:41:00 +08:00
|
|
|
|
2001-01-11 06:49:45 +08:00
|
|
|
|
2000-01-13 23:39:26 +08:00
|
|
|
/*
|
|
|
|
* Helper Functions
|
|
|
|
*/
|
|
|
|
|
2002-03-09 02:30:40 +08:00
|
|
|
GtkWidget * gimp_table_attach_aligned (GtkTable *table,
|
|
|
|
gint column,
|
|
|
|
gint row,
|
|
|
|
const gchar *label_text,
|
|
|
|
gfloat xalign,
|
|
|
|
gfloat yalign,
|
|
|
|
GtkWidget *widget,
|
|
|
|
gint colspan,
|
|
|
|
gboolean left_align);
|
2000-01-28 03:26:00 +08:00
|
|
|
|
2000-05-31 07:38:46 +08:00
|
|
|
|
2004-06-21 21:18:50 +08:00
|
|
|
void gimp_label_set_attributes (GtkLabel *label,
|
|
|
|
...);
|
|
|
|
|
|
|
|
|
2001-11-22 21:01:26 +08:00
|
|
|
G_END_DECLS
|
2000-01-13 23:39:26 +08:00
|
|
|
|
|
|
|
#endif /* __GIMP_WIDGETS_H__ */
|