pub struct CellRendererPixbuf(/* private fields */);
Implementations§
Source§impl CellRendererPixbuf
impl CellRendererPixbuf
pub fn new() -> CellRendererPixbuf
Trait Implementations§
Source§impl Clone for CellRendererPixbuf
impl Clone for CellRendererPixbuf
Source§fn clone(&self) -> CellRendererPixbuf
fn clone(&self) -> CellRendererPixbuf
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 CellRendererPixbuf
impl Debug for CellRendererPixbuf
Source§impl Default for CellRendererPixbuf
impl Default for CellRendererPixbuf
Source§impl Display for CellRendererPixbuf
impl Display for CellRendererPixbuf
Source§impl Hash for CellRendererPixbuf
impl Hash for CellRendererPixbuf
Source§impl Ord for CellRendererPixbuf
impl Ord for CellRendererPixbuf
Source§fn cmp(&self, other: &CellRendererPixbuf) -> Ordering
fn cmp(&self, other: &CellRendererPixbuf) -> 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 CellRendererPixbuf
impl<T: ObjectType> PartialEq<T> for CellRendererPixbuf
Source§impl<T: ObjectType> PartialOrd<T> for CellRendererPixbuf
impl<T: ObjectType> PartialOrd<T> for CellRendererPixbuf
Source§impl StaticType for CellRendererPixbuf
impl StaticType for CellRendererPixbuf
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for CellRendererPixbuf
impl IsA<CellRenderer> for CellRendererPixbuf
Auto Trait Implementations§
impl Freeze for CellRendererPixbuf
impl RefUnwindSafe for CellRendererPixbuf
impl !Send for CellRendererPixbuf
impl !Sync for CellRendererPixbuf
impl Unpin for CellRendererPixbuf
impl UnwindSafe for CellRendererPixbuf
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> CellRendererPixbufExt for Owhere
O: IsA<CellRendererPixbuf>,
impl<O> CellRendererPixbufExt for Owhere
O: IsA<CellRendererPixbuf>,
Source§fn get_property_follow_state(&self) -> bool
fn get_property_follow_state(&self) -> bool
👎Deprecated
Source§fn set_property_follow_state(&self, follow_state: bool)
fn set_property_follow_state(&self, follow_state: bool)
👎Deprecated
fn get_property_gicon(&self) -> Option<Icon>
fn set_property_gicon(&self, gicon: Option<&Icon>)
fn get_property_icon_name(&self) -> Option<GString>
fn set_property_icon_name(&self, icon_name: Option<&str>)
fn get_property_pixbuf(&self) -> Option<Pixbuf>
fn set_property_pixbuf(&self, pixbuf: Option<&Pixbuf>)
fn get_property_pixbuf_expander_closed(&self) -> Option<Pixbuf>
fn set_property_pixbuf_expander_closed( &self, pixbuf_expander_closed: Option<&Pixbuf>, )
fn get_property_pixbuf_expander_open(&self) -> Option<Pixbuf>
fn set_property_pixbuf_expander_open( &self, pixbuf_expander_open: Option<&Pixbuf>, )
fn get_property_stock_detail(&self) -> Option<GString>
fn set_property_stock_detail(&self, stock_detail: Option<&str>)
Source§fn connect_property_follow_state_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_follow_state_notify<F>(&self, f: F) -> SignalHandlerId
👎Deprecated
fn connect_property_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_pixbuf_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_pixbuf_expander_closed_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_pixbuf_expander_open_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_stock_detail_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_stock_size_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> CellRendererPixbufExtManual for O
impl<O> CellRendererPixbufExtManual for O
fn get_property_stock_size(&self) -> IconSize
fn set_property_stock_size(&self, stock_size: IconSize)
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
.