X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-buttonbox.h;h=c002fd4b8a7f6cb715329902073c1c5e0e88386c;hb=b06c888cf2e8c126b04d4678120439533a5086e5;hp=91d355511256d72e6f58871799de541e15ab0c9e;hpb=af6fd5651bf8075a0d962ba6d339373179e0195b;p=pspp-builds.git diff --git a/src/ui/gui/psppire-buttonbox.h b/src/ui/gui/psppire-buttonbox.h index 91d35551..c002fd4b 100644 --- a/src/ui/gui/psppire-buttonbox.h +++ b/src/ui/gui/psppire-buttonbox.h @@ -38,9 +38,24 @@ G_BEGIN_DECLS typedef struct _PsppireButtonBox PsppireButtonBox; typedef struct _PsppireButtonBoxClass PsppireButtonBoxClass; +enum + { + PSPPIRE_BUTTON_OK = 0, + PSPPIRE_BUTTON_GOTO, + PSPPIRE_BUTTON_CONTINUE, + PSPPIRE_BUTTON_CANCEL, + PSPPIRE_BUTTON_HELP, + PSPPIRE_BUTTON_RESET, + PSPPIRE_BUTTON_PASTE, + n_PsppireButtonBoxButtons + }; + struct _PsppireButtonBox { GtkButtonBox parent; + + /* */ + GtkWidget *button[n_PsppireButtonBoxButtons]; }; struct _PsppireButtonBoxClass @@ -57,6 +72,10 @@ _psppire_button_box_child_requisition (GtkWidget *widget, int *nvis_children, int *nvis_secondaries, int *width, + + +#define G_TYPE_PSPPIRE_BUTTON_MASK \ + (psppire_button_flags_get_type()) int *height); G_END_DECLS