-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When trying to filling a TreeView with code below, CLI just randomly crashes somtimes, while other times it will execute the code as intended.
function Treeview_Fill($object, $columns = array(), $data = array(), $failer = false) {
var_dump($object);
echo "a";
$column1 = new GtkTreeViewColumn("Name", new GtkCellRendererText(), "text", 0);
echo "b";
$object->append_column($column1);
echo "c";
$model = new GtkListStore(GObject::TYPE_STRING);
echo "d";
$object->set_model($model);
echo "e";
return true;
}
Sometimes the code gets to b, sometimes to c, sometimes to d. There is no logic behind this and no errors to debug.
Metadata
Metadata
Assignees
Labels
No labels