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§
source§impl Clone for GtkRecentChooserIface
impl Clone for GtkRecentChooserIface
source§fn clone(&self) -> GtkRecentChooserIface
fn clone(&self) -> GtkRecentChooserIface
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 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§
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