[−][src]Trait gio::PermissionExt
Required Methods
fn acquire<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>
&self,
cancellable: P
) -> Result<(), Error>
fn acquire_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)
&self,
cancellable: P,
callback: Q
)
fn get_allowed(&self) -> bool
fn get_can_acquire(&self) -> bool
fn get_can_release(&self) -> bool
fn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool)
fn release<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>
&self,
cancellable: P
) -> Result<(), Error>
fn release_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)
&self,
cancellable: P,
callback: Q
)
fn connect_property_allowed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_can_acquire_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_can_release_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Permission> + IsA<Object> + Clone + 'static> PermissionExt for O[src]
impl<O: IsA<Permission> + IsA<Object> + Clone + 'static> PermissionExt for Ofn acquire<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>[src]
fn acquire<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>fn acquire_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)[src]
fn acquire_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)fn get_allowed(&self) -> bool[src]
fn get_allowed(&self) -> boolfn get_can_acquire(&self) -> bool[src]
fn get_can_acquire(&self) -> boolfn get_can_release(&self) -> bool[src]
fn get_can_release(&self) -> boolfn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool)[src]
fn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool)fn release<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>[src]
fn release<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>fn release_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)[src]
fn release_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
cancellable: P,
callback: Q
)fn connect_property_allowed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
fn connect_property_allowed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_property_can_acquire_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
fn connect_property_can_acquire_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_property_can_release_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
fn connect_property_can_release_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId