X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtksheet%2Fgtkextra-sheet.h;h=ae13c6a93db31c1e4ba42eff88891911a57bc8cb;hb=b069636965a498047e2eb12a31c8c45694cfb221;hp=bfc714ca340fe0f74c61095840b385838e523b06;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp diff --git a/lib/gtksheet/gtkextra-sheet.h b/lib/gtksheet/gtkextra-sheet.h index bfc714ca34..ae13c6a93d 100644 --- a/lib/gtksheet/gtkextra-sheet.h +++ b/lib/gtksheet/gtkextra-sheet.h @@ -1,5 +1,5 @@ -/* This version of GtkSheet has been heavily modified, for the specific - * requirements of PSPPIRE. +/* This version of GtkSheet has been heavily modified, for the specific + * requirements of PSPPIRE. * * GtkSheet widget for Gtk+. * Copyright (C) 1999-2001 Adrian E. Feiguin @@ -16,7 +16,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -32,34 +32,12 @@ struct _GtkSheet ; typedef struct _GtkSheet GtkSheet; -struct _GtkSheetChild -{ - GtkWidget *widget; - gint x,y ; - gboolean attached_to_cell; - gboolean floating; - gint row, col; - guint16 xpadding; - guint16 ypadding; - gboolean xexpand; - gboolean yexpand; - gboolean xshrink; - gboolean yshrink; - gboolean xfill; - gboolean yfill; -}; - -typedef struct _GtkSheetChild GtkSheetChild; - - - struct _GtkSheetButton { GtkStateType state; gchar *label; gboolean label_visible; - GtkSheetChild *child; GtkJustification justification; }; @@ -68,6 +46,9 @@ typedef struct _GtkSheetButton GtkSheetButton; +GtkSheetButton * gtk_sheet_button_new(void); + +inline void gtk_sheet_button_free(GtkSheetButton *button); #endif /* __GTK_EXTRA_SHEET_H__ */