gtk: add some comments for show_child_exited

This commit is contained in:
Jeffrey C. Ollie
2025-07-08 12:19:12 -05:00
parent 49243db4b3
commit 8cea111329

View File

@ -2504,6 +2504,9 @@ fn gtkStreamEnded(media_file: *gtk.MediaFile, _: *gobject.ParamSpec, _: ?*anyopa
media_file.unref();
}
/// Show native GUI element with a notification that the child process has
/// closed. Return `true` if we are able to show the GUI notification, and
/// `false` if we are not.
pub fn showChildExited(self: *Surface, info: apprt.surface.Message.ChildExited) error{}!bool {
if (!adw_version.supportsBanner()) return false;