Much appreciated! Thanks :-)
Mark...
User Profile
Collapse
-
Lol...
Sorry - i got frustrated last night and just went to bed.
Couldnt get it working :-(
I know the variables are being updated as i created a push button -> change label to a variable test panel and it works fine. The problem is in actually re-building the panels... if that makes sense?
ARGH!
Mark...Leave a comment:
-
ah... ok then... ill give that a whirl :-)
Watch this space...
mark...Leave a comment:
-
i tried self.Refresh() but it didnt seem to do much :-s
where would i include the self.parent = parent line? and also - what exactly would that do? lol
Ive got a sort of make-shift solution 1/2 working where i have a method which destroys all the frames within mainFrame and then another method rebuilds them, but for some reason it will only do this once. Try for a second time and it seems unable to cirrectly build the...Leave a comment:
-
wxPython.Panel refresh / redraw / update???
Hello everyone!
Got a bit of a problem...
Two of the panels on my program contain a number of check boxes. The exact number of which is determined by a pair of variables.
I have recently implemented a Wizard which changes that number, as well as a save and load function to the program.
I know the number of being altered in memory (i added a quick check button) but what i'm struggling with... -
I played around with Glade but for some reason it wasnt working properly on my computer - and Boa never got close to working... blame it on Windows :-p
Right - i'm going to give that data passing thing a go.
Thanks again for all the help - no doubt i'll be back in a day or two! lol
All the best,
Mark...Leave a comment:
-
wxPython In Action - Noel Rappin & Robin Dunn... correct :-)
It's pretty much been my bible for the past few weeks! Its a really good reference book but there arent many examples of BIG code... if you get what i mean?
When you say 7 +- 3 widgets... am i right in thinking that means
Main.1st level.2nd level..... 7th level?
If thats the case i reckon im just about ok! :-)
...Leave a comment:
-
Just followed the data path through... but of a maze isnt it :-s didnt realise the nesting had gotten so deep...
This could get quite messy once i start having more things interacting with other things...
MarkLeave a comment:
-
Wow - thanks for the quick reply...
I should really have inherited wx.Panel when i made NewPanel - i may go back and change that. Would there be any real benefit to that other than maybe a couple of lines of code?
About the nesting. This is my second itteration of the program. The first was truely UGLY! hehe... I had everything built inside the MainFrame class... not a pretty sight! So after some reading up on refactorising...Leave a comment:
-
:-) Thanks a lot - much appreciated!
wx is amazing! I tried building a GUI on VC++ a few months back and it nearly killed me! lol - the wxPython / Widgets library combined with Python coding makes the whole things SOOOOOOOO much easier!
There are two files that i havnt included... Wizard.py & Initials.py, if you need the code for those aswell then let me know and i will get them up.
Thanks again!...Leave a comment:
-
Event handling across classes
Hi there, just wondering if i could have a pointer inthe right direction here...
Sorry about the massive code posting - is that a wrong thing to do?
...Code:from Initials import * import wx import os from Wizard import * class MainFrame(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, title)
No activity results to display
Show More
Leave a comment: