/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 83 by bh, Thu Sep 13 13:56:23 2001 UTC revision 84 by bh, Wed Apr 3 15:21:46 2002 UTC
# Line 65  class MainWindow(wxFrame): Line 65  class MainWindow(wxFrame):
65    
66          menu = wxMenu()          menu = wxMenu()
67          menuBar.Append(menu, "&Map");          menuBar.Append(menu, "&Map");
68          for name in ["map_projection",          for name in ["layer_add", "layer_remove",
69                         None,
70                         "map_projection",
71                       None,                       None,
72                       "map_zoom_in_tool", "map_zoom_out_tool", "map_pan_tool",                       "map_zoom_in_tool", "map_zoom_out_tool", "map_pan_tool",
73                       "map_identify_tool", "map_label_tool",                       "map_identify_tool", "map_label_tool",
# Line 77  class MainWindow(wxFrame): Line 79  class MainWindow(wxFrame):
79    
80          menu = wxMenu()          menu = wxMenu()
81          menuBar.Append(menu, "&Layer");          menuBar.Append(menu, "&Layer");
82          for name in ["layer_add", "layer_remove",          for name in ["layer_fill_color", "layer_transparent_fill",
                      None,  
                      "layer_fill_color", "layer_transparent_fill",  
83                       "layer_ourline_color", "layer_no_outline",                       "layer_ourline_color", "layer_no_outline",
84                       None,                       None,
85                       "layer_raise", "layer_lower",                       "layer_raise", "layer_lower",
# Line 519  _method_command("map_full_extent", "&Ful Line 519  _method_command("map_full_extent", "&Ful
519  _method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map")  _method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map")
520    
521  # Layer menu  # Layer menu
522  _method_command("layer_add", "&Add", "AddLayer",  _method_command("layer_add", "&Add Layer", "AddLayer",
523                  helptext = "Add a new layer to active map")                  helptext = "Add a new layer to active map")
524  _method_command("layer_remove", "&Remove", "RemoveLayer",  _method_command("layer_remove", "&Remove Layer", "RemoveLayer",
525                  helptext = "Remove selected layer(s)",                  helptext = "Remove selected layer(s)",
526                  sensitive = _has_selected_layer)                  sensitive = _has_selected_layer)
527  _method_command("layer_fill_color", "&Fill Color", "LayerFillColor",  _method_command("layer_fill_color", "&Fill Color", "LayerFillColor",

Legend:
Removed from v.83  
changed lines
  Added in v.84

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26