如何从 PHP 中的 GtkTreeView 检索行数据?
我的尝试:
// $this->guidata = new GtkListStore();
// $this->view = new GtkTreeView($this->guidata);
$dutarray = array();
$selection = $this->view->get_selection();
$selection->select_all();
$dutArray = $selection->get_selected_rows();
谢谢你的帮忙!
迎接 leon22
PS:我有一个包含 2 列和 n 行的表(使用 $this->guidata->append($row) 添加行)