User Profile

Collapse

Profile Sidebar

Collapse
BjornB
BjornB
Last Activity: Oct 15 '07, 10:58 AM
Joined: Jun 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BjornB
    replied to Plotting in python
    Have a look at http://matplotlib.sour ceforge.net/...
    See more | Go to post

    Leave a comment:


  • Hi,

    attach the variable to your class,

    line 15: self.myVariable

    then in the method

    def OnCreateJob():
    self.myVariable ...

    br,
    Björn
    See more | Go to post

    Leave a comment:


  • BjornB
    replied to wxPython OGL questions.
    The reason I ask is that I have discovered OGL by looking at the example code in the demo, and it seems quite handy. However, I dont find a good overwiev documentation nor a tutorial or similar. If you do not have answers to my questions above, maybe someone could point me to a place where I can find the information.

    thanks
    Björn
    See more | Go to post

    Leave a comment:


  • BjornB
    started a topic wxPython OGL questions.

    wxPython OGL questions.

    Hi!

    I wonder if OGL supports laying out the objects drawn in a nice way, or do I have to specify the (x,y) of all objects myself? I woulld like to draw a "tree graph":

    O
    / \
    o o
    /|\
    o o o
    /|\
    o o o


    Also, I wonder if it is possible to export the graph to a well known format like bmp or jpg (or even better, vector graphics)....
    See more | Go to post

  • Hi!

    I'll have a look into the kind of tools that you are talking about, even tough I found the problem (I spent a lot of time reading code, uhg). What I was looking for was a sizer to have a nice layout. Then I simply added the splitter to the sizer object and it looks good.

    Thanks!
    Björn
    See more | Go to post

    Leave a comment:


  • BjornB
    started a topic Newbie question: layout problems with wxPython

    Newbie question: layout problems with wxPython

    Hi!

    I'm totally new to Python and I'm jus nw trying to create my first application with wxPython, exciting! However, I have a problem:

    I'm creating a Frame with a menu and buttonpanel (wx.lib.buttonp anel), then below this I want to have I splitter window, more or less like the file explorer in Windows.

    This is (some of) my code:

    [CODE=python]

    wx.Frame.__init __(self, parent,...
    See more | Go to post
    Last edited by bartonc; Jun 13 '07, 02:35 AM. Reason: Added =python to code tags
No activity results to display
Show More
Working...