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

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

Attempts to load a cursor theme from given name.

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

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

Panics: