aboutsummaryrefslogtreecommitdiff
path: root/exemples/Rattrapage.pm
diff options
context:
space:
mode:
authordidier2007-11-09 09:00:31 +0000
committerdidier2007-11-09 09:00:31 +0000
commit9527480e75336a2dda3edf8fc17956e9c0a4dd59 (patch)
treee172a60dae1b73f3b444bd97d7f68e89967f2394 /exemples/Rattrapage.pm
parenta883c2f1dc85d564a8d94d8cf852dc12632a072f (diff)
downloadmtc-9527480e75336a2dda3edf8fc17956e9c0a4dd59.zip
mtc-9527480e75336a2dda3edf8fc17956e9c0a4dd59.tar.gz
mtc-9527480e75336a2dda3edf8fc17956e9c0a4dd59.tar.bz2
mtc-9527480e75336a2dda3edf8fc17956e9c0a4dd59.tar.xz
Mise a jour des exemples par rapport aux differentes evolutions de MTools.
Notamment pour les toggleButton...
Diffstat (limited to 'exemples/Rattrapage.pm')
-rw-r--r--exemples/Rattrapage.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/exemples/Rattrapage.pm b/exemples/Rattrapage.pm
index 848b6dd..f5ddda7 100644
--- a/exemples/Rattrapage.pm
+++ b/exemples/Rattrapage.pm
@@ -112,10 +112,12 @@ sub new {
my $bouton_cloche = new MTools::Widget::MToggleBouton (
parent => $self,
- g_on => 'rattrapage.svg#cloche',
- g_off => 'rattrapage.svg#cloche_fantome',
- e_press => 'CLOCHE',
- e_release => 'PAS_CLOCHE'
+ g_on1 => 'rattrapage.svg#cloche',
+ g_off1 => 'rattrapage.svg#cloche_fantome',
+ g_on2 => 'rattrapage.svg#cloche',
+ g_off2 => 'rattrapage.svg#cloche_fantome',
+ e_press1 => 'CLOCHE',
+ e_release1 => 'PAS_CLOCHE'
);
my $bouton_delete = new MTools::Widget::MBouton (