gimpwidgets-utils.h 2.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* The GIMP -- an image manipulation program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * gimpui.h
 * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
Sven Neumann's avatar
Sven Neumann committed
21

Michael Natterer's avatar
Michael Natterer committed
22 23
#ifndef __GIMP_WIDGETS_UTILS_H__
#define __GIMP_WIDGETS_UTILS_H__
24 25


26
typedef gpointer (* GimpGetAccelContextFunc) (gpointer data);
27

28

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
void          gimp_message_box          (const gchar *message,
                                         GtkCallback  callback,
                                         gpointer     data);

void          gimp_menu_position        (GtkMenu     *menu,
                                         gint        *x,
                                         gint        *y,
                                         guint       *button,
                                         guint32     *activate_time);

void          gimp_table_attach_stock   (GtkTable    *table,
                                         gint         column,
                                         gint         row,
                                         const gchar *stock_id,
                                         GtkWidget   *widget);

const gchar * gimp_get_mod_name_shift   (void);
const gchar * gimp_get_mod_name_control (void);
const gchar * gimp_get_mod_name_alt     (void);
const gchar * gimp_get_mod_separator    (void);
49 50


Michael Natterer's avatar
Michael Natterer committed
51
#endif /* __GIMP_WIDGETS_UTILS_H__ */