12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTDefaultVisual (display, screen_number)Visual *XDefaultVisual (display, screen_number)Display *display;int screen_number;displayscreen_numberSpecifies the connection to the X server.Specifies the appropriate screen number on the host server.Both return the default visual type for the specified screen. For further information about visualtypes, see section 3.1.DisplayCells (display, screen_number)int XDisplayCells(display, screen_number)Display *display;int screen_number;displayscreen_numberSpecifies the connection to the X server.Specifies the appropriate screen number on the host server.Both return the number of entries in the default colormap.DisplayPlanes (display, screen_number)int XDisplayPlanes(display, screen_number)Display *display;int screen_number;displayscreen_numberSpecifies the connection to the X server.Specifies the appropriate screen number on the host server.Both return the depth of the root window ofthe specified screen. For anexplanation of depth, seethe glossary.14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!