Skip to main content

set_icon

Function set_icon 

Source
pub fn set_icon(scope: IconScope, source: &IconSource) -> Result<(), IconError>
Expand description

Set the icon on the window named by scope.

Returns IconError::Unsupported when that window does not accept icons, rather than succeeding without effect.