From d377ac660bf6ef089033ce202a1bca16304aad11 Mon Sep 17 00:00:00 2001 From: Nicholas Bauer Date: Sun, 16 Jan 2022 03:56:26 -0500 Subject: [PATCH] Add documentation to showall (#612) --- src/base.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/base.jl b/src/base.jl index e5f464ed..4abc2dec 100644 --- a/src/base.jl +++ b/src/base.jl @@ -46,6 +46,14 @@ function show(w::GtkWidget) @sigatom ccall((:gtk_widget_show, libgtk), Nothing, (Ptr{GObject},), w) w end + +""" + showall(w::Gtk.GtkWidget) +Recursively show a widget, and any child widgets (if the widget is a container). + +This function overrides the `visible` property in all widgets in the hierarchy. Widgets can be +protected from `showall` by setting the `no_show_all` property on the object to `true`. +""" function showall(w::GtkWidget) handle_auto_idle(w) @sigatom ccall((:gtk_widget_show_all, libgtk), Nothing, (Ptr{GObject},), w)