Parent Directory
|
Revision Log
|
Patch
trunk/thuban/Extensions/wms/properties.py revision 2367 by joey, Fri Oct 1 18:28:04 2004 UTC | branches/WIP-pyshapelib-bramz/Extensions/wms/properties.py revision 2734 by bramz, Thu Mar 1 12:42:59 2007 UTC | |
---|---|---|
# | Line 190 class wmsProperties(NonModalNonParentDia | Line 190 class wmsProperties(NonModalNonParentDia |
190 | Handle the 'Cancel button pressed' event | Handle the 'Cancel button pressed' event |
191 | """ | """ |
192 | self.Close() | self.Close() |
def OpenWMSProperties(parent, layer): | ||
""" | ||
Open or raise the WMS properties dialog | ||
""" | ||
name = "layer_properties_" + layer.url | ||
dialog = parent.get_open_dialog(name) | ||
if dialog is None: | ||
dialog = wmsProperties(parent, name, layer) | ||
parent.add_dialog(name, dialog) | ||
dialog.Show(True) | ||
else: | ||
dialog.Raise() |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |