pyswt SWT.NULL

Discussion in 'Python' started by 3rdshiftcoder, May 29, 2006.

  1. hi-

    i am trying to make a pyswt gui and when it gets to this line:
    colType = Combo(self.shell, SWT.NULL)

    i get:
    colType = Combo(self.shell, SWT.NULL)
    AttributeError: NULL

    when using swt with java i had to have lots of imports at the beginning of a
    swt file.
    are they not needed when using pyswt?

    thanks for any help,
    jim
    3rdshiftcoder, May 29, 2006
    #1
    1. Advertising

  2. I got it. it is SWT.None

    thanks,
    jim

    "3rdshiftcoder" <> wrote in message
    news:O6reg.2716$HV1.383@trndny01...
    > hi-
    >
    > i am trying to make a pyswt gui and when it gets to this line:
    > colType = Combo(self.shell, SWT.NULL)
    >
    > i get:
    > colType = Combo(self.shell, SWT.NULL)
    > AttributeError: NULL
    >
    > when using swt with java i had to have lots of imports at the beginning of
    > a swt file.
    > are they not needed when using pyswt?
    >
    > thanks for any help,
    > jim
    >
    3rdshiftcoder, May 29, 2006
    #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. soni29

    swt action event?

    soni29, Jul 10, 2003, in forum: Java
    Replies:
    0
    Views:
    763
    soni29
    Jul 10, 2003
  2. SWT

    Swt Programmer

    SWT, Jul 15, 2003, in forum: Java
    Replies:
    0
    Views:
    377
  3. Kevin Pors

    SWT/Display.sleep()

    Kevin Pors, Sep 23, 2003, in forum: Java
    Replies:
    3
    Views:
    3,898
    Shripathi Kamath
    Sep 25, 2003
  4. Replies:
    5
    Views:
    26,489
    Mike Schilling
    Mar 29, 2006
  5. Ramon F Herrera

    Where can I download SWT? (SWT homepage)

    Ramon F Herrera, Dec 5, 2007, in forum: Java
    Replies:
    11
    Views:
    4,009
    Ramon F Herrera
    Dec 6, 2007
Loading...

Share This Page