Struct xcb::x::ColormapNotifyEvent
source · pub struct ColormapNotifyEvent { /* private fields */ }
Expand description
the colormap for some window changed
Implementations§
source§impl 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§
source§impl BaseEvent for ColormapNotifyEvent
impl BaseEvent for ColormapNotifyEvent
source§impl Debug for ColormapNotifyEvent
impl Debug for ColormapNotifyEvent
source§impl Drop for ColormapNotifyEvent
impl Drop for ColormapNotifyEvent
source§impl 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 Freeze for ColormapNotifyEvent
impl RefUnwindSafe for ColormapNotifyEvent
impl Unpin for ColormapNotifyEvent
impl UnwindSafe for ColormapNotifyEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more