Struct leanshot_xlib::Window[][src]

pub struct Window { /* fields omitted */ }

A wrapper around a window handle.

Methods

impl Window
[src]

Create a new window

Create a new Window instance from an existing ID

Get window attributes.

Get the raw window handle

Get image

Change window property

Trait Implementations

impl Copy for Window
[src]

impl Clone for Window
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Window
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Window
[src]

impl GetDisplay for Window
[src]

Get the current display

impl Drawable for Window
[src]

Get drawable handle

Capture a snapshot of this drawable, clipped by rect.

Auto Trait Implementations

impl !Send for Window

impl !Sync for Window