Trait rstk::canvas::TkCanvasTags[][src]

pub trait TkCanvasTags: TkCanvasItem {
    fn add_tag(&self, tag: &str) { ... }
fn delete_tag(&self, tag: &str) { ... }
fn get_tags(&self) -> Vec<String> { ... } }
Expand description

Each item can have one or more named tags attached to it. These tags can be used to configure groups of items.

Provided methods

Adds given tag to this canvas item.

Deletes tag from this canvas item.

Returns all tags associated with this canvas item.

Implementors