Struct rute::auto::application_ffi::RUApplicationFuncs
source · #[repr(C)]pub struct RUApplicationFuncs {Show 45 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub style: extern "C" fn(self_c: *const RUBase) -> RUStyle,
pub set_style: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_style_2: extern "C" fn(self_c: *const RUBase, arg0: *const c_char) -> RUStyle,
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 palette: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPalette,
pub font: extern "C" fn(self_c: *const RUBase) -> RUFont,
pub font_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUFont,
pub set_window_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase),
pub window_icon: extern "C" fn(self_c: *const RUBase) -> RUIcon,
pub desktop: extern "C" fn(self_c: *const RUBase) -> RUDesktopWidget,
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, act: *const RUBase),
pub widget_at: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget,
pub widget_at_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget,
pub top_level_at: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget,
pub top_level_at_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget,
pub beep: extern "C" fn(self_c: *const RUBase),
pub alert: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, duration: i32),
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 is_effect_enabled: extern "C" fn(self_c: *const RUBase, arg0: u32) -> bool,
pub set_effect_enabled: extern "C" fn(self_c: *const RUBase, arg0: u32, enable: bool),
pub exec: extern "C" fn(self_c: *const RUBase) -> i32,
pub style_sheet: extern "C" fn(self_c: *const RUBase) -> *const c_char,
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),
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),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
style: extern "C" fn(self_c: *const RUBase) -> RUStyle
set_style: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_style_2: extern "C" fn(self_c: *const RUBase, arg0: *const c_char) -> RUStyle
color_spec: extern "C" fn(self_c: *const RUBase) -> i32
set_color_spec: extern "C" fn(self_c: *const RUBase, arg0: i32)
palette: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPalette
font: extern "C" fn(self_c: *const RUBase) -> RUFont
font_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUFont
set_window_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase)
window_icon: extern "C" fn(self_c: *const RUBase) -> RUIcon
desktop: extern "C" fn(self_c: *const RUBase) -> RUDesktopWidget
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, act: *const RUBase)
widget_at: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget
widget_at_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget
top_level_at: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget
top_level_at_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget
beep: extern "C" fn(self_c: *const RUBase)
alert: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, duration: i32)
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
is_effect_enabled: extern "C" fn(self_c: *const RUBase, arg0: u32) -> bool
set_effect_enabled: extern "C" fn(self_c: *const RUBase, arg0: u32, enable: bool)
exec: extern "C" fn(self_c: *const RUBase) -> i32
style_sheet: extern "C" fn(self_c: *const RUBase) -> *const c_char
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)
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)
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