Struct rute::auto::abstract_button_ffi::RUAbstractButtonFuncs
source · #[repr(C)]pub struct RUAbstractButtonFuncs {Show 48 fields
pub set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char),
pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase),
pub icon: extern "C" fn(self_c: *const RUBase) -> RUIcon,
pub icon_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub set_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase),
pub shortcut: extern "C" fn(self_c: *const RUBase) -> RUKeySequence,
pub set_checkable: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub is_checkable: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_checked: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_down: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub is_down: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_auto_repeat: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub auto_repeat: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_auto_repeat_delay: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub auto_repeat_delay: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_auto_repeat_interval: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub auto_repeat_interval: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_auto_exclusive: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub auto_exclusive: extern "C" fn(self_c: *const RUBase) -> bool,
pub group: extern "C" fn(self_c: *const RUBase) -> RUButtonGroup,
pub set_icon_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase),
pub animate_click: extern "C" fn(self_c: *const RUBase, msec: i32),
pub click: extern "C" fn(self_c: *const RUBase),
pub toggle: extern "C" fn(self_c: *const RUBase),
pub set_checked: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub set_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_released_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_clicked_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_toggled_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_paint_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_paint_event: extern "C" fn(object: *const RUBase),
pub set_key_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_key_press_event: extern "C" fn(object: *const RUBase),
pub set_key_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_key_release_event: extern "C" fn(object: *const RUBase),
pub set_mouse_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_mouse_press_event: extern "C" fn(object: *const RUBase),
pub set_mouse_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_mouse_release_event: extern "C" fn(object: *const RUBase),
pub set_mouse_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_mouse_move_event: extern "C" fn(object: *const RUBase),
pub set_focus_in_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_focus_in_event: extern "C" fn(object: *const RUBase),
pub set_focus_out_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_focus_out_event: extern "C" fn(object: *const RUBase),
pub set_change_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_change_event: extern "C" fn(object: *const RUBase),
}
Fields
set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase)
icon: extern "C" fn(self_c: *const RUBase) -> RUIcon
icon_size: extern "C" fn(self_c: *const RUBase) -> RUSize
set_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase)
shortcut: extern "C" fn(self_c: *const RUBase) -> RUKeySequence
set_checkable: extern "C" fn(self_c: *const RUBase, arg0: bool)
is_checkable: extern "C" fn(self_c: *const RUBase) -> bool
is_checked: extern "C" fn(self_c: *const RUBase) -> bool
set_down: extern "C" fn(self_c: *const RUBase, arg0: bool)
is_down: extern "C" fn(self_c: *const RUBase) -> bool
set_auto_repeat: extern "C" fn(self_c: *const RUBase, arg0: bool)
auto_repeat: extern "C" fn(self_c: *const RUBase) -> bool
set_auto_repeat_delay: extern "C" fn(self_c: *const RUBase, arg0: i32)
auto_repeat_delay: extern "C" fn(self_c: *const RUBase) -> i32
set_auto_repeat_interval: extern "C" fn(self_c: *const RUBase, arg0: i32)
auto_repeat_interval: extern "C" fn(self_c: *const RUBase) -> i32
set_auto_exclusive: extern "C" fn(self_c: *const RUBase, arg0: bool)
auto_exclusive: extern "C" fn(self_c: *const RUBase) -> bool
group: extern "C" fn(self_c: *const RUBase) -> RUButtonGroup
set_icon_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase)
animate_click: extern "C" fn(self_c: *const RUBase, msec: i32)
click: extern "C" fn(self_c: *const RUBase)
toggle: extern "C" fn(self_c: *const RUBase)
set_checked: extern "C" fn(self_c: *const RUBase, arg0: bool)
set_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_released_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_clicked_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_toggled_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_paint_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_paint_event: extern "C" fn(object: *const RUBase)
set_key_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_key_press_event: extern "C" fn(object: *const RUBase)
set_key_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_key_release_event: extern "C" fn(object: *const RUBase)
set_mouse_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_mouse_press_event: extern "C" fn(object: *const RUBase)
set_mouse_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_mouse_release_event: extern "C" fn(object: *const RUBase)
set_mouse_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_mouse_move_event: extern "C" fn(object: *const RUBase)
set_focus_in_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_focus_in_event: extern "C" fn(object: *const RUBase)
set_focus_out_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_focus_out_event: extern "C" fn(object: *const RUBase)
set_change_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_change_event: extern "C" fn(object: *const RUBase)
Trait Implementations
sourceimpl Clone for RUAbstractButtonFuncs
impl Clone for RUAbstractButtonFuncs
sourcefn clone(&self) -> RUAbstractButtonFuncs
fn clone(&self) -> RUAbstractButtonFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUAbstractButtonFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUAbstractButtonFuncs
impl Send for RUAbstractButtonFuncs
impl Sync for RUAbstractButtonFuncs
impl Unpin for RUAbstractButtonFuncs
impl UnwindSafe for RUAbstractButtonFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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