diff options
author | Mike Newman <MikeGTN@src.gnome.org> | 2003-06-07 14:41:56 +0000 |
---|---|---|
committer | Mike Newman <MikeGTN@src.gnome.org> | 2003-06-07 14:41:56 +0000 |
commit | 5bade6fe6a14cce50508ee5d510a4560ebe3e421 (patch) | |
tree | 35710759f2f1c24923983e246cb86e57b014995d /src/zenity.h | |
parent | 3aab6a19a521c0374ef4c83fd7877154ea8636b5 (diff) |
Support user-defined return values via env vars, like dialog did.
Diffstat (limited to 'src/zenity.h')
-rw-r--r-- | src/zenity.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zenity.h b/src/zenity.h index e96f528..97ecee1 100644 --- a/src/zenity.h +++ b/src/zenity.h @@ -31,6 +31,14 @@ typedef struct { gint exit_code; } ZenityData; +typedef enum { + ZENITY_OK, + ZENITY_CANCEL, + ZENITY_ESC, + ZENITY_ERROR, + ZENITY_EXTRA +} ZenityExitCode; + typedef struct { gchar *dialog_text; gint day; |