Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




Properties And Atoms
next up previous contents
Next: Events Up: Some Basic Xlib Previous: Client Resources

Properties And Atoms

Properties and atoms provide a method of inter-client communication and data transfer. A property is a packet of information belonging to a window. The information is stored in the server and made available to all clients running on the server. Properties have names such as WM_HINTS, which can be translated by the Xlib routine XInternAtom in to an ID called an atom. Clients can then refer to properties using an atom rather than an arbitrary length string name. Of course a property name and the corresponding atom refer to a particular type of property of which several windows may have an instance. So, in order to uniquely identify a particular property for a particular window, a client must specify an atom and a window ID.

One important use of properties is communication between clients and the window manager, which is itself a client. Information regarding the preferred size and location etc. of a clients main window can be passed to the window manager in this way. Such properties are known as standard properties.



JR Pitchers
Wed May 3 16:45:04 BST 1995


With any suggestions or questions please feel free to contact us