[Qgis-user] Re: [Qgis-developer] SEXTANTE for QGIS has been released

Victor Olaya volayaf at gmail.com
Mon Apr 2 02:09:51 PDT 2012


>
> Hi Victor
>
> in Python you can use 'hasattr' builtin function:
> edit = QLineEdit()
> if hasattr(edit, 'setPlaceholderText'): edit.setPlaceholderText('foo')
>
> Cheers
> Martin

Great! Thanks!



More information about the Qgis-user mailing list