summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gtk/Widgets.dcl')
-rw-r--r--src/Gtk/Widgets.dcl28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl
index 791796e..ee290c4 100644
--- a/src/Gtk/Widgets.dcl
+++ b/src/Gtk/Widgets.dcl
@@ -4,7 +4,7 @@ from StdMaybe import :: Maybe
from System._Pointer import :: Pointer
-from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState
+from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState, :: GtkM
from Gtk.Types import :: GtkDirection, :: GtkExpand, :: GtkLabel,
:: GtkMargins, :: GtkOrientation, :: GtkPanedHandleWidth, :: GtkResize,
:: GtkShrink
@@ -18,7 +18,7 @@ class gtkWidget a :: !a -> GtkWidget
instance gtkWidget GtkWidget
instance ptr GtkWidget
-setMargins :: !GtkMargins !w -> State GtkState () | gtkWidget w
+setMargins :: !GtkMargins !w -> GtkM () | gtkWidget w
:: GtkContainer
@@ -27,44 +27,44 @@ class gtkContainer a :: !a -> GtkContainer
instance gtkWidget GtkContainer
instance gtkContainer GtkContainer
-addToContainer :: !w !c -> State GtkState () | gtkWidget w & gtkContainer c
+addToContainer :: !w !c -> GtkM () | gtkWidget w & gtkContainer c
:: GtkBox
instance gtkWidget GtkBox
instance gtkContainer GtkBox
-newBox :: !GtkOrientation !Int -> State GtkState GtkBox
-packBox :: !w !GtkBox !GtkDirection !GtkExpand -> State GtkState () | gtkWidget w
+newBox :: !GtkOrientation !Int -> GtkM GtkBox
+packBox :: !w !GtkBox !GtkDirection !GtkExpand -> GtkM () | gtkWidget w
:: GtkFrame
instance gtkWidget GtkFrame
instance gtkContainer GtkFrame
-newFrame :: !GtkLabel !w -> State GtkState GtkFrame | gtkWidget w
-framed :: !GtkLabel !(State GtkState w) -> State GtkState (w, GtkFrame) | gtkWidget w
+newFrame :: !GtkLabel !w -> GtkM GtkFrame | gtkWidget w
+framed :: !GtkLabel !(GtkM w) -> GtkM (w, GtkFrame) | gtkWidget w
:: GtkPaned
instance gtkWidget GtkPaned
instance gtkContainer GtkPaned
-newPaned :: !GtkOrientation !GtkPanedHandleWidth -> State GtkState GtkPaned
-packPane1 :: !w !GtkPaned !GtkResize !GtkShrink -> State GtkState () | gtkWidget w
-packPane2 :: !w !GtkPaned !GtkResize !GtkShrink -> State GtkState () | gtkWidget w
+newPaned :: !GtkOrientation !GtkPanedHandleWidth -> GtkM GtkPaned
+packPane1 :: !w !GtkPaned !GtkResize !GtkShrink -> GtkM () | gtkWidget w
+packPane2 :: !w !GtkPaned !GtkResize !GtkShrink -> GtkM () | gtkWidget w
:: GtkTextBuffer
-insertAtCursor :: !String !GtkTextBuffer -> State GtkState ()
+insertAtCursor :: !String !GtkTextBuffer -> GtkM ()
:: GtkTextView
instance gtkWidget GtkTextView
instance gtkContainer GtkTextView
-newTextView :: State GtkState GtkTextView
+newTextView :: GtkM GtkTextView
getTextBuffer :: !GtkTextView -> GtkTextBuffer
:: GtkWindow
instance gtkWidget GtkWindow
instance gtkContainer GtkWindow
-newPopup :: !String !(Maybe (Int,Int)) -> State GtkState GtkWindow
-newWindow :: !String !(Maybe (Int,Int)) -> State GtkState GtkWindow
+newPopup :: !String !(Maybe (Int,Int)) -> GtkM GtkWindow
+newWindow :: !String !(Maybe (Int,Int)) -> GtkM GtkWindow