gwenhywfar
4.6.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
gui
gtk2
gtk2_gui_dialog_l.h
Go to the documentation of this file.
1
/***************************************************************************
2
begin : Sun May 16 2010
3
copyright : (C) 2010 by Martin Preuss
4
email : martin@libchipcard.de
5
6
***************************************************************************
7
* Please see toplevel file COPYING for license details *
8
***************************************************************************/
9
10
#ifndef GTK2_GUI_DIALOG_L_H
11
#define GTK2_GUI_DIALOG_L_H
12
13
14
#include <gwen-gui-gtk2/gtk2_gui.h>
15
16
17
#include <gtk/gtk.h>
18
19
#include <gwenhywfar/dialog_be.h>
20
21
22
#define GTK2_GUI_DIALOG_DEFAULT_BOX_SPACING 3
23
24
25
typedef
struct
{
26
GWEN_DIALOG
*
dialog
;
27
GtkWindow *
window
;
28
int
response
;
29
GMainLoop *
loop
;
30
int
destroyed
;
31
}
RunInfo
;
32
33
34
35
void
Gtk2Gui_Dialog_Extend
(
GWEN_DIALOG
*dlg);
36
void
Gtk2Gui_Dialog_Unextend
(
GWEN_DIALOG
*dlg);
37
38
int
Gtk2Gui_Dialog_Setup
(
GWEN_DIALOG
*dlg, GtkWidget *parentWindow);
39
40
41
GtkWidget *
Gtk2Gui_Dialog_GetMainWidget
(
const
GWEN_DIALOG
*dlg);
42
43
44
int
GTK2_Gui_Dialog_Run
(
GWEN_DIALOG
*dlg,
int
timeout);
45
void
Gtk2Gui_Dialog_Leave
(
GWEN_DIALOG
*dlg,
int
result);
46
47
int
Gtk2Gui_GetRawText
(
const
char
*text,
GWEN_BUFFER
*tbuf);
48
49
#endif
50
51
Generated on Wed May 29 2013 05:31:47 for gwenhywfar by
1.8.3.1