mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-09-25 21:20:07 +00:00
0164d71bf2
Keep only the SPDX and mention the project
21 lines
422 B
Rust
21 lines
422 B
Rust
// selection.rs
|
|
//
|
|
// Copyright 2022 Stéphane Cerveau <scerveau@collabora.com>
|
|
//
|
|
// This file is part of GraphManager
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
pub trait SelectionExt {
|
|
/// Toggle selected
|
|
///
|
|
fn toggle_selected(&self);
|
|
|
|
/// Set selection to selected state
|
|
///
|
|
fn set_selected(&self, selected: bool);
|
|
|
|
/// Retrieve selection state
|
|
///
|
|
fn selected(&self) -> bool;
|
|
}
|