User Profile

Collapse

Profile Sidebar

Collapse
markwalker84
markwalker84
Last Activity: Jan 29 '07, 01:51 PM
Joined: Nov 23 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Much appreciated! Thanks :-)


    Mark...
    See more | Go to post

    Leave a comment:


  • 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...
    See more | Go to post

    Leave a comment:


  • ah... ok then... ill give that a whirl :-)


    Watch this space...


    mark...
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:


  • markwalker84
    started a topic wxPython.Panel refresh / redraw / update???

    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...
    See more | Go to post

  • markwalker84
    replied to Event handling across classes
    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...
    See more | Go to post

    Leave a comment:


  • markwalker84
    replied to Event handling across classes
    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! :-)

    ...
    See more | Go to post

    Leave a comment:


  • markwalker84
    replied to Event handling across classes
    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...


    Mark
    See more | Go to post

    Leave a comment:


  • markwalker84
    replied to Event handling across classes
    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...
    See more | Go to post

    Leave a comment:


  • markwalker84
    replied to Event handling across classes
    :-) 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!...
    See more | Go to post

    Leave a comment:


  • markwalker84
    started a topic Event handling across classes

    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)
    ...
    See more | Go to post
No activity results to display
Show More
Working...