Search found 37 matches

by pikkip
Wed Jun 14, 2017 8:53 am
Forum: General Development
Topic: Set coordinates of grid using obtained coordinates in wxPython
Replies: 5
Views: 2762

Re: Set coordinates of grid using obtained coordinates in wxPython

coord.png
here coloured cells are the highlighted cells
coord.png (38.77 KiB) Viewed 2745 times
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.
by pikkip
Wed Jun 14, 2017 5:44 am
Forum: General Development
Topic: Set coordinates of grid using obtained coordinates in wxPython
Replies: 5
Views: 2762

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.
by pikkip
Wed Jun 14, 2017 4:52 am
Forum: General Development
Topic: Set coordinates of grid using obtained coordinates in wxPython
Replies: 5
Views: 2762

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? :(
by pikkip
Mon Jun 12, 2017 11:16 am
Forum: General Development
Topic: change label value of grid in wxPython
Replies: 1
Views: 2397

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? :(
by pikkip
Tue May 30, 2017 8:20 am
Forum: General Development
Topic: Reposition the button whenever window is resized in wxPython
Replies: 2
Views: 2643

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? :?
by pikkip
Wed May 24, 2017 8:29 am
Forum: General Development
Topic: grey out a button in wxPython
Replies: 1
Views: 2554

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? :?
by pikkip
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: 963

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 wxGridStringTable::SetValue(): invalid row or ...
by pikkip
Wed Mar 15, 2017 6:52 am
Forum: General Development
Topic: wx.Buttons in sizer not appearing in eclipse neon
Replies: 1
Views: 730

Re: wx.Buttons in sizer not appearing in eclipse neon

I solved it, background picture of the frame was hiding them :D
by pikkip
Wed Mar 15, 2017 6:41 am
Forum: General Development
Topic: wx.Buttons in sizer not appearing in eclipse neon
Replies: 1
Views: 730

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??? :?
by pikkip
Fri Nov 18, 2016 5:46 am
Forum: General Development
Topic: Retrieve values from grid issue wxpython
Replies: 4
Views: 3303

Re: Retrieve values from grid issue wxpython

Got it, thank you
by pikkip
Thu Nov 17, 2016 7:17 am
Forum: General Development
Topic: Retrieve values from grid issue wxpython
Replies: 4
Views: 3303

Re: Retrieve values from grid issue wxpython

Is it GridCellChoiceEditor???
by pikkip
Wed Nov 16, 2016 7:24 am
Forum: General Development
Topic: Retrieve values from grid issue wxpython
Replies: 4
Views: 3303

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...