summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets/Sheet
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gtk/Widgets/Sheet')
-rw-r--r--src/Gtk/Widgets/Sheet/Internal.dcl5
-rw-r--r--src/Gtk/Widgets/Sheet/Internal.icl11
2 files changed, 16 insertions, 0 deletions
diff --git a/src/Gtk/Widgets/Sheet/Internal.dcl b/src/Gtk/Widgets/Sheet/Internal.dcl
new file mode 100644
index 0000000..b356f5b
--- /dev/null
+++ b/src/Gtk/Widgets/Sheet/Internal.dcl
@@ -0,0 +1,5 @@
+definition module Gtk.Widgets.Sheet.Internal
+
+from System._Pointer import :: Pointer
+
+gtk_sheet_new :: !Int !Int !String !.a -> (!Pointer, !.a)
diff --git a/src/Gtk/Widgets/Sheet/Internal.icl b/src/Gtk/Widgets/Sheet/Internal.icl
new file mode 100644
index 0000000..e0df1e5
--- /dev/null
+++ b/src/Gtk/Widgets/Sheet/Internal.icl
@@ -0,0 +1,11 @@
+implementation module Gtk.Widgets.Sheet.Internal
+
+import System._Pointer
+
+gtk_sheet_new :: !Int !Int !String !.a -> (!Pointer, !.a)
+gtk_sheet_new rows cols title env = new rows cols (packString title) env
+where
+ new :: !Int !Int !String !.a -> (!Pointer, !.a)
+ new _ _ _ _ = code {
+ ccall gtk_sheet_new "IIs:p:A"
+ }