diff options
| author | Maarten Vanraes <alien@mageia.org> | 2016-02-13 11:33:34 +0100 |
|---|---|---|
| committer | Maarten Vanraes <alien@mageia.org> | 2016-02-13 11:37:12 +0100 |
| commit | 6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a (patch) | |
| tree | 7315dda5d1f3e46c214981a5a83cef1fb12b29b6 /lib/ManaTools/Shared/GUI/ExtTab.pm | |
| parent | cbcb723c55b0ed48f2ed837486d0b3cf2d3252f3 (diff) | |
| download | manatools-6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a.tar manatools-6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a.tar.gz manatools-6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a.tar.bz2 manatools-6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a.tar.xz manatools-6c432030a01d6ae0e12b1027eb7e0c84b6c90f3a.zip | |
optional name for widgets, items, events
the name will now be autogenerated depending on a basename that each
EventRole needs to implement, with a numeric suffix increasing in
number, it checks this in the already present eventHandler.
Diffstat (limited to 'lib/ManaTools/Shared/GUI/ExtTab.pm')
| -rw-r--r-- | lib/ManaTools/Shared/GUI/ExtTab.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/GUI/ExtTab.pm b/lib/ManaTools/Shared/GUI/ExtTab.pm index 66a14690..66f242bb 100644 --- a/lib/ManaTools/Shared/GUI/ExtTab.pm +++ b/lib/ManaTools/Shared/GUI/ExtTab.pm @@ -78,6 +78,12 @@ use Moose; use diagnostics; use utf8; +has 'basename' => ( + is => 'ro', + isa => 'Str', + default => 'ExtTab', +); + with 'ManaTools::Shared::GUI::EventRole'; use yui; |
