From a4311ae9c4bde85a060d918e33991dba50915f6c Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 25 Oct 2019 08:49:23 +0200 Subject: Add hide function for widgets and ptr instances for GtkFrame and GtkTextBuffer --- src/Gtk/Internal.icl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Gtk/Internal.icl') 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" -- cgit v1.2.3