gnucash/borrowed/gwengui-gtk3/gtk3_gui_dialog_l.h
John Ralls 2ee5b202bf Temporarily include building libgwengui-gtk3 in GnuCash.
Revert this commit when it's widely available in distributed packages.
2017-08-25 16:39:14 -07:00

52 lines
1.1 KiB
C

/***************************************************************************
begin : Sun May 16 2010
copyright : (C) 2010 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef GTK3_GUI_DIALOG_L_H
#define GTK3_GUI_DIALOG_L_H
#include "gtk3_gui.h"
#include <gtk/gtk.h>
#include <gwenhywfar/dialog_be.h>
#define GTK3_GUI_DIALOG_DEFAULT_BOX_SPACING 3
typedef struct {
GWEN_DIALOG *dialog;
GtkWindow *window;
int response;
GMainLoop *loop;
int destroyed;
} RunInfo;
void Gtk3Gui_Dialog_Extend(GWEN_DIALOG *dlg);
void Gtk3Gui_Dialog_Unextend(GWEN_DIALOG *dlg);
int Gtk3Gui_Dialog_Setup(GWEN_DIALOG *dlg, GtkWidget *parentWindow);
GtkWidget *Gtk3Gui_Dialog_GetMainWidget(const GWEN_DIALOG *dlg);
int GTK3_Gui_Dialog_Run(GWEN_DIALOG *dlg, int timeout);
void Gtk3Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result);
int Gtk3Gui_GetRawText(const char *text, GWEN_BUFFER *tbuf);
#endif