> > Hi Victor > > in Python you can use 'hasattr' builtin function: > edit = QLineEdit() > if hasattr(edit, 'setPlaceholderText'): edit.setPlaceholderText('foo') > > Cheers > Martin
Great! Thanks! _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user