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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more