pub struct CellRendererProgress(/* private fields */);
Implementations§
Source§impl CellRendererProgress
impl CellRendererProgress
pub fn new() -> CellRendererProgress
Trait Implementations§
Source§impl Clone for CellRendererProgress
impl Clone for CellRendererProgress
Source§fn clone(&self) -> CellRendererProgress
fn clone(&self) -> CellRendererProgress
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 CellRendererProgress
impl Debug for CellRendererProgress
Source§impl Default for CellRendererProgress
impl Default for CellRendererProgress
Source§impl Display for CellRendererProgress
impl Display for CellRendererProgress
Source§impl Hash for CellRendererProgress
impl Hash for CellRendererProgress
Source§impl Ord for CellRendererProgress
impl Ord for CellRendererProgress
Source§fn cmp(&self, other: &CellRendererProgress) -> Ordering
fn cmp(&self, other: &CellRendererProgress) -> 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<T: ObjectType> PartialEq<T> for CellRendererProgress
impl<T: ObjectType> PartialEq<T> for CellRendererProgress
Source§impl<T: ObjectType> PartialOrd<T> for CellRendererProgress
impl<T: ObjectType> PartialOrd<T> for CellRendererProgress
Source§impl StaticType for CellRendererProgress
impl StaticType for CellRendererProgress
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for CellRendererProgress
impl IsA<CellRenderer> for CellRendererProgress
impl IsA<Orientable> for CellRendererProgress
Auto Trait Implementations§
impl Freeze for CellRendererProgress
impl RefUnwindSafe for CellRendererProgress
impl !Send for CellRendererProgress
impl !Sync for CellRendererProgress
impl Unpin for CellRendererProgress
impl UnwindSafe for CellRendererProgress
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
Source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
Source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a superclass or interface
T
. Read moreSource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a reference of its superclass or interface
T
. Read moreSource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a subclass or interface implementor
T
. Read moreSource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a reference of its subclass or interface implementor
T
. Read moreSource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
Tries to cast to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Tries to cast to reference to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
Casts to
T
unconditionally. Read moreSource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
Casts to
&T
unconditionally. Read moreSource§impl<O> CellRendererExt for Owhere
O: IsA<CellRenderer>,
impl<O> CellRendererExt for Owhere
O: IsA<CellRenderer>,
fn activate<P>( &self, event: &Event, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, ) -> bool
fn get_aligned_area<P>( &self, widget: &P, flags: CellRendererState, cell_area: &Rectangle, ) -> Rectangle
fn get_alignment(&self) -> (f32, f32)
fn get_fixed_size(&self) -> (i32, i32)
fn get_padding(&self) -> (i32, i32)
fn get_preferred_height<P>(&self, widget: &P) -> (i32, i32)
fn get_preferred_height_for_width<P>( &self, widget: &P, width: i32, ) -> (i32, i32)
fn get_preferred_size<P>(&self, widget: &P) -> (Requisition, Requisition)
fn get_preferred_width<P>(&self, widget: &P) -> (i32, i32)
fn get_preferred_width_for_height<P>( &self, widget: &P, height: i32, ) -> (i32, i32)
fn get_request_mode(&self) -> SizeRequestMode
fn get_sensitive(&self) -> bool
fn get_state<P>( &self, widget: Option<&P>, cell_state: CellRendererState, ) -> StateFlags
fn get_visible(&self) -> bool
fn is_activatable(&self) -> bool
fn render<P>( &self, cr: &Context, widget: &P, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, )
fn set_alignment(&self, xalign: f32, yalign: f32)
fn set_fixed_size(&self, width: i32, height: i32)
fn set_padding(&self, xpad: i32, ypad: i32)
fn set_sensitive(&self, sensitive: bool)
fn set_visible(&self, visible: bool)
fn start_editing<P>( &self, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, ) -> Option<CellEditable>
fn stop_editing(&self, canceled: bool)
fn set_property_cell_background(&self, cell_background: Option<&str>)
fn get_property_cell_background_rgba(&self) -> Option<RGBA>
fn set_property_cell_background_rgba(&self, cell_background_rgba: Option<&RGBA>)
fn get_property_cell_background_set(&self) -> bool
fn set_property_cell_background_set(&self, cell_background_set: bool)
fn get_property_editing(&self) -> bool
fn get_property_height(&self) -> i32
fn set_property_height(&self, height: i32)
fn get_property_is_expanded(&self) -> bool
fn set_property_is_expanded(&self, is_expanded: bool)
fn get_property_is_expander(&self) -> bool
fn set_property_is_expander(&self, is_expander: bool)
fn get_property_mode(&self) -> CellRendererMode
fn set_property_mode(&self, mode: CellRendererMode)
fn get_property_width(&self) -> i32
fn set_property_width(&self, width: i32)
fn get_property_xalign(&self) -> f32
fn set_property_xalign(&self, xalign: f32)
fn get_property_xpad(&self) -> u32
fn set_property_xpad(&self, xpad: u32)
fn get_property_yalign(&self) -> f32
fn set_property_yalign(&self, yalign: f32)
fn get_property_ypad(&self) -> u32
fn set_property_ypad(&self, ypad: u32)
fn connect_editing_canceled<F>(&self, f: F) -> SignalHandlerId
fn connect_editing_started<F>(&self, f: F) -> SignalHandlerId
fn connect_property_cell_background_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_cell_background_rgba_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_cell_background_set_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_editing_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_height_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_is_expanded_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_is_expander_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_mode_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_visible_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_width_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_xalign_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_xpad_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_yalign_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_ypad_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> CellRendererProgressExt for Owhere
O: IsA<CellRendererProgress>,
impl<O> CellRendererProgressExt for Owhere
O: IsA<CellRendererProgress>,
fn get_property_inverted(&self) -> bool
fn set_property_inverted(&self, inverted: bool)
fn get_property_pulse(&self) -> i32
fn set_property_pulse(&self, pulse: i32)
fn get_property_text(&self) -> Option<GString>
fn set_property_text(&self, text: Option<&str>)
fn get_property_text_xalign(&self) -> f32
fn set_property_text_xalign(&self, text_xalign: f32)
fn get_property_text_yalign(&self) -> f32
fn set_property_text_yalign(&self, text_yalign: f32)
fn get_property_value(&self) -> i32
fn set_property_value(&self, value: i32)
fn connect_property_inverted_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_pulse_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_xalign_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_yalign_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
Source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
Returns
true
if the object is an instance of (can be cast to) T
.