MCPcopy Create free account
hub / github.com/bread-graphics/breadx / create_window

Function create_window

breadx/examples/xclock.rs:275–346  ·  view source on GitHub ↗

Create the window used for display. Returned values are the window ID, the pictformat ID, and an ID for the window's picture.

(
        dpy: &mut impl AsyncDisplay,
        width: u16,
        height: u16,
        title: &str,
        wm_protocols: xproto::Atom,
        wm_delete_window: xproto::Atom,
        formats: &rende

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

x11_gui_taskFunction · 0.85

Calls 4

pictformat_for_windowFunction · 0.85
default_screenMethod · 0.80
lenMethod · 0.80
generate_xidMethod · 0.45

Tested by

no test coverage detected