Struct gtk_sys::GtkRecentChooserIface
source · [−]#[repr(C)]pub struct GtkRecentChooserIface {Show 15 fields
pub base_iface: GTypeInterface,
pub set_current_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char, _: *mut *mut GError) -> gboolean>,
pub get_current_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut c_char>,
pub select_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char, _: *mut *mut GError) -> gboolean>,
pub unselect_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char)>,
pub select_all: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>,
pub unselect_all: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>,
pub get_items: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GList>,
pub get_recent_manager: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GtkRecentManager>,
pub add_filter: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *mut GtkRecentFilter)>,
pub remove_filter: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *mut GtkRecentFilter)>,
pub list_filters: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GSList>,
pub set_sort_func: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: GtkRecentSortFunc, _: gpointer, _: GDestroyNotify)>,
pub item_activated: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>,
pub selection_changed: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>,
}
Fields
base_iface: GTypeInterface
set_current_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char, _: *mut *mut GError) -> gboolean>
get_current_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut c_char>
select_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char, _: *mut *mut GError) -> gboolean>
unselect_uri: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *const c_char)>
select_all: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>
unselect_all: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>
get_items: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GList>
get_recent_manager: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GtkRecentManager>
add_filter: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *mut GtkRecentFilter)>
remove_filter: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: *mut GtkRecentFilter)>
list_filters: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser) -> *mut GSList>
set_sort_func: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser, _: GtkRecentSortFunc, _: gpointer, _: GDestroyNotify)>
item_activated: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>
selection_changed: Option<unsafe extern "C" fn(_: *mut GtkRecentChooser)>
Trait Implementations
sourceimpl Clone for GtkRecentChooserIface
impl Clone for GtkRecentChooserIface
sourcefn clone(&self) -> GtkRecentChooserIface
fn clone(&self) -> GtkRecentChooserIface
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 GtkRecentChooserIface
impl Debug for GtkRecentChooserIface
impl Copy for GtkRecentChooserIface
Auto Trait Implementations
impl RefUnwindSafe for GtkRecentChooserIface
impl Send for GtkRecentChooserIface
impl Sync for GtkRecentChooserIface
impl Unpin for GtkRecentChooserIface
impl UnwindSafe for GtkRecentChooserIface
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