Struct xcb::base::Reply [−][src]
pub struct Reply<T> {
pub ptr: *mut T,
}
Expand description
Wraps a pointer to a xcb_*_reply_t
the pointer is freed when the Reply
goes out of scope
Fields
ptr: *mut T
Implementations
Planes to be preserved if possible.
Value to be used when restoring planes.
Boolean, should bits under be saved?
Window managers should ignore this window if override_redirect
is 1.
Set of events all people have interest in.
My event mask.
Set of events that should not propagate.
The X coordinate of drawable
. If drawable
is a window, the coordinate
specifies the upper-left outer corner relative to its parent’s origin. If
drawable
is a pixmap, the X coordinate is always 0.
The Y coordinate of drawable
. If drawable
is a window, the coordinate
specifies the upper-left outer corner relative to its parent’s origin. If
drawable
is a pixmap, the Y coordinate is always 0.
The border width (in pixels).
Specifies whether the data should be viewed as a list of 8-bit, 16-bit, or 32-bit quantities. Possible values are 8, 16, and 32. This information allows the X server to correctly perform byte-swap operations as necessary.
The number of bytes remaining to be read in the property if a partial read was performed.
The length of value. You should use the corresponding accessor instead of this field.
If same_screen
is False, then the pointer is not on the same screen as the
argument window, child
is None, and win_x
and win_y
are zero. If
same_screen
is True, then win_x
and win_y
are the pointer coordinates
relative to the argument window’s origin, and child is the child containing the
pointer, if any.
The child window containing the pointer, if any, if same_screen
is true. If
same_screen
is false, XCB_NONE
is returned.
The pointer X coordinate, relative to child
, if same_screen
is true. Zero
otherwise.
The pointer Y coordinate, relative to child
, if same_screen
is true. Zero
otherwise.
pub fn events(&self) -> TimecoordIteratorⓘNotable traits for TimecoordIteratorimpl Iterator for TimecoordIterator type Item = Timecoord;
impl Iterator for TimecoordIterator type Item = Timecoord;
minimum bounds over all existing char
maximum bounds over all existing char
first character
last character
char to print for undefined character
how many properties there are
flag if all characters have nonzero size
baseline to top edge of raster
baseline to bottom edge of raster
pub fn properties(&self) -> FontpropIteratorⓘNotable traits for FontpropIteratorimpl Iterator for FontpropIterator type Item = Fontprop;
impl Iterator for FontpropIterator type Item = Fontprop;
pub fn char_infos(&self) -> CharinfoIteratorⓘNotable traits for CharinfoIteratorimpl Iterator for CharinfoIterator type Item = Charinfo;
impl Iterator for CharinfoIterator type Item = Charinfo;
pub fn names(&self) -> StrIterator<'_>ⓘNotable traits for StrIterator<'a>impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
minimum bounds over all existing char
maximum bounds over all existing char
first character
last character
char to print for undefined character
how many properties there are
flag if all characters have nonzero size
baseline to top edge of raster
baseline to bottom edge of raster
An indication of how many more fonts will be returned. This is only a hint and may be larger or smaller than the number of fonts actually returned. A zero value does not guarantee that no more fonts will be returned.
pub fn properties(&self) -> FontpropIteratorⓘNotable traits for FontpropIteratorimpl Iterator for FontpropIterator type Item = Fontprop;
impl Iterator for FontpropIterator type Item = Fontprop;
pub fn path(&self) -> StrIterator<'_>ⓘNotable traits for StrIterator<'a>impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
pub fn colors(&self) -> RgbIteratorⓘNotable traits for RgbIteratorimpl Iterator for RgbIterator type Item = Rgb;
impl Iterator for RgbIterator type Item = Rgb;
The major opcode for requests.
The first event code, if any.
The first error code, if any.
pub fn names(&self) -> StrIterator<'_>ⓘNotable traits for StrIterator<'a>impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
pub fn hosts(&self) -> HostIterator<'_>ⓘNotable traits for HostIterator<'a>impl<'a> Iterator for HostIterator<'a> type Item = Host<'a>;
impl<'a> Iterator for HostIterator<'a> type Item = Host<'a>;