1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use glib::translate::*;
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct EventPadGroupMode(crate::Event);
event_wrapper!(EventPadGroupMode, GdkEventPadGroupMode);
event_subtype!(EventPadGroupMode, ffi::GDK_PAD_GROUP_MODE);
impl EventPadGroupMode {
#[doc(alias = "get_time")]
pub fn time(&self) -> u32 {
self.as_ref().time
}
#[doc(alias = "get_group")]
pub fn group(&self) -> u32 {
self.as_ref().group
}
#[doc(alias = "get_mode")]
pub fn mode(&self) -> u32 {
self.as_ref().mode
}
}