Browse Source

allow multiple rows selection

PHP-GTK3
yggverse 7 months ago
parent
commit
8439641f95
  1. 6
      src/Entity/Tab/History.php

6
src/Entity/Tab/History.php

@ -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…
Cancel
Save