Struct rute::auto::line_edit_ffi::RULineEditFuncs
source · #[repr(C)]pub struct RULineEditFuncs {Show 92 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub display_text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub placeholder_text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_placeholder_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub max_length: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_max_length: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub set_frame: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub has_frame: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_clear_button_enabled: extern "C" fn(self_c: *const RUBase, enable: bool),
pub is_clear_button_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
pub echo_mode: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_echo_mode: extern "C" fn(self_c: *const RUBase, arg0: u32),
pub is_read_only: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_read_only: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub cursor_position: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_cursor_position: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub cursor_position_at: extern "C" fn(self_c: *const RUBase, pos: *const RUBase) -> i32,
pub set_alignment: extern "C" fn(self_c: *const RUBase, flag: u32),
pub alignment: extern "C" fn(self_c: *const RUBase) -> u32,
pub cursor_forward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32),
pub cursor_backward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32),
pub cursor_word_forward: extern "C" fn(self_c: *const RUBase, mark: bool),
pub cursor_word_backward: extern "C" fn(self_c: *const RUBase, mark: bool),
pub backspace: extern "C" fn(self_c: *const RUBase),
pub del: extern "C" fn(self_c: *const RUBase),
pub home: extern "C" fn(self_c: *const RUBase, mark: bool),
pub end: extern "C" fn(self_c: *const RUBase, mark: bool),
pub is_modified: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_modified: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub set_selection: extern "C" fn(self_c: *const RUBase, arg0: i32, arg1: i32),
pub has_selected_text: extern "C" fn(self_c: *const RUBase) -> bool,
pub selected_text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub selection_start: extern "C" fn(self_c: *const RUBase) -> i32,
pub selection_end: extern "C" fn(self_c: *const RUBase) -> i32,
pub selection_length: extern "C" fn(self_c: *const RUBase) -> i32,
pub is_undo_available: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_redo_available: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_drag_enabled: extern "C" fn(self_c: *const RUBase, b: bool),
pub drag_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_cursor_move_style: extern "C" fn(self_c: *const RUBase, style: u32),
pub cursor_move_style: extern "C" fn(self_c: *const RUBase) -> u32,
pub input_mask: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_input_mask: extern "C" fn(self_c: *const RUBase, input_mask: *const c_char),
pub has_acceptable_input: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_text_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32),
pub set_text_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase),
pub text_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins,
pub set_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub clear: extern "C" fn(self_c: *const RUBase),
pub select_all: extern "C" fn(self_c: *const RUBase),
pub undo: extern "C" fn(self_c: *const RUBase),
pub redo: extern "C" fn(self_c: *const RUBase),
pub cut: extern "C" fn(self_c: *const RUBase),
pub copy: extern "C" fn(self_c: *const RUBase),
pub paste: extern "C" fn(self_c: *const RUBase),
pub deselect: extern "C" fn(self_c: *const RUBase),
pub insert: extern "C" fn(self_c: *const RUBase, arg0: *const c_char),
pub set_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_text_edited_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_cursor_position_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_return_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_editing_finished_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
pub set_selection_changed_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_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_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_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_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_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_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_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 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),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
display_text: extern "C" fn(self_c: *const RUBase) -> *const c_char
placeholder_text: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_placeholder_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
max_length: extern "C" fn(self_c: *const RUBase) -> i32
set_max_length: extern "C" fn(self_c: *const RUBase, arg0: i32)
set_frame: extern "C" fn(self_c: *const RUBase, arg0: bool)
has_frame: extern "C" fn(self_c: *const RUBase) -> bool
echo_mode: extern "C" fn(self_c: *const RUBase) -> u32
set_echo_mode: extern "C" fn(self_c: *const RUBase, arg0: u32)
is_read_only: extern "C" fn(self_c: *const RUBase) -> bool
set_read_only: extern "C" fn(self_c: *const RUBase, arg0: bool)
cursor_position: extern "C" fn(self_c: *const RUBase) -> i32
set_cursor_position: extern "C" fn(self_c: *const RUBase, arg0: i32)
cursor_position_at: extern "C" fn(self_c: *const RUBase, pos: *const RUBase) -> i32
set_alignment: extern "C" fn(self_c: *const RUBase, flag: u32)
alignment: extern "C" fn(self_c: *const RUBase) -> u32
cursor_forward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32)
cursor_backward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32)
cursor_word_forward: extern "C" fn(self_c: *const RUBase, mark: bool)
cursor_word_backward: extern "C" fn(self_c: *const RUBase, mark: bool)
backspace: extern "C" fn(self_c: *const RUBase)
del: extern "C" fn(self_c: *const RUBase)
home: extern "C" fn(self_c: *const RUBase, mark: bool)
end: extern "C" fn(self_c: *const RUBase, mark: bool)
is_modified: extern "C" fn(self_c: *const RUBase) -> bool
set_modified: extern "C" fn(self_c: *const RUBase, arg0: bool)
set_selection: extern "C" fn(self_c: *const RUBase, arg0: i32, arg1: i32)
has_selected_text: extern "C" fn(self_c: *const RUBase) -> bool
selected_text: extern "C" fn(self_c: *const RUBase) -> *const c_char
selection_start: extern "C" fn(self_c: *const RUBase) -> i32
selection_end: extern "C" fn(self_c: *const RUBase) -> i32
selection_length: extern "C" fn(self_c: *const RUBase) -> i32
is_undo_available: extern "C" fn(self_c: *const RUBase) -> bool
is_redo_available: extern "C" fn(self_c: *const RUBase) -> bool
set_drag_enabled: extern "C" fn(self_c: *const RUBase, b: bool)
drag_enabled: extern "C" fn(self_c: *const RUBase) -> bool
set_cursor_move_style: extern "C" fn(self_c: *const RUBase, style: u32)
cursor_move_style: extern "C" fn(self_c: *const RUBase) -> u32
input_mask: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_input_mask: extern "C" fn(self_c: *const RUBase, input_mask: *const c_char)
has_acceptable_input: extern "C" fn(self_c: *const RUBase) -> bool
set_text_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32)
set_text_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase)
text_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins
set_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
clear: extern "C" fn(self_c: *const RUBase)
select_all: extern "C" fn(self_c: *const RUBase)
undo: extern "C" fn(self_c: *const RUBase)
redo: extern "C" fn(self_c: *const RUBase)
cut: extern "C" fn(self_c: *const RUBase)
copy: extern "C" fn(self_c: *const RUBase)
paste: extern "C" fn(self_c: *const RUBase)
deselect: extern "C" fn(self_c: *const RUBase)
insert: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)
set_text_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_text_edited_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_cursor_position_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_return_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_editing_finished_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)
set_selection_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_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_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_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_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_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_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_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 RULineEditFuncs
impl Clone for RULineEditFuncs
sourcefn clone(&self) -> RULineEditFuncs
fn clone(&self) -> RULineEditFuncs
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 RULineEditFuncs
Auto Trait Implementations
impl RefUnwindSafe for RULineEditFuncs
impl Send for RULineEditFuncs
impl Sync for RULineEditFuncs
impl Unpin for RULineEditFuncs
impl UnwindSafe for RULineEditFuncs
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