mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
allow multiple rows selection
This commit is contained in:
parent
aa2a290615
commit
8439641f95
1 changed files with 4 additions and 2 deletions
|
|
@ -186,8 +186,6 @@ class History
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Init list storage
|
// Init list storage
|
||||||
$this->list = new \GtkListStore(
|
$this->list = new \GtkListStore(
|
||||||
\GObject::TYPE_STRING,
|
\GObject::TYPE_STRING,
|
||||||
|
|
@ -199,6 +197,10 @@ class History
|
||||||
$this->list
|
$this->list
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->treeview->get_selection()->set_mode(
|
||||||
|
\GtkSelectionMode::MULTIPLE
|
||||||
|
);
|
||||||
|
|
||||||
// Compose body
|
// Compose body
|
||||||
$this->body = new \GtkBox(
|
$this->body = new \GtkBox(
|
||||||
\GtkOrientation::VERTICAL
|
\GtkOrientation::VERTICAL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue