pub struct CellAreaBox(/* private fields */);
Implementations§
Source§impl CellAreaBox
impl CellAreaBox
pub fn new() -> CellAreaBox
Trait Implementations§
Source§impl Clone for CellAreaBox
impl Clone for CellAreaBox
Source§fn clone(&self) -> CellAreaBox
fn clone(&self) -> CellAreaBox
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 CellAreaBox
impl Debug for CellAreaBox
Source§impl Default for CellAreaBox
impl Default for CellAreaBox
Source§impl Display for CellAreaBox
impl Display for CellAreaBox
Source§impl Hash for CellAreaBox
impl Hash for CellAreaBox
Source§impl Ord for CellAreaBox
impl Ord for CellAreaBox
Source§fn cmp(&self, other: &CellAreaBox) -> Ordering
fn cmp(&self, other: &CellAreaBox) -> 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 CellAreaBox
impl<T: ObjectType> PartialEq<T> for CellAreaBox
Source§impl<T: ObjectType> PartialOrd<T> for CellAreaBox
impl<T: ObjectType> PartialOrd<T> for CellAreaBox
Source§impl StaticType for CellAreaBox
impl StaticType for CellAreaBox
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for CellAreaBox
impl IsA<Buildable> for CellAreaBox
impl IsA<CellArea> for CellAreaBox
impl IsA<CellLayout> for CellAreaBox
impl IsA<Orientable> for CellAreaBox
Auto Trait Implementations§
impl Freeze for CellAreaBox
impl RefUnwindSafe for CellAreaBox
impl !Send for CellAreaBox
impl !Sync for CellAreaBox
impl Unpin for CellAreaBox
impl UnwindSafe for CellAreaBox
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<O> BuildableExt for O
impl<O> BuildableExt for O
fn add_child<P, Q>(&self, builder: &P, child: &Q, type_: Option<&str>)
fn construct_child<P>(&self, builder: &P, name: &str) -> Option<Object>
fn get_internal_child<P>(&self, builder: &P, childname: &str) -> Option<Object>
fn parser_finished<P>(&self, builder: &P)
fn set_buildable_property<P>(&self, builder: &P, name: &str, value: &Value)
Source§impl<O> BuildableExtManual for O
impl<O> BuildableExtManual for O
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> CellAreaBoxExt for Owhere
O: IsA<CellAreaBox>,
impl<O> CellAreaBoxExt for Owhere
O: IsA<CellAreaBox>,
fn get_spacing(&self) -> i32
fn pack_end<P>(&self, renderer: &P, expand: bool, align: bool, fixed: bool)where
P: IsA<CellRenderer>,
fn pack_start<P>(&self, renderer: &P, expand: bool, align: bool, fixed: bool)where
P: IsA<CellRenderer>,
fn set_spacing(&self, spacing: i32)
fn connect_property_spacing_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> CellAreaExt for O
impl<O> CellAreaExt for O
fn activate<P, Q>( &self, context: &P, widget: &Q, cell_area: &Rectangle, flags: CellRendererState, edit_only: bool, ) -> bool
fn activate_cell<P, Q>( &self, widget: &P, renderer: &Q, event: &Event, cell_area: &Rectangle, flags: CellRendererState, ) -> bool
fn add<P>(&self, renderer: &P)where
P: IsA<CellRenderer>,
fn add_focus_sibling<P, Q>(&self, renderer: &P, sibling: &Q)
fn apply_attributes<P>( &self, tree_model: &P, iter: &TreeIter, is_expander: bool, is_expanded: bool, )
fn attribute_connect<P>(&self, renderer: &P, attribute: &str, column: i32)where
P: IsA<CellRenderer>,
fn attribute_disconnect<P>(&self, renderer: &P, attribute: &str)where
P: IsA<CellRenderer>,
fn attribute_get_column<P>(&self, renderer: &P, attribute: &str) -> i32where
P: IsA<CellRenderer>,
fn copy_context<P>(&self, context: &P) -> Option<CellAreaContext>where
P: IsA<CellAreaContext>,
fn create_context(&self) -> Option<CellAreaContext>
fn event<P, Q>( &self, context: &P, widget: &Q, event: &Event, cell_area: &Rectangle, flags: CellRendererState, ) -> i32
fn focus(&self, direction: DirectionType) -> bool
fn foreach<P>(&self, callback: P)
fn foreach_alloc<P, Q, R>(
&self,
context: &P,
widget: &Q,
cell_area: &Rectangle,
background_area: &Rectangle,
callback: R,
)where
P: IsA<CellAreaContext>,
Q: IsA<Widget>,
R: FnMut(&CellRenderer, &Rectangle, &Rectangle) -> bool,
fn get_cell_allocation<P, Q, R>( &self, context: &P, widget: &Q, renderer: &R, cell_area: &Rectangle, ) -> Rectangle
fn get_cell_at_position<P, Q>( &self, context: &P, widget: &Q, cell_area: &Rectangle, x: i32, y: i32, ) -> (CellRenderer, Rectangle)
fn get_current_path_string(&self) -> Option<GString>
fn get_edit_widget(&self) -> Option<CellEditable>
fn get_edited_cell(&self) -> Option<CellRenderer>
fn get_focus_cell(&self) -> Option<CellRenderer>
fn get_focus_from_sibling<P>(&self, renderer: &P) -> Option<CellRenderer>where
P: IsA<CellRenderer>,
fn get_focus_siblings<P>(&self, renderer: &P) -> Vec<CellRenderer>where
P: IsA<CellRenderer>,
fn get_preferred_height<P, Q>(&self, context: &P, widget: &Q) -> (i32, i32)
fn get_preferred_height_for_width<P, Q>( &self, context: &P, widget: &Q, width: i32, ) -> (i32, i32)
fn get_preferred_width<P, Q>(&self, context: &P, widget: &Q) -> (i32, i32)
fn get_preferred_width_for_height<P, Q>( &self, context: &P, widget: &Q, height: i32, ) -> (i32, i32)
fn get_request_mode(&self) -> SizeRequestMode
fn has_renderer<P>(&self, renderer: &P) -> boolwhere
P: IsA<CellRenderer>,
fn inner_cell_area<P>(&self, widget: &P, cell_area: &Rectangle) -> Rectangle
fn is_activatable(&self) -> bool
fn is_focus_sibling<P, Q>(&self, renderer: &P, sibling: &Q) -> bool
fn remove<P>(&self, renderer: &P)where
P: IsA<CellRenderer>,
fn remove_focus_sibling<P, Q>(&self, renderer: &P, sibling: &Q)
fn render<P, Q>( &self, context: &P, widget: &Q, cr: &Context, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, paint_focus: bool, )
fn request_renderer<P, Q>( &self, renderer: &P, orientation: Orientation, widget: &Q, for_size: i32, ) -> (i32, i32)
fn set_focus_cell<P>(&self, renderer: &P)where
P: IsA<CellRenderer>,
fn stop_editing(&self, canceled: bool)
fn connect_add_editable<F>(&self, f: F) -> SignalHandlerId
fn connect_apply_attributes<F>(&self, f: F) -> SignalHandlerId
fn connect_focus_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_remove_editable<F>(&self, f: F) -> SignalHandlerId
fn connect_property_edit_widget_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_edited_cell_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_focus_cell_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> CellLayoutExt for Owhere
O: IsA<CellLayout>,
impl<O> CellLayoutExt for Owhere
O: IsA<CellLayout>,
fn add_attribute<P>(&self, cell: &P, attribute: &str, column: i32)where
P: IsA<CellRenderer>,
fn clear(&self)
fn clear_attributes<P>(&self, cell: &P)where
P: IsA<CellRenderer>,
fn get_area(&self) -> Option<CellArea>
fn get_cells(&self) -> Vec<CellRenderer>
fn pack_end<P>(&self, cell: &P, expand: bool)where
P: IsA<CellRenderer>,
fn pack_start<P>(&self, cell: &P, expand: bool)where
P: IsA<CellRenderer>,
fn reorder<P>(&self, cell: &P, position: i32)where
P: IsA<CellRenderer>,
fn set_cell_data_func<P>(
&self,
cell: &P,
func: Option<Box<dyn Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter)>>,
)where
P: IsA<CellRenderer>,
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
.