Struct gtk4_sys::GtkWindowClass
source · [−]#[repr(C)]pub struct GtkWindowClass {
pub parent_class: GtkWidgetClass,
pub activate_focus: Option<unsafe extern "C" fn(_: *mut GtkWindow)>,
pub activate_default: Option<unsafe extern "C" fn(_: *mut GtkWindow)>,
pub keys_changed: Option<unsafe extern "C" fn(_: *mut GtkWindow)>,
pub enable_debugging: Option<unsafe extern "C" fn(_: *mut GtkWindow, _: gboolean) -> gboolean>,
pub close_request: Option<unsafe extern "C" fn(_: *mut GtkWindow) -> gboolean>,
pub padding: [gpointer; 8],
}
Fields
parent_class: GtkWidgetClass
activate_focus: Option<unsafe extern "C" fn(_: *mut GtkWindow)>
activate_default: Option<unsafe extern "C" fn(_: *mut GtkWindow)>
keys_changed: Option<unsafe extern "C" fn(_: *mut GtkWindow)>
enable_debugging: Option<unsafe extern "C" fn(_: *mut GtkWindow, _: gboolean) -> gboolean>
close_request: Option<unsafe extern "C" fn(_: *mut GtkWindow) -> gboolean>
padding: [gpointer; 8]
Trait Implementations
sourceimpl Clone for GtkWindowClass
impl Clone for GtkWindowClass
sourcefn clone(&self) -> GtkWindowClass
fn clone(&self) -> GtkWindowClass
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 more
sourceimpl Debug for GtkWindowClass
impl Debug for GtkWindowClass
impl Copy for GtkWindowClass
Auto Trait Implementations
impl RefUnwindSafe for GtkWindowClass
impl !Send for GtkWindowClass
impl !Sync for GtkWindowClass
impl Unpin for GtkWindowClass
impl UnwindSafe for GtkWindowClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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