[][src]Function wayland_client::cursor::load_theme

pub fn load_theme(name: Option<&str>, size: u32, shm: &WlShm) -> CursorTheme

Attempts to load a cursor theme.

If no name is given or the requested theme is not found, the default theme will be loaded.

Other arguments are the requested size for the cursor images (ex: 16) and a handle to the global WlShm object.

Panics