Function relm4::set_global_css_from_file
source · pub fn set_global_css_from_file<P: AsRef<Path>>(path: P)
Expand description
Sets a custom global stylesheet from a file.
If the file doesn’t exist a tracing::error
message will be emitted.
Panics
This function panics if RelmApp::new
wasn’t called before
or this function is not called on the thread that also called RelmApp::new
.