Is there a way to make the text in a column sortable? #1141
Unanswered
PlatinumLucario
asked this question in
Q&A
Replies: 1 comment 6 replies
-
I did not check your code but while reading the docs I stumbled upon the ColumnViewSorter. It reads from the docs like this could help you sorting a column? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to implement a sorter into the columns of my project, but so far from searching online has not really shown much in the way of information on how to implement them.
I'm currently using Gtk.ColumnView and Gtk.ColumnViewColumn for the layout, but I'd really like to know what I actually need to use to make the header columns clickable so the contents in the ColumnViewColumn can be sorted.
Apparently this guide for Gtkmm (the C++ bindings for GTK4) tell me that I have to use this for
Gtk.NumericSorter
:But I can't find any C# equivalent of this (unless I really have to use the Gtk.Internal ones).
Here's what I currently have for the column view:
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions