ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to write a cross platform program that will display a 2d array as a table. I want to be able to left click on a cell and drag the whole row up or down and then place it back into the table at a different location. Also, I want to be able to right click on a cell and drag the whole column left of right and then place it back into the table at a different location.
So far I've tried using gtk's liststore which has a built in function that allows the rows to be reorded as described but I can't seem to write code to get the columns to work as desired. I'm starting to think that liststore is the wrong way to approach this problem. Any insight would be great. Thanks.
Thanks for the reply, I've acutally started another approach, using tkinter which seems very promising. Tkinter is a lot lessed black boxed so I feel like I'm in more control if only because I understand what's going on better. I'll keep you posted.