Struct xcb::x::ColormapNotifyEvent
source · [−]pub struct ColormapNotifyEvent { /* private fields */ }
Expand description
the colormap for some window changed
Implementations
sourceimpl ColormapNotifyEvent
impl ColormapNotifyEvent
pub fn new(
window: Window,
colormap: Colormap,
new_: bool,
state: ColormapState
) -> ColormapNotifyEvent
pub fn response_type(&self) -> u8
pub fn sequence(&self) -> u16
sourcepub fn window(&self) -> Window
pub fn window(&self) -> Window
The window whose associated colormap is changed, installed or uninstalled.
sourcepub fn colormap(&self) -> Colormap
pub fn colormap(&self) -> Colormap
The colormap which is changed, installed or uninstalled. This is XCB_NONE
when the colormap is changed by a call to FreeColormap
.
pub fn new_(&self) -> bool
sourcepub fn state(&self) -> ColormapState
pub fn state(&self) -> ColormapState
Trait Implementations
sourceimpl BaseEvent for ColormapNotifyEvent
impl BaseEvent for ColormapNotifyEvent
sourceimpl Debug for ColormapNotifyEvent
impl Debug for ColormapNotifyEvent
sourceimpl Drop for ColormapNotifyEvent
impl Drop for ColormapNotifyEvent
sourceimpl Raw<xcb_generic_event_t> for ColormapNotifyEvent
impl Raw<xcb_generic_event_t> for ColormapNotifyEvent
impl Send for ColormapNotifyEvent
impl Sync for ColormapNotifyEvent
Auto Trait Implementations
impl RefUnwindSafe for ColormapNotifyEvent
impl Unpin for ColormapNotifyEvent
impl UnwindSafe for ColormapNotifyEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more