- here coloured cells are the highlighted cells
- coord.png (38.77 KiB) Viewed 4356 times
Search found 37 matches
- Wed Jun 14, 2017 8:53 am
- Forum: General Development
- Topic: Set coordinates of grid using obtained coordinates in wxPython
- Replies: 5
- Views: 4373
Re: Set coordinates of grid using obtained coordinates in wxPython
As shown in the figure, some cells are coloured red. These are the highlighted cells. I want to do a program where I have a grid and user gives me the x and y coordinates of some cells in this grid. I have to map these coordinates to corresponding cells in the grid and colour them red.
- Wed Jun 14, 2017 5:44 am
- Forum: General Development
- Topic: Set coordinates of grid using obtained coordinates in wxPython
- Replies: 5
- Views: 4373
Re: Set coordinates of grid using obtained coordinates in wxPython
I have a grid of dimension x X y. I want to highlight the cell whose coordinates I obtain from the user.
- Wed Jun 14, 2017 4:52 am
- Forum: General Development
- Topic: Set coordinates of grid using obtained coordinates in wxPython
- Replies: 5
- Views: 4373
Set coordinates of grid using obtained coordinates in wxPython
I have a program which obtaines a set of coordinates from the user and try to display it on a grid in wxPython. How to do this in Python?
- Mon Jun 12, 2017 11:16 am
- Forum: General Development
- Topic: change label value of grid in wxPython
- Replies: 1
- Views: 3336
change label value of grid in wxPython
I wanted to change the label value of columns in wxPython grid. Its value should be set as 1,2,3,...How can I do that?
- Wed May 31, 2017 3:37 am
- Forum: General Development
- Topic: Reposition the button whenever window is resized in wxPython
- Replies: 2
- Views: 3701
- Tue May 30, 2017 8:20 am
- Forum: General Development
- Topic: Reposition the button whenever window is resized in wxPython
- Replies: 2
- Views: 3701
Reposition the button whenever window is resized in wxPython
I am creating a window with two buttons in wxPython. Initially, the window is small. On maximizing its size, the buttons shifts but shows as if there are two buttons instead of one. How can I solve this problem?
- Wed May 24, 2017 8:29 am
- Forum: General Development
- Topic: grey out a button in wxPython
- Replies: 1
- Views: 3859
grey out a button in wxPython
I am working with buttons in wxPython. I want to grey out a button for 5 seconds. How is it done?
- Thu Mar 23, 2017 12:46 pm
- Forum: General Development
- Topic: Error while inserting value in to cells in a grid in wxpython
- Replies: 2
- Views: 2474
- Thu Mar 23, 2017 10:05 am
- Forum: General Development
- Topic: Error while inserting value in to cells in a grid in wxpython
- Replies: 2
- Views: 2474
Error while inserting value in to cells in a grid in wxpython
I am getting the following error while inserting values in the cells of grid in wxPython: wx._core.PyAssertionError: C++ assertion "(row >= 0 && row < GetNumberRows()) && (col >= 0 && col < GetNumberCols())" failed at ..\..\src\generic\grid.cpp(1305) in wxGridString...
- Wed Mar 15, 2017 6:52 am
- Forum: General Development
- Topic: wx.Buttons in sizer not appearing in eclipse neon
- Replies: 1
- Views: 1488
Re: wx.Buttons in sizer not appearing in eclipse neon
I solved it, background picture of the frame was hiding them
- Wed Mar 15, 2017 6:41 am
- Forum: General Development
- Topic: wx.Buttons in sizer not appearing in eclipse neon
- Replies: 1
- Views: 1488
wx.Buttons in sizer not appearing in eclipse neon
I developed a simple page to display a grid and buttons of wxWidgets in Python using Eclipse IDE in my Ubuntu machine. I tried to execute it in my Windows machine. Grid is visible but the buttons are missing. I have put the buttons in a sizer. Can that be the reason???
- Fri Nov 18, 2016 5:46 am
- Forum: General Development
- Topic: Retrieve values from grid issue wxpython
- Replies: 4
- Views: 4497
Re: Retrieve values from grid issue wxpython
Got it, thank you
- Thu Nov 17, 2016 7:17 am
- Forum: General Development
- Topic: Retrieve values from grid issue wxpython
- Replies: 4
- Views: 4497
Re: Retrieve values from grid issue wxpython
Is it GridCellChoiceEditor???
- Wed Nov 16, 2016 7:24 am
- Forum: General Development
- Topic: Retrieve values from grid issue wxpython
- Replies: 4
- Views: 4497
Retrieve values from grid issue wxpython
I have inserted certain values to a grid. I am trying to retrieve those values using GetTable().GetValue(row,col). My grid has two columns. One contains name and the other , type. Type option is given in combobox. The problem is that when I get the retrieved values, I get all of them except the valu...
- Wed Nov 16, 2016 5:29 am
- Forum: General Development
- Topic: How to delete the whole grid in wxpython???
- Replies: 2
- Views: 3664