Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Add documentation to showall (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick authored Jan 16, 2022
1 parent cea01eb commit d377ac6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d377ac6

Please sign in to comment.