summaryrefslogtreecommitdiff
path: root/src/Gtk/Internal.icl
diff options
context:
space:
mode:
authorCamil Staps2019-10-25 08:49:23 +0200
committerCamil Staps2019-10-25 08:49:23 +0200
commita4311ae9c4bde85a060d918e33991dba50915f6c (patch)
treed7ebaae42ffa964b2b8060dc7b5c8dba6999dd55 /src/Gtk/Internal.icl
parentAdd GtkCheckMenuItem (diff)
Add hide function for widgets and ptr instances for GtkFrame and GtkTextBuffer
Diffstat (limited to 'src/Gtk/Internal.icl')
-rw-r--r--src/Gtk/Internal.icl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Gtk/Internal.icl b/src/Gtk/Internal.icl
index d0993bf..0691bc9 100644
--- a/src/Gtk/Internal.icl
+++ b/src/Gtk/Internal.icl
@@ -390,6 +390,11 @@ gtk_widget_get_style_context widget env = code {
ccall gtk_widget_get_style_context "p:p:A"
}
+gtk_widget_hide :: !Pointer !.a -> .a
+gtk_widget_hide widget env = code {
+ ccall gtk_widget_hide "p:V:A"
+}
+
gtk_widget_set_margin_bottom :: !Pointer !Int !.a -> .a
gtk_widget_set_margin_bottom widget padding env = code {
ccall gtk_widget_set_margin_bottom "pI:V:A"