Struct rute::auto::widget_ffi::RUWidgetFuncs
source · #[repr(C)]pub struct RUWidgetFuncs {Show 267 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub win_id: extern "C" fn(self_c: *const RUBase) -> u64,
pub create_win_id: extern "C" fn(self_c: *const RUBase),
pub internal_win_id: extern "C" fn(self_c: *const RUBase) -> u64,
pub effective_win_id: extern "C" fn(self_c: *const RUBase) -> u64,
pub style: extern "C" fn(self_c: *const RUBase) -> RUStyle,
pub set_style: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub is_top_level: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_window: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_modal: extern "C" fn(self_c: *const RUBase) -> bool,
pub window_modality: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_window_modality: extern "C" fn(self_c: *const RUBase, window_modality: i32),
pub is_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_enabled_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> bool,
pub set_enabled: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub set_disabled: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub set_window_modified: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub x: extern "C" fn(self_c: *const RUBase) -> i32,
pub y: extern "C" fn(self_c: *const RUBase) -> i32,
pub pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub frame_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub width: extern "C" fn(self_c: *const RUBase) -> i32,
pub height: extern "C" fn(self_c: *const RUBase) -> i32,
pub rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub children_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub children_region: extern "C" fn(self_c: *const RUBase) -> RURegion,
pub minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub minimum_width: extern "C" fn(self_c: *const RUBase) -> i32,
pub minimum_height: extern "C" fn(self_c: *const RUBase) -> i32,
pub maximum_width: extern "C" fn(self_c: *const RUBase) -> i32,
pub maximum_height: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_minimum_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_minimum_size_2: extern "C" fn(self_c: *const RUBase, minw: i32, minh: i32),
pub set_maximum_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_maximum_size_2: extern "C" fn(self_c: *const RUBase, maxw: i32, maxh: i32),
pub set_minimum_width: extern "C" fn(self_c: *const RUBase, minw: i32),
pub set_minimum_height: extern "C" fn(self_c: *const RUBase, minh: i32),
pub set_maximum_width: extern "C" fn(self_c: *const RUBase, maxw: i32),
pub set_maximum_height: extern "C" fn(self_c: *const RUBase, maxh: i32),
pub size_increment: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub set_size_increment: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_size_increment_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32),
pub base_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub set_base_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_base_size_2: extern "C" fn(self_c: *const RUBase, basew: i32, baseh: i32),
pub set_fixed_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_fixed_size_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32),
pub set_fixed_width: extern "C" fn(self_c: *const RUBase, w: i32),
pub set_fixed_height: extern "C" fn(self_c: *const RUBase, h: i32),
pub map_to_global: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint,
pub map_from_global: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint,
pub map_to_parent: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint,
pub map_from_parent: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint,
pub map_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase) -> RUPoint,
pub map_from: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase) -> RUPoint,
pub window: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub native_parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub palette: extern "C" fn(self_c: *const RUBase) -> RUPalette,
pub set_palette: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_background_role: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub background_role: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_foreground_role: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub foreground_role: extern "C" fn(self_c: *const RUBase) -> i32,
pub font: extern "C" fn(self_c: *const RUBase) -> RUFont,
pub set_font: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub cursor: extern "C" fn(self_c: *const RUBase) -> RUCursor,
pub set_cursor: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub unset_cursor: extern "C" fn(self_c: *const RUBase),
pub set_mouse_tracking: extern "C" fn(self_c: *const RUBase, enable: bool),
pub has_mouse_tracking: extern "C" fn(self_c: *const RUBase) -> bool,
pub under_mouse: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_tablet_tracking: extern "C" fn(self_c: *const RUBase, enable: bool),
pub has_tablet_tracking: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_mask: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_mask_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub mask: extern "C" fn(self_c: *const RUBase) -> RURegion,
pub clear_mask: extern "C" fn(self_c: *const RUBase),
pub render: extern "C" fn(self_c: *const RUBase, target: *const RUBase, target_offset: *const RUBase, source_region: *const RUBase, render_flags: i32),
pub render_2: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, target_offset: *const RUBase, source_region: *const RUBase, render_flags: i32),
pub grab: extern "C" fn(self_c: *const RUBase, rectangle: *const RUBase) -> RUPixmap,
pub grab_gesture: extern "C" fn(self_c: *const RUBase, gtype: i32, flags: i32),
pub ungrab_gesture: extern "C" fn(self_c: *const RUBase, gtype: i32),
pub set_window_title: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub set_style_sheet: extern "C" fn(self_c: *const RUBase, style_sheet: *const c_char),
pub style_sheet: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub window_title: extern "C" fn(self_c: *const RUBase) -> *const c_char,
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 set_window_icon_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub window_icon_text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_window_role: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub window_role: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_window_file_path: extern "C" fn(self_c: *const RUBase, file_path: *const c_char),
pub window_file_path: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_window_opacity: extern "C" fn(self_c: *const RUBase, level: f32),
pub window_opacity: extern "C" fn(self_c: *const RUBase) -> f32,
pub is_window_modified: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_tool_tip: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub tool_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_tool_tip_duration: extern "C" fn(self_c: *const RUBase, msec: i32),
pub tool_tip_duration: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_status_tip: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub status_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_whats_this: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub whats_this: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub accessible_name: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_accessible_name: extern "C" fn(self_c: *const RUBase, name: *const c_char),
pub accessible_description: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_accessible_description: extern "C" fn(self_c: *const RUBase, description: *const c_char),
pub set_layout_direction: extern "C" fn(self_c: *const RUBase, direction: i32),
pub layout_direction: extern "C" fn(self_c: *const RUBase) -> i32,
pub unset_layout_direction: extern "C" fn(self_c: *const RUBase),
pub is_right_to_left: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_left_to_right: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_focus: extern "C" fn(self_c: *const RUBase),
pub is_active_window: extern "C" fn(self_c: *const RUBase) -> bool,
pub activate_window: extern "C" fn(self_c: *const RUBase),
pub clear_focus: extern "C" fn(self_c: *const RUBase),
pub set_focus_2: extern "C" fn(self_c: *const RUBase, reason: i32),
pub focus_policy: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_focus_policy: extern "C" fn(self_c: *const RUBase, policy: i32),
pub has_focus: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_tab_order: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase),
pub set_focus_proxy: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub focus_proxy: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub context_menu_policy: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_context_menu_policy: extern "C" fn(self_c: *const RUBase, policy: i32),
pub grab_mouse: extern "C" fn(self_c: *const RUBase),
pub grab_mouse_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub release_mouse: extern "C" fn(self_c: *const RUBase),
pub grab_keyboard: extern "C" fn(self_c: *const RUBase),
pub release_keyboard: extern "C" fn(self_c: *const RUBase),
pub grab_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase, context: i32) -> i32,
pub release_shortcut: extern "C" fn(self_c: *const RUBase, id: i32),
pub set_shortcut_enabled: extern "C" fn(self_c: *const RUBase, id: i32, enable: bool),
pub set_shortcut_auto_repeat: extern "C" fn(self_c: *const RUBase, id: i32, enable: bool),
pub mouse_grabber: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub keyboard_grabber: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub updates_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_updates_enabled: extern "C" fn(self_c: *const RUBase, enable: bool),
pub update: extern "C" fn(self_c: *const RUBase),
pub repaint: extern "C" fn(self_c: *const RUBase),
pub update_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32),
pub update_3: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub update_4: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub repaint_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32),
pub repaint_3: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub repaint_4: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_hidden: extern "C" fn(self_c: *const RUBase, hidden: bool),
pub show: extern "C" fn(self_c: *const RUBase),
pub hide: extern "C" fn(self_c: *const RUBase),
pub show_minimized: extern "C" fn(self_c: *const RUBase),
pub show_maximized: extern "C" fn(self_c: *const RUBase),
pub show_full_screen: extern "C" fn(self_c: *const RUBase),
pub show_normal: extern "C" fn(self_c: *const RUBase),
pub close: extern "C" fn(self_c: *const RUBase) -> bool,
pub raise: extern "C" fn(self_c: *const RUBase),
pub lower: extern "C" fn(self_c: *const RUBase),
pub stack_under: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub move_widget: extern "C" fn(self_c: *const RUBase, x: i32, y: i32),
pub move_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub resize: extern "C" fn(self_c: *const RUBase, w: i32, h: i32),
pub resize_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub adjust_size: extern "C" fn(self_c: *const RUBase),
pub is_visible: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_visible_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> bool,
pub is_hidden: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_minimized: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_maximized: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_full_screen: extern "C" fn(self_c: *const RUBase) -> bool,
pub window_state: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_window_state: extern "C" fn(self_c: *const RUBase, state: i32),
pub override_window_state: extern "C" fn(self_c: *const RUBase, state: i32),
pub size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub minimum_size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub size_policy: extern "C" fn(self_c: *const RUBase) -> RUSizePolicy,
pub set_size_policy: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_size_policy_2: extern "C" fn(self_c: *const RUBase, horizontal: i32, vertical: i32),
pub height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32,
pub has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool,
pub visible_region: extern "C" fn(self_c: *const RUBase) -> RURegion,
pub set_contents_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32),
pub set_contents_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase),
pub contents_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins,
pub contents_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub layout: extern "C" fn(self_c: *const RUBase) -> RULayout,
pub set_layout: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase),
pub set_parent_2: extern "C" fn(self_c: *const RUBase, parent: *const RUBase, f: i32),
pub scroll: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32),
pub scroll_2: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, arg0: *const RUBase),
pub focus_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub next_in_focus_chain: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub previous_in_focus_chain: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub accept_drops: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_accept_drops: extern "C" fn(self_c: *const RUBase, on: bool),
pub parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub set_window_flags: extern "C" fn(self_c: *const RUBase, gtype: i32),
pub window_flags: extern "C" fn(self_c: *const RUBase) -> i32,
pub override_window_flags: extern "C" fn(self_c: *const RUBase, wtype: i32),
pub find: extern "C" fn(self_c: *const RUBase, arg0: u64) -> RUWidget,
pub child_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget,
pub child_at_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget,
pub paint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine,
pub ensure_polished: extern "C" fn(self_c: *const RUBase),
pub is_ancestor_of: extern "C" fn(self_c: *const RUBase, child: *const RUBase) -> bool,
pub auto_fill_background: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_auto_fill_background: extern "C" fn(self_c: *const RUBase, enabled: bool),
pub backing_store: extern "C" fn(self_c: *const RUBase) -> RUBackingStore,
pub window_handle: extern "C" fn(self_c: *const RUBase) -> RUWindow,
pub create_window_container: extern "C" fn(self_c: *const RUBase, window: *const RUBase, parent: *const RUBase, flags: i32) -> RUWidget,
pub set_window_title_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_window_icon_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_window_icon_text_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_custom_context_menu_requested_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
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_double_click_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_mouse_double_click_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_wheel_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_wheel_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_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_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_enter_event: extern "C" fn(object: *const RUBase),
pub set_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_leave_event: extern "C" fn(object: *const RUBase),
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_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_move_event: extern "C" fn(object: *const RUBase),
pub set_resize_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_resize_event: extern "C" fn(object: *const RUBase),
pub set_close_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_close_event: extern "C" fn(object: *const RUBase),
pub set_context_menu_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_context_menu_event: extern "C" fn(object: *const RUBase),
pub set_tablet_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_tablet_event: extern "C" fn(object: *const RUBase),
pub set_drag_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_drag_enter_event: extern "C" fn(object: *const RUBase),
pub set_drag_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_drag_move_event: extern "C" fn(object: *const RUBase),
pub set_drag_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_drag_leave_event: extern "C" fn(object: *const RUBase),
pub set_drop_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_drop_event: extern "C" fn(object: *const RUBase),
pub set_show_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_show_event: extern "C" fn(object: *const RUBase),
pub set_hide_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub remove_hide_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),
pub input_method_hints: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_input_method_hints: extern "C" fn(self_c: *const RUBase, hints: i32),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
win_id: extern "C" fn(self_c: *const RUBase) -> u64
create_win_id: extern "C" fn(self_c: *const RUBase)
internal_win_id: extern "C" fn(self_c: *const RUBase) -> u64
effective_win_id: extern "C" fn(self_c: *const RUBase) -> u64
style: extern "C" fn(self_c: *const RUBase) -> RUStyle
set_style: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
is_top_level: extern "C" fn(self_c: *const RUBase) -> bool
is_window: extern "C" fn(self_c: *const RUBase) -> bool
is_modal: extern "C" fn(self_c: *const RUBase) -> bool
window_modality: extern "C" fn(self_c: *const RUBase) -> i32
set_window_modality: extern "C" fn(self_c: *const RUBase, window_modality: i32)
is_enabled: extern "C" fn(self_c: *const RUBase) -> bool
is_enabled_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> bool
set_enabled: extern "C" fn(self_c: *const RUBase, arg0: bool)
set_disabled: extern "C" fn(self_c: *const RUBase, arg0: bool)
set_window_modified: extern "C" fn(self_c: *const RUBase, arg0: bool)
x: extern "C" fn(self_c: *const RUBase) -> i32
y: extern "C" fn(self_c: *const RUBase) -> i32
pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
frame_size: extern "C" fn(self_c: *const RUBase) -> RUSize
size: extern "C" fn(self_c: *const RUBase) -> RUSize
width: extern "C" fn(self_c: *const RUBase) -> i32
height: extern "C" fn(self_c: *const RUBase) -> i32
rect: extern "C" fn(self_c: *const RUBase) -> RURect
children_rect: extern "C" fn(self_c: *const RUBase) -> RURect
children_region: extern "C" fn(self_c: *const RUBase) -> RURegion
minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
minimum_width: extern "C" fn(self_c: *const RUBase) -> i32
minimum_height: extern "C" fn(self_c: *const RUBase) -> i32
maximum_width: extern "C" fn(self_c: *const RUBase) -> i32
maximum_height: extern "C" fn(self_c: *const RUBase) -> i32
set_minimum_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_minimum_size_2: extern "C" fn(self_c: *const RUBase, minw: i32, minh: i32)
set_maximum_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_maximum_size_2: extern "C" fn(self_c: *const RUBase, maxw: i32, maxh: i32)
set_minimum_width: extern "C" fn(self_c: *const RUBase, minw: i32)
set_minimum_height: extern "C" fn(self_c: *const RUBase, minh: i32)
set_maximum_width: extern "C" fn(self_c: *const RUBase, maxw: i32)
set_maximum_height: extern "C" fn(self_c: *const RUBase, maxh: i32)
size_increment: extern "C" fn(self_c: *const RUBase) -> RUSize
set_size_increment: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_size_increment_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32)
base_size: extern "C" fn(self_c: *const RUBase) -> RUSize
set_base_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_base_size_2: extern "C" fn(self_c: *const RUBase, basew: i32, baseh: i32)
set_fixed_size: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_fixed_size_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32)
set_fixed_width: extern "C" fn(self_c: *const RUBase, w: i32)
set_fixed_height: extern "C" fn(self_c: *const RUBase, h: i32)
map_to_global: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint
map_from_global: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint
map_to_parent: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint
map_from_parent: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPoint
map_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase) -> RUPoint
map_from: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase) -> RUPoint
window: extern "C" fn(self_c: *const RUBase) -> RUWidget
native_parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
palette: extern "C" fn(self_c: *const RUBase) -> RUPalette
set_palette: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_background_role: extern "C" fn(self_c: *const RUBase, arg0: i32)
background_role: extern "C" fn(self_c: *const RUBase) -> i32
set_foreground_role: extern "C" fn(self_c: *const RUBase, arg0: i32)
foreground_role: extern "C" fn(self_c: *const RUBase) -> i32
font: extern "C" fn(self_c: *const RUBase) -> RUFont
set_font: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
cursor: extern "C" fn(self_c: *const RUBase) -> RUCursor
set_cursor: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
unset_cursor: extern "C" fn(self_c: *const RUBase)
set_mouse_tracking: extern "C" fn(self_c: *const RUBase, enable: bool)
has_mouse_tracking: extern "C" fn(self_c: *const RUBase) -> bool
under_mouse: extern "C" fn(self_c: *const RUBase) -> bool
set_tablet_tracking: extern "C" fn(self_c: *const RUBase, enable: bool)
has_tablet_tracking: extern "C" fn(self_c: *const RUBase) -> bool
set_mask: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_mask_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
mask: extern "C" fn(self_c: *const RUBase) -> RURegion
clear_mask: extern "C" fn(self_c: *const RUBase)
render: extern "C" fn(self_c: *const RUBase, target: *const RUBase, target_offset: *const RUBase, source_region: *const RUBase, render_flags: i32)
render_2: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, target_offset: *const RUBase, source_region: *const RUBase, render_flags: i32)
grab: extern "C" fn(self_c: *const RUBase, rectangle: *const RUBase) -> RUPixmap
grab_gesture: extern "C" fn(self_c: *const RUBase, gtype: i32, flags: i32)
ungrab_gesture: extern "C" fn(self_c: *const RUBase, gtype: i32)
set_window_title: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
set_style_sheet: extern "C" fn(self_c: *const RUBase, style_sheet: *const c_char)
style_sheet: extern "C" fn(self_c: *const RUBase) -> *const c_char
window_title: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_window_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase)
window_icon: extern "C" fn(self_c: *const RUBase) -> RUIcon
set_window_icon_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
window_icon_text: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_window_role: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
window_role: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_window_file_path: extern "C" fn(self_c: *const RUBase, file_path: *const c_char)
window_file_path: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_window_opacity: extern "C" fn(self_c: *const RUBase, level: f32)
window_opacity: extern "C" fn(self_c: *const RUBase) -> f32
is_window_modified: extern "C" fn(self_c: *const RUBase) -> bool
set_tool_tip: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
tool_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_tool_tip_duration: extern "C" fn(self_c: *const RUBase, msec: i32)
tool_tip_duration: extern "C" fn(self_c: *const RUBase) -> i32
set_status_tip: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
status_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_whats_this: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
whats_this: extern "C" fn(self_c: *const RUBase) -> *const c_char
accessible_name: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_accessible_name: extern "C" fn(self_c: *const RUBase, name: *const c_char)
accessible_description: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_accessible_description: extern "C" fn(self_c: *const RUBase, description: *const c_char)
set_layout_direction: extern "C" fn(self_c: *const RUBase, direction: i32)
layout_direction: extern "C" fn(self_c: *const RUBase) -> i32
unset_layout_direction: extern "C" fn(self_c: *const RUBase)
is_right_to_left: extern "C" fn(self_c: *const RUBase) -> bool
is_left_to_right: extern "C" fn(self_c: *const RUBase) -> bool
set_focus: extern "C" fn(self_c: *const RUBase)
is_active_window: extern "C" fn(self_c: *const RUBase) -> bool
activate_window: extern "C" fn(self_c: *const RUBase)
clear_focus: extern "C" fn(self_c: *const RUBase)
set_focus_2: extern "C" fn(self_c: *const RUBase, reason: i32)
focus_policy: extern "C" fn(self_c: *const RUBase) -> i32
set_focus_policy: extern "C" fn(self_c: *const RUBase, policy: i32)
has_focus: extern "C" fn(self_c: *const RUBase) -> bool
set_tab_order: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, arg1: *const RUBase)
set_focus_proxy: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
focus_proxy: extern "C" fn(self_c: *const RUBase) -> RUWidget
grab_mouse: extern "C" fn(self_c: *const RUBase)
grab_mouse_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
release_mouse: extern "C" fn(self_c: *const RUBase)
grab_keyboard: extern "C" fn(self_c: *const RUBase)
release_keyboard: extern "C" fn(self_c: *const RUBase)
grab_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase, context: i32) -> i32
release_shortcut: extern "C" fn(self_c: *const RUBase, id: i32)
set_shortcut_enabled: extern "C" fn(self_c: *const RUBase, id: i32, enable: bool)
set_shortcut_auto_repeat: extern "C" fn(self_c: *const RUBase, id: i32, enable: bool)
mouse_grabber: extern "C" fn(self_c: *const RUBase) -> RUWidget
keyboard_grabber: extern "C" fn(self_c: *const RUBase) -> RUWidget
updates_enabled: extern "C" fn(self_c: *const RUBase) -> bool
set_updates_enabled: extern "C" fn(self_c: *const RUBase, enable: bool)
update: extern "C" fn(self_c: *const RUBase)
repaint: extern "C" fn(self_c: *const RUBase)
update_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32)
update_3: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
update_4: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
repaint_2: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32)
repaint_3: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
repaint_4: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
show: extern "C" fn(self_c: *const RUBase)
hide: extern "C" fn(self_c: *const RUBase)
show_minimized: extern "C" fn(self_c: *const RUBase)
show_maximized: extern "C" fn(self_c: *const RUBase)
show_full_screen: extern "C" fn(self_c: *const RUBase)
show_normal: extern "C" fn(self_c: *const RUBase)
close: extern "C" fn(self_c: *const RUBase) -> bool
raise: extern "C" fn(self_c: *const RUBase)
lower: extern "C" fn(self_c: *const RUBase)
stack_under: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
move_widget: extern "C" fn(self_c: *const RUBase, x: i32, y: i32)
move_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
resize: extern "C" fn(self_c: *const RUBase, w: i32, h: i32)
resize_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
adjust_size: extern "C" fn(self_c: *const RUBase)
is_visible: extern "C" fn(self_c: *const RUBase) -> bool
is_visible_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> bool
is_minimized: extern "C" fn(self_c: *const RUBase) -> bool
is_maximized: extern "C" fn(self_c: *const RUBase) -> bool
is_full_screen: extern "C" fn(self_c: *const RUBase) -> bool
window_state: extern "C" fn(self_c: *const RUBase) -> i32
set_window_state: extern "C" fn(self_c: *const RUBase, state: i32)
override_window_state: extern "C" fn(self_c: *const RUBase, state: i32)
size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize
minimum_size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize
size_policy: extern "C" fn(self_c: *const RUBase) -> RUSizePolicy
set_size_policy: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_size_policy_2: extern "C" fn(self_c: *const RUBase, horizontal: i32, vertical: i32)
height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32
has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool
visible_region: extern "C" fn(self_c: *const RUBase) -> RURegion
set_contents_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32)
set_contents_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase)
contents_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins
contents_rect: extern "C" fn(self_c: *const RUBase) -> RURect
layout: extern "C" fn(self_c: *const RUBase) -> RULayout
set_layout: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase)
set_parent_2: extern "C" fn(self_c: *const RUBase, parent: *const RUBase, f: i32)
scroll: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32)
scroll_2: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, arg0: *const RUBase)
focus_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
next_in_focus_chain: extern "C" fn(self_c: *const RUBase) -> RUWidget
previous_in_focus_chain: extern "C" fn(self_c: *const RUBase) -> RUWidget
accept_drops: extern "C" fn(self_c: *const RUBase) -> bool
set_accept_drops: extern "C" fn(self_c: *const RUBase, on: bool)
parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
set_window_flags: extern "C" fn(self_c: *const RUBase, gtype: i32)
window_flags: extern "C" fn(self_c: *const RUBase) -> i32
override_window_flags: extern "C" fn(self_c: *const RUBase, wtype: i32)
find: extern "C" fn(self_c: *const RUBase, arg0: u64) -> RUWidget
child_at: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> RUWidget
child_at_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUWidget
paint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine
ensure_polished: extern "C" fn(self_c: *const RUBase)
is_ancestor_of: extern "C" fn(self_c: *const RUBase, child: *const RUBase) -> bool
auto_fill_background: extern "C" fn(self_c: *const RUBase) -> bool
set_auto_fill_background: extern "C" fn(self_c: *const RUBase, enabled: bool)
backing_store: extern "C" fn(self_c: *const RUBase) -> RUBackingStore
window_handle: extern "C" fn(self_c: *const RUBase) -> RUWindow
create_window_container: extern "C" fn(self_c: *const RUBase, window: *const RUBase, parent: *const RUBase, flags: i32) -> RUWidget
set_window_title_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_window_icon_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_window_icon_text_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
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_double_click_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_mouse_double_click_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_wheel_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_wheel_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_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_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_enter_event: extern "C" fn(object: *const RUBase)
set_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_leave_event: extern "C" fn(object: *const RUBase)
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_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_move_event: extern "C" fn(object: *const RUBase)
set_resize_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_resize_event: extern "C" fn(object: *const RUBase)
set_close_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_close_event: extern "C" fn(object: *const RUBase)
set_tablet_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_tablet_event: extern "C" fn(object: *const RUBase)
set_drag_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_drag_enter_event: extern "C" fn(object: *const RUBase)
set_drag_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_drag_move_event: extern "C" fn(object: *const RUBase)
set_drag_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_drag_leave_event: extern "C" fn(object: *const RUBase)
set_drop_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_drop_event: extern "C" fn(object: *const RUBase)
set_show_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_show_event: extern "C" fn(object: *const RUBase)
set_hide_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
remove_hide_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)
input_method_hints: extern "C" fn(self_c: *const RUBase) -> i32
set_input_method_hints: extern "C" fn(self_c: *const RUBase, hints: i32)
Trait Implementations
sourceimpl Clone for RUWidgetFuncs
impl Clone for RUWidgetFuncs
sourcefn clone(&self) -> RUWidgetFuncs
fn clone(&self) -> RUWidgetFuncs
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 RUWidgetFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUWidgetFuncs
impl Send for RUWidgetFuncs
impl Sync for RUWidgetFuncs
impl Unpin for RUWidgetFuncs
impl UnwindSafe for RUWidgetFuncs
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