gdk.Atom

Undocumented in source.

Public Imports

gdk.c.types
public import gdk.c.types;
gtkc.gdktypes
public import gtkc.gdktypes;

Members

Functions

intern
GdkAtom intern(string atomName, bool onlyIfExists)

Finds or creates an atom corresponding to a given string.

internStaticString
GdkAtom internStaticString(string atomName)

Finds or creates an atom corresponding to a given string.

name
string name(GdkAtom atom)

Determines the string corresponding to an atom.

propertyChange
void propertyChange(Window window, GdkAtom property, GdkAtom type, int format, GdkPropMode mode, char[] data)

Changes the contents of a property on a window.

propertyDelete
void propertyDelete(Window window, GdkAtom property)

Deletes a property from a window.

propertyGet
bool propertyGet(Window window, GdkAtom property, GdkAtom type, gulong offset, gulong length, int pdelete, GdkAtom actualPropertyType, int actualFormat, char[] data)

Retrieves a portion of the contents of a property. If the property does not exist, then the function returns FALSE, and GDK_NONE will be stored in actual_property_type.

textPropertyToUtf8ListForDisplay
int textPropertyToUtf8ListForDisplay(Display display, GdkAtom encoding, int format, char[] text, string[] list)

Converts a text property in the given encoding to a list of UTF-8 strings.

utf8ToStringTarget
string utf8ToStringTarget(string str)

Converts an UTF-8 string into the best possible representation as a STRING. The representation of characters not in STRING is not specified; it may be as pseudo-escape sequences \x{ABCD}, or it may be in some other form of approximation.