[−]Struct gtk::WidgetPath
Methods
impl WidgetPath
[src]
pub fn new() -> WidgetPath
[src]
pub fn append_for_widget<P: IsA<Widget>>(&self, widget: &P) -> i32
[src]
pub fn append_type(&self, type_: Type) -> i32
[src]
pub fn append_with_siblings(
&self,
siblings: &WidgetPath,
sibling_index: u32
) -> i32
[src]
&self,
siblings: &WidgetPath,
sibling_index: u32
) -> i32
pub fn copy(&self) -> Option<WidgetPath>
[src]
pub fn get_object_type(&self) -> Type
[src]
pub fn has_parent(&self, type_: Type) -> bool
[src]
pub fn is_type(&self, type_: Type) -> bool
[src]
pub fn iter_add_class(&self, pos: i32, name: &str)
[src]
pub fn iter_clear_classes(&self, pos: i32)
[src]
pub fn iter_get_name(&self, pos: i32) -> Option<GString>
[src]
pub fn iter_get_object_name(&self, pos: i32) -> Option<GString>
[src]
pub fn iter_get_object_type(&self, pos: i32) -> Type
[src]
pub fn iter_get_sibling_index(&self, pos: i32) -> u32
[src]
pub fn iter_get_siblings(&self, pos: i32) -> Option<WidgetPath>
[src]
pub fn iter_get_state(&self, pos: i32) -> StateFlags
[src]
pub fn iter_has_class(&self, pos: i32, name: &str) -> bool
[src]
pub fn iter_has_name(&self, pos: i32, name: &str) -> bool
[src]
pub fn iter_has_qclass(&self, pos: i32, qname: Quark) -> bool
[src]
pub fn iter_has_qname(&self, pos: i32, qname: Quark) -> bool
[src]
pub fn iter_list_classes(&self, pos: i32) -> Vec<GString>
[src]
pub fn iter_remove_class(&self, pos: i32, name: &str)
[src]
pub fn iter_set_name(&self, pos: i32, name: &str)
[src]
pub fn iter_set_object_name(&self, pos: i32, name: Option<&str>)
[src]
pub fn iter_set_object_type(&self, pos: i32, type_: Type)
[src]
pub fn iter_set_state(&self, pos: i32, state: StateFlags)
[src]
pub fn length(&self) -> i32
[src]
pub fn prepend_type(&self, type_: Type)
[src]
Trait Implementations
impl Clone for WidgetPath
fn clone(&self) -> WidgetPath
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WidgetPath
[src]
impl Default for WidgetPath
[src]
impl Display for WidgetPath
[src]
impl Eq for WidgetPath
[src]
impl Hash for WidgetPath
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for WidgetPath
[src]
fn cmp(&self, other: &WidgetPath) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<WidgetPath> for WidgetPath
[src]
fn eq(&self, other: &WidgetPath) -> bool
[src]
fn ne(&self, other: &WidgetPath) -> bool
[src]
impl PartialOrd<WidgetPath> for WidgetPath
[src]
fn partial_cmp(&self, other: &WidgetPath) -> Option<Ordering>
[src]
fn lt(&self, other: &WidgetPath) -> bool
[src]
fn le(&self, other: &WidgetPath) -> bool
[src]
fn gt(&self, other: &WidgetPath) -> bool
[src]
fn ge(&self, other: &WidgetPath) -> bool
[src]
impl StaticType for WidgetPath
fn static_type() -> Type
impl StructuralEq for WidgetPath
[src]
impl StructuralPartialEq for WidgetPath
[src]
Auto Trait Implementations
impl RefUnwindSafe for WidgetPath
impl !Send for WidgetPath
impl !Sync for WidgetPath
impl Unpin for WidgetPath
impl UnwindSafe for WidgetPath
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GPtrArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GPtrArray
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,