Mono GTK # watchlist with several views (icons, data, list, etc.)

I am writing my first Mono GTK # application and need a list control that can support several views, such as a list, details, icons (similar to Windows Explorer).

I basically need a widget that is TreeView, IconView and NodeView in one.

Preferably, I would also like to group the nodes into nodes.

My application is capturing metadata for movies, where I can have 1000 movies. I would like to group them by letter, so that “A” will be a node tree and lower than I would have “Armageddon”, “Antz”, “The Tale of the Knights”, etc., And I would like to watch these films as icons (indicating the poster and name) and detailed information (showing the name, star rating, file size, file location, etc.).

I achieved this using ObjectListView in my original WinForms application, but decided that this application is better for Mono / GTK # so it can work on multiple platforms (e.g. Mac and Linux).

Is there such a widget, or can I customize a TreeView or IconView to achieve what I need?

TIA

+4
source share
1 answer

Unfortunately, I can not comment on this question, so just send an answer.

In Gtk # you can achieve both: TreeView and NodeView using the Gtk.TreeView widget, however it will not be as easy as in .NET.

IconView will be a little harder to implement. You will need to use many small widgets such as Gtk.Frame , Gtk.Table , Gtk.HBox and Gtk.VBox to achieve a decent look.

Gtk # unfortunately has nothing.

Answering your question: Yes, there is a Gtk.TreeView widget and many other small components for creating your IconView. They are very customizable, but, as I said, this is not an easy task.

Hope this helps.

+1
source

Source: https://habr.com/ru/post/1391151/


All Articles