reflected Layer 'active' property in Python ( Thanks, Luiz Fernando Vital!)

This commit is contained in:
Artem Pavlenko 2006-12-17 12:08:11 +00:00
parent 31442b6bac
commit 659a012000

View File

@ -74,6 +74,10 @@ void export_layer()
&Layer::datasource,
&Layer::set_datasource,
"The datasource attached to this layer")
.add_property("active",
&Layer::isActive,
&Layer::setActive)
.def("envelope",&Layer::envelope,
"Return the geographic envelope/bounding box "