Go to the documentation of this file.
14 #include <gwenhywfar/gwenhywfar.h>
15 #include <gwenhywfar/gui.h>
16 #include <gwenhywfar/dialog.h>
17 #include <gwenhywfar/debug.h>
18 #include <gwenhywfar/pathmanager.h>
23 # define sleep(x) Sleep(x)
36 "Received event %d from widget [%s]\n", t, sender);
40 fprintf(stderr,
"Init\n");
44 "Erster Text in Combo1",
49 "Zweiter Text in Combo1",
61 "Erster Text in Combo2",
66 "Zweiter Text in Combo2",
77 "Column1\tColumn2\tColumn3",
83 "Zeile 1 Spalte 1\tZeile 1 Spalte 2\tZeile 1 Spalte 3",
88 "Zeile 2 Spalte 1\tZeile 2 Spalte 2\tZeile 2 Spalte 3",
104 "<html>This label contains text which should also contain an image:"
105 "<img src=\"chipcard.png\">"
106 "<p>And here the text should continue, followed by another image:"
107 "<img src=\"disk.png\"></p>"
108 "And again, this should be on the following line.</html>"
109 "This label would contain an image if it were able to use "
117 "<p>This is <b>bold</b> text, while this one is <i>italic</i>.</p>"
120 "<li>first item</li>"
121 "<li>second item</li>"
122 "<li>third item</li>"
123 "<li>fourth item</li>"
125 "<p>This paragraph should follow the list.</p>"
127 "This is BOLD text, while this one is would be i t a l i c.\n"
133 "This paragraph should follow the list.",
162 fprintf(stderr,
"Fini\n");
165 fprintf(stderr,
"ValueChanged\n");
166 if (strcasecmp(sender,
"listbox1")==0) {
167 fprintf(stderr,
"Selected list entry %d\n",
170 else if (strcasecmp(sender,
"editPass1")==0) {
181 fprintf(stderr,
"Activated\n");
182 if (strcasecmp(sender,
"listbox1")==0) {
186 fprintf(stderr,
"Selected list entry %d\n", idx);
192 fprintf(stderr,
"Text of selected list entry %d: [%s]\n", idx, s);
196 else if (strcasecmp(sender,
"combo1")==0) {
200 fprintf(stderr,
"Selected list entry %d\n", idx);
206 fprintf(stderr,
"Text of selected list entry %d: [%s]\n", idx, s);
211 else if (strcasecmp(sender,
"okButton")==0)
213 else if (strcasecmp(sender,
"abortButton")==0)
215 else if (strcasecmp(sender,
"progressMinus")==0) {
223 else if (strcasecmp(sender,
"progressPlus")==0) {
231 else if (strcasecmp(sender,
"prevPageButton")==0) {
239 else if (strcasecmp(sender,
"nextPageButton")==0) {
250 fprintf(stderr,
"Enabled\n");
253 fprintf(stderr,
"Disabled\n");
256 fprintf(stderr,
"Close\n");
259 fprintf(stderr,
"Last, ignored\n");
274 s=getenv(
"DIALOG_DIR");