summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets.dcl
diff options
context:
space:
mode:
authorCamil Staps2019-10-28 11:02:26 +0100
committerCamil Staps2019-10-28 11:04:05 +0100
commit27d2121e752f33a56ad2a4b4d0d84ff080171b76 (patch)
tree8033d22d7e4f8bfab5043cb22cbaeaeca439f52f /src/Gtk/Widgets.dcl
parentRemove ptr class (diff)
Add addButton for GtkDialog
Diffstat (limited to 'src/Gtk/Widgets.dcl')
-rw-r--r--src/Gtk/Widgets.dcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl
index d85d93e..c931a53 100644
--- a/src/Gtk/Widgets.dcl
+++ b/src/Gtk/Widgets.dcl
@@ -59,6 +59,8 @@ instance tune d GtkModal | gtkDialog d
newDialog :: !GtkWindow -> GtkM GtkDialog
runDialog :: !d -> GtkM GtkResponse | gtkDialog d
+addButton :: !String !GtkResponse !d -> GtkM GtkButton | gtkDialog d
+
getContentArea :: !d -> GtkBox | gtkDialog d
newMessageDialog :: !GtkWindow !GtkMessageType !GtkButtonsType !String -> GtkM GtkDialog