summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets.dcl
diff options
context:
space:
mode:
authorCamil Staps2019-10-29 17:29:09 +0100
committerCamil Staps2019-10-29 17:29:09 +0100
commitcf8252abf24fa76c0a6eba362f66b1f1f3358fa3 (patch)
treec6e15e96c2a1da9ced93de41082bb02aa0de2461 /src/Gtk/Widgets.dcl
parentFix toInt and fromInt for GtkResponse (diff)
Add general instance tune w GtkSizeRequest | gtkWidget w, remove size parameter on windows and popups
Diffstat (limited to 'src/Gtk/Widgets.dcl')
-rw-r--r--src/Gtk/Widgets.dcl8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl
index 4d684ef..cbc8148 100644
--- a/src/Gtk/Widgets.dcl
+++ b/src/Gtk/Widgets.dcl
@@ -14,7 +14,8 @@ from Gtk.Types import
:: GtkExpand, :: GtkFileChooserAction, :: GtkMargins, :: GtkMessageType,
:: GtkModal, :: GtkOrientation, :: GtkPanedHandleWidth, :: GtkResize,
:: GtkResponse, :: GtkScrollbarPolicy, :: GtkSensitivity, :: GtkShrink,
- :: GtkSpacing, :: GtkStylePriority, :: GtkText, :: GtkTitle, :: GtkWrapMode
+ :: GtkSizeRequest, :: GtkSpacing, :: GtkStylePriority, :: GtkText,
+ :: GtkTitle, :: GtkWrapMode
:: GtkAccelGroup =: GtkAccelGroup Pointer
@@ -226,6 +227,7 @@ instance tune w GtkSensitivity | gtkWidget w
instance tune w (GtkAlign,GtkAlign) | gtkWidget w
instance tune w (GtkExpand,GtkExpand) | gtkWidget w
instance tune w GtkAccelerator | gtkWidget w
+instance tune w GtkSizeRequest | gtkWidget w
:: GtkWindow =: GtkWindow Pointer
@@ -235,8 +237,8 @@ instance gtkWidget GtkWindow
instance gtkContainer GtkWindow
instance gtkWindow GtkWindow
-newPopup :: !(Maybe (Int,Int)) -> GtkM GtkWindow
-newWindow :: !(Maybe (Int,Int)) -> GtkM GtkWindow
+newPopup :: GtkM GtkWindow
+newWindow :: GtkM GtkWindow
addCSSFromFile :: !GtkStylePriority !FilePath !GtkWindow -> GtkM Bool
instance tune w GtkTitle | gtkWindow w