You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
create an empty project in vs2017, add 7 dll in my project, add following code, compile ok,
the data in NodeView didn't show, just empty.
namespaceProject1{publicclassNodeViewExample:Gtk.Window{publicNodeViewExample():base("NodeView"){SetSizeRequest(200,150);// Create our TreeView and add it as our child widgetGtk.NodeViewview=newGtk.NodeView(Store);Add(view);// Create a column with title Artist and bind its renderer to model column 0view.AppendColumn("Artist",newGtk.CellRendererText(),"text",0);// Create a column with title 'Song Title' and bind its renderer to model column 1view.AppendColumn("Song Title",newGtk.CellRendererText(),"text",1);view.ShowAll();}protectedoverrideboolOnDeleteEvent(Gdk.Eventev){Gtk.Application.Quit();returntrue;}Gtk.NodeStorestore;Gtk.NodeStoreStore{get{if(store==null){store=newGtk.NodeStore(typeof(MyTreeNode));store.AddNode(newMyTreeNode("The Beatles","Yesterday"));store.AddNode(newMyTreeNode("Peter Gabriel","In Your Eyes"));store.AddNode(newMyTreeNode("Rush","Fly By Night"));}returnstore;}}publicstaticvoidMain(){Gtk.Application.Init();NodeViewExamplewin=newNodeViewExample();win.Show();Gtk.Application.Run();}}}
Current Behavior
the NodeView is empty.
Expected Behavior
it should contain 3 row data and 1 line column header.
Artist
Song Title
The Beatles
Yesterday
Peter Gabriel
In Your Eyes
Rush
Fly By Night
On which platforms did you notice this
[ ] macOS
[ ] Linux
[*] Windows
win 10:
Stacktrace
Please paste the stack trace here if available.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
https://www.mono-project.com/docs/gui/gtksharp/widgets/nodeview-tutorial-examples/
Current Behavior
the NodeView is empty.
Expected Behavior
it should contain 3 row data and 1 line column header.
On which platforms did you notice this
[ ] macOS
[ ] Linux
[*] Windows
win 10:
Stacktrace
The text was updated successfully, but these errors were encountered: