diff options
author | Maarten Vanraes <alien@mageia.org> | 2016-05-08 00:04:24 +0200 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2016-05-08 09:57:43 +0200 |
commit | d652078a5ed9a0bda7876b80003aefa7a794bfaa (patch) | |
tree | 053ef7c2f617bdc58d9b3fad5c4611333bfc28ae /lib/ManaTools/Shared/GUI/ExtWidget.pm | |
parent | 68821e30f29ff52a8cd56f9f1774976b48acfc03 (diff) | |
download | manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.gz manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.bz2 manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.xz manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.zip |
ExtWidget: add a _finishSelectorWidget overridable
Diffstat (limited to 'lib/ManaTools/Shared/GUI/ExtWidget.pm')
-rw-r--r-- | lib/ManaTools/Shared/GUI/ExtWidget.pm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/GUI/ExtWidget.pm b/lib/ManaTools/Shared/GUI/ExtWidget.pm index 5d691ad6..a0bad96a 100644 --- a/lib/ManaTools/Shared/GUI/ExtWidget.pm +++ b/lib/ManaTools/Shared/GUI/ExtWidget.pm @@ -212,6 +212,26 @@ sub _buildSelectorWidget { #============================================================= +=head2 _finishSelectorWidget + +=head3 INPUT + + $self: this object + +=head3 DESCRIPTION + + finalizes the selection widget, needs to be overridden in subclasses + +=cut + +#============================================================= +sub _finishSelectorWidget { + my $self = shift; + my $selectorWidget = shift; +} + +#============================================================= + =head2 buildSelectionWidget =head3 INPUT @@ -241,6 +261,7 @@ sub buildSelectionWidget { # processEvents from the parent down. Therefor, we'll set the # parentEventHandler directly, so that any parent referrals still work. $self->{replacepoint}->parentEventHandler($self->{eventHandler}); + $self->_finishSelectorWidget($selectorWidget); # don't add any children right away $self->{replacepoint}->finished(); |