gtk2/gtk/gtknativedialogprivate.h
Alexander Larsson 81cef0091e Add GtkNativeDialog abstract base class
This is a base class that essentially mirrors GtkDialog, but
it is not a GtkWindow, as the actual implemetation will be using
native code.

The base class has show and hide vfuncs, as well as a helper function
to run the dialog in a modal fashion.

This will be later used by the native file chooser dialog.
2015-11-05 16:52:52 +01:00

32 lines
1.1 KiB
C

/* GTK - The GIMP Toolkit
* gtknativedialogprivate.h: Native dialog
* Copyright (C) 2015, Red Hat, Inc.
*
* 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
* 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
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_NATIVE_DIALOG_PRIVATE_H__
#define __GTK_NATIVE_DIALOG_PRIVATE_H__
#include <gtk/gtknativedialog.h>
G_BEGIN_DECLS
void _gtk_native_dialog_emit_response (GtkNativeDialog *self,
int response_id);
G_END_DECLS
#endif /* __GTK_NATIVE_DIALOG_PRIVATE_H__ */