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 DRAFTchar *XLookUpAssoc(display, table, x_id)Display *display;XAssocTable *table;XID x_id;displaytablex_idSpecifies the connection to the X server.Specifies the assoc table.Specifies the X resource ID.The XLookUpAssoc function retrieves the data stored in an XAssocTable by its XID. If anappropriately matching XID can be found in the table, XLookUpAssoc returns the data associatedwith it. If the x_id cannot be found in the table, it returns NULL.To delete an entry from a given XAssocTable, use XDeleteAssoc.XDeleteAssoc (display, table, x_id)Display *display;XAssocTable *table;XID x_id;displaytablex_idSpecifies the connection to the X server.Specifies the assoc table.Specifies the X resource ID.The XDeleteAssoc function deletes an association in an XAssocTable keyed on its XID. Redundantdeletes (and deletes of nonexistent XIDs) are ignored. Deleting associations in no wayimpairs the performance of an XAssocTable.To free the memory associated with a given XAssocTable, use XDestroyAssocTable.XDestroyAssocTable (table)XAssocTable *table;tableSpecifies the assoc table.473

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

Saved successfully!

Ooh no, something went wrong!