Struct winsafe::gui::spec::ListViewItem [−][src]
pub struct ListViewItem<'a> { /* fields omitted */ }
Expand description
Represents a single item of a ListView
control.
Note: Each object keeps the zero-based index of an item. If new items are added/removed from the list view control, the object may then point to a different item.
You cannot directly instantiate this object, it is created internally by the control.
Implementations
Deletes the item by sending an
lvm::DeleteItem
message.
Scrolls the list by sending an
lvm::EnsureVisible
message so that
the item is visible in the list.
Tells if the item is the focused one by sending an
lvm::GetItemState
message.
Tells if the item is selected by sending an
lvm::GetItemState
message.
Tells if the item is currently visible by sending an
lvm::IsItemVisible
message.
Retrieves the unique ID for the item index by sending an
lvm::MapIndexToId
message.
If the item index has became invalid, returns None
.
Retrieves the bound rectangle of item by sending an
lvm::GetItemRect
message.
Sets the item as the focused one sending an
lvm:SetItemState
message.
Sets or removes the selection from the item by sending an
lvm::SetItemState
message.
Sets the text of the item under a column by sending an
lvm::SetItemText
message.
Retrieves the text of an item under a column by sending an
lvm::GetItemText
message.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListViewItem<'a>
impl<'a> Send for ListViewItem<'a>
impl<'a> Sync for ListViewItem<'a>
impl<'a> Unpin for ListViewItem<'a>
impl<'a> UnwindSafe for ListViewItem<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more