-/* 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 <adrian@ifir.ifir.edu.ar>
* 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
*/
-#ifndef __GTK_EXTRA_SHEET_H__
-#define __GTK_EXTRA_SHEET_H__
+#ifndef GTK_EXTRA_SHEET_H__
+#define GTK_EXTRA_SHEET_H__
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;
};
-typedef struct _GtkSheetButton GtkSheetButton;
+struct _GtkSheetCell
+{
+ gint row;
+ gint col;
+};
+typedef struct _GtkSheetButton GtkSheetButton;
+typedef struct _GtkSheetCell GtkSheetCell;
+GtkSheetButton * gtk_sheet_button_new (void);
+void gtk_sheet_button_free (GtkSheetButton *button);
-#endif /* __GTK_EXTRA_SHEET_H__ */
+#endif /* GTK_EXTRA_SHEET_H__ */