81 |
menu = wxMenu() |
menu = wxMenu() |
82 |
menuBar.Append(menu, "&Layer"); |
menuBar.Append(menu, "&Layer"); |
83 |
for name in ["layer_fill_color", "layer_transparent_fill", |
for name in ["layer_fill_color", "layer_transparent_fill", |
84 |
"layer_ourline_color", "layer_no_outline", |
"layer_outline_color", "layer_no_outline", |
85 |
None, |
None, |
86 |
"layer_raise", "layer_lower", |
"layer_raise", "layer_lower", |
87 |
None, |
None, |
197 |
event.Check(command.Checked(self)) |
event.Check(command.Checked(self)) |
198 |
|
|
199 |
def RunMessageBox(self, title, text, flags = wxOK | wxICON_INFORMATION): |
def RunMessageBox(self, title, text, flags = wxOK | wxICON_INFORMATION): |
200 |
"""Run a modla message box with the given text, title and flags |
"""Run a modal message box with the given text, title and flags |
201 |
and return the result""" |
and return the result""" |
202 |
dlg = wxMessageDialog(self, text, title, flags) |
dlg = wxMessageDialog(self, text, title, flags) |
203 |
result = dlg.ShowModal() |
result = dlg.ShowModal() |
549 |
"LayerTransparentFill", |
"LayerTransparentFill", |
550 |
helptext = "Do not fill the selected layer(s)", |
helptext = "Do not fill the selected layer(s)", |
551 |
sensitive = _has_selected_layer) |
sensitive = _has_selected_layer) |
552 |
_method_command("layer_ourline_color", "&Outline Color", "LayerOutlineColor", |
_method_command("layer_outline_color", "&Outline Color", "LayerOutlineColor", |
553 |
helptext = "Set the outline color of selected layer(s)", |
helptext = "Set the outline color of selected layer(s)", |
554 |
sensitive = _has_selected_layer) |
sensitive = _has_selected_layer) |
555 |
_method_command("layer_no_outline", "&No Outline", "LayerNoOutline", |
_method_command("layer_no_outline", "&No Outline", "LayerNoOutline", |