wxPython, wxOGL ... GetSize???

Discussion in 'Python' started by valjean, Apr 13, 2004.

  1. valjean

    valjean Guest

    hi everybody,

    I'm using wxPython and wxOGL to draw a simple diagramm. I know, that
    the class wxShape has the method "SetSize" to set the size of the
    shape.

    But how do I get the size of a shape?

    thx, valjean
    valjean, Apr 13, 2004
    #1
    1. Advertising

  2. valjean

    F. GEIGER Guest

    It's been a while since I "OGLed", but IIRC you have to get the Regions
    first. A Region then can be queried for its size.

    HTH
    Franz

    "valjean" <> schrieb im Newsbeitrag
    news:...
    > hi everybody,
    >
    > I'm using wxPython and wxOGL to draw a simple diagramm. I know, that
    > the class wxShape has the method "SetSize" to set the size of the
    > shape.
    >
    > But how do I get the size of a shape?
    >
    > thx, valjean
    F. GEIGER, Apr 15, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roedy Green

    ZipEntry.getSize

    Roedy Green, Sep 15, 2003, in forum: Java
    Replies:
    18
    Views:
    4,663
    M1chael
    Jan 22, 2008
  2. Anand
    Replies:
    1
    Views:
    342
    Cliff Wells
    Jul 23, 2003
  3. ulysses
    Replies:
    4
    Views:
    751
    Werner Schiendl
    Oct 22, 2003
  4. Matt
    Replies:
    0
    Views:
    1,155
  5. Sean DiZazzo

    os.path.getsize() on Windows

    Sean DiZazzo, Mar 18, 2008, in forum: Python
    Replies:
    17
    Views:
    1,004
    Martin v. Löwis
    Mar 21, 2008
Loading...

Share This Page