Closed russel closed 4 years ago
For Window:
Window
fn set_title(&self, title: &str)
for NativeDialog:
NativeDialog
but for HeaderBar:
HeaderBar
fn set_title(&self, title: Option<&str>)
is the Option needed in this last case?
Option
Yes, see the docs: https://developer.gnome.org/gtk3/stable/GtkHeaderBar.html#gtk-header-bar-set-title . It allows NULL.
NULL
For
Window
:for
NativeDialog
:but for
HeaderBar
:is the
Option
needed in this last case?