Struct gtk_sys::GtkNotebookClass
source · [−]#[repr(C)]pub struct GtkNotebookClass {Show 20 fields
pub parent_class: GtkContainerClass,
pub switch_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>,
pub select_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: gboolean) -> gboolean>,
pub focus_tab: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkNotebookTab) -> gboolean>,
pub change_current_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: c_int) -> gboolean>,
pub move_focus_out: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkDirectionType)>,
pub reorder_tab: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkDirectionType, _: gboolean) -> gboolean>,
pub insert_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: *mut GtkWidget, _: *mut GtkWidget, _: c_int) -> c_int>,
pub create_window: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_int, _: c_int) -> *mut GtkNotebook>,
pub page_reordered: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>,
pub page_removed: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>,
pub page_added: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>,
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()>,
pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
}
Fields
parent_class: GtkContainerClass
switch_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>
select_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: gboolean) -> gboolean>
focus_tab: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkNotebookTab) -> gboolean>
change_current_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: c_int) -> gboolean>
move_focus_out: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkDirectionType)>
reorder_tab: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: GtkDirectionType, _: gboolean) -> gboolean>
insert_page: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: *mut GtkWidget, _: *mut GtkWidget, _: c_int) -> c_int>
create_window: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_int, _: c_int) -> *mut GtkNotebook>
page_reordered: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>
page_removed: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>
page_added: Option<unsafe extern "C" fn(_: *mut GtkNotebook, _: *mut GtkWidget, _: c_uint)>
_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()>
_gtk_reserved7: Option<unsafe extern "C" fn()>
_gtk_reserved8: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for GtkNotebookClass
impl Clone for GtkNotebookClass
sourcefn clone(&self) -> GtkNotebookClass
fn clone(&self) -> GtkNotebookClass
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GtkNotebookClass
impl Debug for GtkNotebookClass
impl Copy for GtkNotebookClass
Auto Trait Implementations
impl RefUnwindSafe for GtkNotebookClass
impl !Send for GtkNotebookClass
impl !Sync for GtkNotebookClass
impl Unpin for GtkNotebookClass
impl UnwindSafe for GtkNotebookClass
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