X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-buttonbox.h;h=c002fd4b8a7f6cb715329902073c1c5e0e88386c;hb=d2a96ae99e49b5264ca68ace469e20fa5e2e605b;hp=91d355511256d72e6f58871799de541e15ab0c9e;hpb=146997e1690f055481e2003529eaa4f8848ca4a8;p=pspp diff --git a/src/ui/gui/psppire-buttonbox.h b/src/ui/gui/psppire-buttonbox.h index 91d3555112..c002fd4b8a 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