Hi, I am looking at possibly using wx python for a game that I am trying to build an interface for, but I would really like a specific kind of control. It doesn't have to be wx python, but I am most familiar with wx python and pygame. I am using python 3.4.
I want a control very similar to a listbox, but allows for left and right navigation similar to a table control. There are a few wx wigits that I have found such as ListCtrl using the report mode, or another similar control that I can't seem to find right now. The problem with these is that they are column oriented rather than row oriented. I don't care about the columns, I only care about the rows, which could be varying lengths.
To provide some context, I have a card game with many different zones, I want each zone to be a row in the list box, the zones obviously can have varying numbers of cards. I want to be able to navigate by each card in the zone by left and right errows, and to be able to move to the next zone using up and down errow. I will need to be able to add and remove items from each row easily, and a way to be able to pull up a context menu to show various operations for any given card.
A list box is almost what I want, but I can't find a way to override the keys for controlling the listbox so that the left and right erros could say navigate through an array of cards.
Does anyone have any idea on how to do this, or a different way of how to easily and quickly navigate through different card zones?