summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets/Sheet.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gtk/Widgets/Sheet.dcl')
-rw-r--r--src/Gtk/Widgets/Sheet.dcl23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Gtk/Widgets/Sheet.dcl b/src/Gtk/Widgets/Sheet.dcl
index a567276..88197ef 100644
--- a/src/Gtk/Widgets/Sheet.dcl
+++ b/src/Gtk/Widgets/Sheet.dcl
@@ -1,6 +1,7 @@
definition module Gtk.Widgets.Sheet
from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState, :: GtkM
+from Gtk.Tune import class tune
from Gtk.Widgets import
class gtkWidget, :: GtkWidget,
class gtkContainer, :: GtkContainer
@@ -11,3 +12,25 @@ instance gtkWidget GtkSheet
instance gtkContainer GtkSheet
newSheet :: !Int !Int !String -> GtkM GtkSheet
+
+:: GtkSheetColumnResizability
+ = ColumnsResizable
+ | ColumnsFixedSize
+
+:: GtkSheetColumnSensitity
+ = ColumnsSensitive
+ | ColumnsInsensitive
+
+:: GtkSheetRowResizability
+ = RowsResizable
+ | RowsFixedSize
+
+:: GtkSheetRowSensitity
+ = RowsSensitive
+ | RowsInsensitive
+
+instance tune
+ GtkSheet GtkSheetColumnResizability,
+ GtkSheet GtkSheetColumnSensitity,
+ GtkSheet GtkSheetRowResizability,
+ GtkSheet GtkSheetRowSensitity