2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2001-04-14 15:21:45 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2001-04-14 15:21:45 +00:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 22:28:01 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2001-04-14 15:21:45 +00:00
|
|
|
* (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
|
2018-07-11 23:27:07 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2001-04-14 15:21:45 +00:00
|
|
|
*/
|
|
|
|
|
2025-07-13 03:15:46 +02:00
|
|
|
#pragma once
|
2001-04-14 15:21:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
extern GimpDialogFactory *global_dialog_factory;
|
2008-05-16 16:06:42 +00:00
|
|
|
extern GimpContainer *global_recent_docks;
|
2001-04-14 15:21:45 +00:00
|
|
|
|
2004-04-29 12:52:29 +00:00
|
|
|
|
2023-03-07 18:23:38 +01:00
|
|
|
void dialogs_init (Gimp *gimp);
|
2008-05-16 16:06:42 +00:00
|
|
|
void dialogs_exit (Gimp *gimp);
|
|
|
|
|
|
|
|
void dialogs_load_recent_docks (Gimp *gimp);
|
|
|
|
void dialogs_save_recent_docks (Gimp *gimp);
|
|
|
|
|
|
|
|
GtkWidget * dialogs_get_toolbox (void);
|
2001-04-14 15:21:45 +00:00
|
|
|
|
|
|
|
|
2016-09-12 00:03:22 +02:00
|
|
|
/* attaching dialogs to arbitrary objects, and detaching them
|
|
|
|
* automatically upon destruction
|
|
|
|
*/
|
|
|
|
GtkWidget * dialogs_get_dialog (GObject *attach_object,
|
|
|
|
const gchar *attach_key);
|
|
|
|
void dialogs_attach_dialog (GObject *attach_object,
|
|
|
|
const gchar *attach_key,
|
|
|
|
GtkWidget *dialog);
|
|
|
|
void dialogs_detach_dialog (GObject *attach_object,
|
|
|
|
GtkWidget *dialog);
|
2016-09-25 01:23:55 +02:00
|
|
|
void dialogs_destroy_dialog (GObject *attach_object,
|
|
|
|
const gchar *attach_key);
|