From: <bra...@om...> - 2005-05-20 23:17:30
|
More thoughts on the newResourceEditor v.3 When both name and text of a TextField have the "specified" box unchecked (this is the default after creating a new TextField), often I find myself wanting to delete the text attribute. When I do so, the widget gets renamed to the letter 'a'. In those cases, I would prefer that the widget name attribute be left alone. When renaming a widget, on the other hand, I think it's useful for the text property to update itself when it's not marked 'specified'. I guess I'm arguing that the "specified" checkbox be dropped from the widget name, but kept for the widget text and label attributes. Sidenote: If we end up keeping the "specified" checkbox next to the widget name, and continue with the auto-naming based on the widget text or label, we probably should stop using underscores in the auto-naming, since underscores have special meaning in PythonCard events (as in on_widgetName_mouseClick). |