X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-buttonbox.h;h=91d355511256d72e6f58871799de541e15ab0c9e;hb=146997e1690f055481e2003529eaa4f8848ca4a8;hp=b9d8ea34ae218f34c586b81d1c12165f9d227a1e;hpb=7eda1a159f93609f8bd68e98e1b04db2d99067f5;p=pspp-builds.git diff --git a/src/ui/gui/psppire-buttonbox.h b/src/ui/gui/psppire-buttonbox.h index b9d8ea34..91d35551 100644 --- a/src/ui/gui/psppire-buttonbox.h +++ b/src/ui/gui/psppire-buttonbox.h @@ -1,10 +1,30 @@ +/* + PSPPIRE --- A Graphical User Interface for PSPP + Copyright (C) 2007 Free Software Foundation + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + + #ifndef __PSPPIRE_BUTTONBOX_H__ #define __PSPPIRE_BUTTONBOX_H__ #include #include -#include +#include G_BEGIN_DECLS @@ -20,16 +40,24 @@ typedef struct _PsppireButtonBoxClass PsppireButtonBoxClass; struct _PsppireButtonBox { - GtkVButtonBox parent; + GtkButtonBox parent; }; struct _PsppireButtonBoxClass { - GtkVButtonBoxClass parent_class; + GtkButtonBoxClass parent_class; }; GType psppire_button_box_get_type (void); -GtkWidget* psppire_buttonbox_new (void); + + +/* Internal function. Do not use */ +void +_psppire_button_box_child_requisition (GtkWidget *widget, + int *nvis_children, + int *nvis_secondaries, + int *width, + int *height); G_END_DECLS