GDK Reference Manualwindow : a GdkWindow. property : the property to retrieve. type : the desired property type, or 0, if any type of data is acceptable. If this does not match the actual type, then actual_format and actual_length will be filled in, a warning will be printed to stderr and no data will be returned. offset : the offset into the property at which to begin retrieving data. (in 4 byte units!) length : the length of the data to delete. (in bytes, but the actual retrieved length will be the next integer multiple multiple of four greater than this!) pdelete : if TRUE, delete the property after retrieving the data. actual_property_type : location to store the actual type of the property. actual_format : location to store the actual format of the data. actual_length : location to store the length of the retrieved data, in bytes. data : location to store a pointer to the data. The retrieved data should be freed with g_free() when you are finished using it. Returns : TRUE if data was sucessfully received and stored in data, otherwise FALSE.
Change the contents of a property on a window. window : a GdkWindow. property : the property to change. type : the new type for the property. If mode is GDK_PROP_MODE_REPLACE or GDK_PROP_MODE_APPEND, then this must match the existing type or an error will occur. format : the new format for the property. If mode is GDK_PROP_MODE_REPLACE or GDK_PROP_MODE_APPEND, then this must match the existing format or an error will occur. mode : a value describing how the new data is to be combined with the current data. data : the data (a guchar * gushort *, or gulong *, depending on format), cast to a guchar *. nelements : the number of elements of size determined by the format, contained in data. enum GdkPropMode
Describes how existing data is combined with new data when using gdk_property_change(). GDK_PROP_MODE_REPLACE the new data replaces the existing data. GDK_PROP_MODE_PREPEND the new data is prepended to the existing data. GDK_PROP_MODE_APPEND the new data is appended to the existing data.
Delete a property from a window. window : a GdkWindow. property : the property to delete. Threads Name Threads -- Synopsis
Description Details
Input Name Input -- Callbacks on file descriptors. Synopsis
Description The functions in this section are used to establish callbacks when some condition becomes true for a file descriptor. They are currently just wrappers around the IO Channel facility. Details
|