pyswt SWT.NULL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 3rdshiftcoder

    #1

    pyswt SWT.NULL

    hi-

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

    i get:
    colType = Combo(self.shel l, 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

    #2
    Re: pyswt SWT.NULL

    I got it. it is SWT.None

    thanks,
    jim

    "3rdshiftco der" <go@away.com> wrote in message
    news:O6reg.2716 $HV1.383@trndny 01...[color=blue]
    > hi-
    >
    > i am trying to make a pyswt gui and when it gets to this line:
    > colType = Combo(self.shel l, SWT.NULL)
    >
    > i get:
    > colType = Combo(self.shel l, 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
    >[/color]


    Comment

    Working...