pub struct WidgetPath(/* private fields */);
Implementations§
Source§impl WidgetPath
impl WidgetPath
pub fn new() -> WidgetPath
pub fn append_for_widget<P: IsA<Widget>>(&self, widget: &P) -> i32
pub fn append_type(&self, type_: Type) -> i32
pub fn append_with_siblings( &self, siblings: &WidgetPath, sibling_index: u32, ) -> i32
pub fn copy(&self) -> Option<WidgetPath>
pub fn get_object_type(&self) -> Type
pub fn has_parent(&self, type_: Type) -> bool
pub fn is_type(&self, type_: Type) -> bool
pub fn iter_add_class(&self, pos: i32, name: &str)
pub fn iter_clear_classes(&self, pos: i32)
pub fn iter_get_name(&self, pos: i32) -> Option<GString>
pub fn iter_get_object_name(&self, pos: i32) -> Option<GString>
pub fn iter_get_object_type(&self, pos: i32) -> Type
pub fn iter_get_sibling_index(&self, pos: i32) -> u32
pub fn iter_get_siblings(&self, pos: i32) -> Option<WidgetPath>
pub fn iter_get_state(&self, pos: i32) -> StateFlags
pub fn iter_has_class(&self, pos: i32, name: &str) -> bool
pub fn iter_has_name(&self, pos: i32, name: &str) -> bool
pub fn iter_has_qclass(&self, pos: i32, qname: Quark) -> bool
pub fn iter_has_qname(&self, pos: i32, qname: Quark) -> bool
pub fn iter_list_classes(&self, pos: i32) -> Vec<GString>
pub fn iter_remove_class(&self, pos: i32, name: &str)
pub fn iter_set_name(&self, pos: i32, name: &str)
pub fn iter_set_object_name(&self, pos: i32, name: Option<&str>)
pub fn iter_set_object_type(&self, pos: i32, type_: Type)
pub fn iter_set_state(&self, pos: i32, state: StateFlags)
pub fn length(&self) -> i32
pub fn prepend_type(&self, type_: Type)
Trait Implementations§
Source§impl Clone for WidgetPath
impl Clone for WidgetPath
Source§fn clone(&self) -> WidgetPath
fn clone(&self) -> WidgetPath
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 WidgetPath
impl Debug for WidgetPath
Source§impl Default for WidgetPath
impl Default for WidgetPath
Source§impl Display for WidgetPath
impl Display for WidgetPath
Source§impl Hash for WidgetPath
impl Hash for WidgetPath
Source§impl Ord for WidgetPath
impl Ord for WidgetPath
Source§fn cmp(&self, other: &WidgetPath) -> Ordering
fn cmp(&self, other: &WidgetPath) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WidgetPath
impl PartialEq for WidgetPath
Source§impl PartialOrd for WidgetPath
impl PartialOrd for WidgetPath
Source§impl StaticType for WidgetPath
impl StaticType for WidgetPath
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for WidgetPath
impl StructuralPartialEq for WidgetPath
Auto Trait Implementations§
impl Freeze for WidgetPath
impl RefUnwindSafe for WidgetPath
impl !Send for WidgetPath
impl !Sync for WidgetPath
impl Unpin for WidgetPath
impl UnwindSafe for WidgetPath
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