Struct gtk_sys::GtkEntryClass
source · #[repr(C)]pub struct GtkEntryClass {Show 20 fields
pub parent_class: GtkWidgetClass,
pub populate_popup: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut GtkWidget)>,
pub activate: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub move_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: GtkMovementStep, _: c_int, _: gboolean)>,
pub insert_at_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *const c_char)>,
pub delete_from_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: GtkDeleteType, _: c_int)>,
pub backspace: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub cut_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub copy_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub paste_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub toggle_overwrite: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub get_text_area_size: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>,
pub get_frame_size: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>,
pub insert_emoji: Option<unsafe extern "C" fn(_: *mut GtkEntry)>,
pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: GtkWidgetClass
§populate_popup: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut GtkWidget)>
§activate: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§move_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: GtkMovementStep, _: c_int, _: gboolean)>
§insert_at_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *const c_char)>
§delete_from_cursor: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: GtkDeleteType, _: c_int)>
§backspace: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§cut_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§copy_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§paste_clipboard: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§toggle_overwrite: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§get_text_area_size: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>
§get_frame_size: Option<unsafe extern "C" fn(_: *mut GtkEntry, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>
§insert_emoji: Option<unsafe extern "C" fn(_: *mut GtkEntry)>
§_gtk_reserved1: Option<unsafe extern "C" fn()>
§_gtk_reserved2: Option<unsafe extern "C" fn()>
§_gtk_reserved3: Option<unsafe extern "C" fn()>
§_gtk_reserved4: Option<unsafe extern "C" fn()>
§_gtk_reserved5: Option<unsafe extern "C" fn()>
§_gtk_reserved6: Option<unsafe extern "C" fn()>
Trait Implementations§
source§impl Clone for GtkEntryClass
impl Clone for GtkEntryClass
source§fn clone(&self) -> GtkEntryClass
fn clone(&self) -> GtkEntryClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GtkEntryClass
impl Debug for GtkEntryClass
impl Copy for GtkEntryClass
Auto Trait Implementations§
impl RefUnwindSafe for GtkEntryClass
impl !Send for GtkEntryClass
impl !Sync for GtkEntryClass
impl Unpin for GtkEntryClass
impl UnwindSafe for GtkEntryClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more