Struct rute::auto::application_ffi::RUApplicationFuncs
source · #[repr(C)]pub struct RUApplicationFuncs {Show 32 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub color_spec: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_color_spec: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub get_font: extern "C" fn(self_c: *const RUBase) -> RUFont,
pub active_popup_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub active_modal_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub focus_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub active_window: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub set_active_window: extern "C" fn(self_c: *const RUBase, actor: *const RUBase),
pub widget_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget,
pub top_level_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget,
pub beep: extern "C" fn(self_c: *const RUBase),
pub set_cursor_flash_time: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub cursor_flash_time: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_double_click_interval: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub double_click_interval: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_keyboard_input_interval: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub keyboard_input_interval: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_wheel_scroll_lines: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub wheel_scroll_lines: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_start_drag_time: extern "C" fn(self_c: *const RUBase, ms: i32),
pub start_drag_time: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_start_drag_distance: extern "C" fn(self_c: *const RUBase, l: i32),
pub start_drag_distance: extern "C" fn(self_c: *const RUBase) -> i32,
pub exec: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_about_to_quit_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_screen_added_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_style_sheet: extern "C" fn(self_c: *const RUBase, sheet: *const c_char),
pub set_auto_sip_enabled: extern "C" fn(self_c: *const RUBase, enabled: bool),
pub auto_sip_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
pub close_all_windows: extern "C" fn(self_c: *const RUBase),
pub about_qt: extern "C" fn(self_c: *const RUBase),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
color_spec: extern "C" fn(self_c: *const RUBase) -> i32
set_color_spec: extern "C" fn(self_c: *const RUBase, arg0: i32)
get_font: extern "C" fn(self_c: *const RUBase) -> RUFont
active_popup_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
active_modal_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
focus_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
active_window: extern "C" fn(self_c: *const RUBase) -> RUWidget
set_active_window: extern "C" fn(self_c: *const RUBase, actor: *const RUBase)
widget_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget
top_level_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget
beep: extern "C" fn(self_c: *const RUBase)
set_cursor_flash_time: extern "C" fn(self_c: *const RUBase, arg0: i32)
cursor_flash_time: extern "C" fn(self_c: *const RUBase) -> i32
set_double_click_interval: extern "C" fn(self_c: *const RUBase, arg0: i32)
double_click_interval: extern "C" fn(self_c: *const RUBase) -> i32
set_keyboard_input_interval: extern "C" fn(self_c: *const RUBase, arg0: i32)
keyboard_input_interval: extern "C" fn(self_c: *const RUBase) -> i32
set_wheel_scroll_lines: extern "C" fn(self_c: *const RUBase, arg0: i32)
wheel_scroll_lines: extern "C" fn(self_c: *const RUBase) -> i32
set_start_drag_time: extern "C" fn(self_c: *const RUBase, ms: i32)
start_drag_time: extern "C" fn(self_c: *const RUBase) -> i32
set_start_drag_distance: extern "C" fn(self_c: *const RUBase, l: i32)
start_drag_distance: extern "C" fn(self_c: *const RUBase) -> i32
exec: extern "C" fn(self_c: *const RUBase) -> i32
set_about_to_quit_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_screen_added_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_style_sheet: extern "C" fn(self_c: *const RUBase, sheet: *const c_char)
set_auto_sip_enabled: extern "C" fn(self_c: *const RUBase, enabled: bool)
auto_sip_enabled: extern "C" fn(self_c: *const RUBase) -> bool
close_all_windows: extern "C" fn(self_c: *const RUBase)
about_qt: extern "C" fn(self_c: *const RUBase)
Trait Implementations
sourceimpl Clone for RUApplicationFuncs
impl Clone for RUApplicationFuncs
sourcefn clone(&self) -> RUApplicationFuncs
fn clone(&self) -> RUApplicationFuncs
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 RUApplicationFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUApplicationFuncs
impl Send for RUApplicationFuncs
impl Sync for RUApplicationFuncs
impl Unpin for RUApplicationFuncs
impl UnwindSafe for RUApplicationFuncs
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