Re: How do I get the number

2018-10-08 Thread Igor Korot via gtk-list
Hi, Chris, On Mon, Oct 8, 2018 at 7:28 PM Chris Moller wrote: > > / > | > |-> disk1 > | > | > |---X---> folder1 > |> folder2 > |-> disk2 > | > |> folder3 > |> folder4 >

Re: How do I get the number

2018-10-08 Thread Chris Moller
Here's a more complex tree, some of  of the files in my music collection.  (It's not exactly how GTK would show it, but close enough.) ── misc │   ├── PiSymphony │   │   ├── Pi-and-e.ogg │   │   └── The-Circle.ogg │   └── SovietArmy │   ├── 01 - Song of Youth.mp3 │   ├── 02 - A birch

Re: How do I get the number

2018-10-08 Thread Chris Moller
GTK tress are a bit like file system directory structures, a root having a bunch of entries corresponding to files and directories, the directories having their own entries, and so on.  Similarly, a GTK tree has a "root" that has a bunch of rows under it, each row can have a bunch of columns,

Re: How do I get the number

2018-10-08 Thread Igor Korot via gtk-list
On Mon, Oct 8, 2018 at 12:11 PM Chris Moller wrote: > > Hi, Igor, > > The row-activated handler calls: > > void > user_function (GtkTreeView *tree_view, >GtkTreePath *path, >GtkTreeViewColumn *column, >gpointer user_data) > { >

Re: gtk performance

2018-10-08 Thread Andrea Giammarchi via gtk-list
about this: > is there any way to create callbacks from the javascript world using the Webkit2Gtk webview? I've created a JSON communication channel between GJS and the WebView through title notifications:

Re: gtk performance

2018-10-08 Thread Gergely Polonkai
Hello, I don’t know about GtkListBox, but when using GtkTree, are you detaching your model from the treeview while you are doing mass operations on it? I remember reading it in a tutorial years (decades?) ago that you should do this. Sorry, but i have no answers at hand for your other

gtk performance

2018-10-08 Thread ente
Hi, I am facing performance issues in GTK upon presenting a big amount of tabular data. First I used GtkListbox for it's layout flexibility. Handling more than 10,000 items gets inacceptable slow. Switching to GtkTreeview I can handle some 300,000 items after applying a few optimizations (column