Gdk.getUseXshm

Warning gdk_get_use_xshm is deprecated and should not be used in newly-written code. Returns TRUE if GDK will attempt to use the MIT-SHM shared memory extension. The shared memory extension is used for GdkImage, and consequently for GdkRGB. It enables much faster drawing by communicating with the X server through SYSV shared memory calls. However, it can only be used if the X client and server are on the same machine and the server supports it.

class Gdk
static
int
getUseXshm
()

Return Value

Type: int

TRUE if use of the MIT shared memory extension will be attempted.

Meta