Search found 6 matches

by ojibway
Wed Mar 09, 2011 10:57 pm
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

I should have a book of some sorts, I know, but I don't, cannot get one until the end of the month. So, all I have to go by is the code within the wxpython demo, which is not forth coming in explaining what the code is doing. Forums are on a short list, so can't get help there either. So, I am learn...
by ojibway
Wed Mar 09, 2011 5:24 pm
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

After spending the last 12 hours of trying to get a glcanvas to open in a different window, I am not sure of the word "easier" as being an appropiate word for describing learning Python. But I finally got it to work, I am alot more bald though.
by ojibway
Tue Mar 08, 2011 9:29 pm
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

Regarding the white space, I'm not sure what you mean, sorry In wxpython, bitmapbuttons are given a white space around them, but it might be something that comes from photoshop. All I know is if I give the same button a staticBitmap label instead, the white space, or background frame around the but...
by ojibway
Tue Mar 08, 2011 10:18 am
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

Here is my code so far, truncated to only include 4 buttons instead of the 112. Should I be learning a different language before the code you see? I also noticed another problem, with 4 buttons the loading of the program is fast, but with 112 buttons the white space behind the buttons is built befor...
by ojibway
Tue Mar 08, 2011 1:38 am
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

What I want my program to do is leave the mainpage accessible at all times, which is basically a page containing nothing more than buttons. When a button is pressed I do not want to repaint(or what ever call it) the frame, but instead open another frame in its own window. That window will contain th...
by ojibway
Mon Mar 07, 2011 11:36 pm
Forum: Open Discussion
Topic: Button event question
Replies: 10
Views: 7654

Button event question

I am making a wxprogram to show the geometry associated to elements on the periodic table. The image of a periodic table is my opening frame page with each rectangular image being a button(112 buttons). What I want to do is have the button click event open another window that will contain a GLcanvas...