Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from the deprecated treeview widget #35

Open
phastmike opened this issue Apr 19, 2023 · 7 comments
Open

Move away from the deprecated treeview widget #35

phastmike opened this issue Apr 19, 2023 · 7 comments

Comments

@phastmike
Copy link
Owner

Treeviews are being deprecated in GTK 4.10. Move to the new proposed approach:

https://docs.gtk.org/gtk4/section-list-widget.html

@phastmike
Copy link
Owner Author

Related widgets were also deprecated.

@phastmike
Copy link
Owner Author

@phastmike
Copy link
Owner Author

Check gtk4-demo > Lists > Settings demo for an example

@phastmike
Copy link
Owner Author

phastmike added a commit that referenced this issue Feb 26, 2024
…s instead of a Gtk.ListStore now deprecated
@phastmike
Copy link
Owner Author

phastmike commented Mar 3, 2024

The new approach has virtues but kinda sucks at this stage.

Hard to capture double click: https://gitlab.gnome.org/GNOME/gtk/-/issues/4364

Height isn't easy to fix. (Solved with style class data-table)

Seems work in progress...🤷

@phastmike
Copy link
Owner Author

Drag and drop for rows also has problems:

A workaround would be, adding some buttons for sending the rows up or down but even this might be a challenge with the new api. Need to check

@phastmike
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant