aboutsummaryrefslogtreecommitdiff
path: root/exemples/exemple_Strip.pl
diff options
context:
space:
mode:
Diffstat (limited to 'exemples/exemple_Strip.pl')
-rwxr-xr-xexemples/exemple_Strip.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/exemples/exemple_Strip.pl b/exemples/exemple_Strip.pl
index 004580e..c74975e 100755
--- a/exemples/exemple_Strip.pl
+++ b/exemples/exemple_Strip.pl
@@ -37,10 +37,12 @@ my $strip_focuser = new MTools::Comp::MFocuser ($strip1, $strip2, $strip3);
# Instanication d'un petit bouton rouge
my $bouton1 = new MTools::Widget::MToggleBouton (
parent => 1,
- g_on => 'strip.svg#alarme_on',
- g_off => 'strip.svg#alarme_off',
- e_press => 'PRENDRE_FOCUS',
- e_release => 'PRENDRE_FOCUS'
+ g_on1 => 'strip.svg#alarme_on',
+ g_off1 => 'strip.svg#alarme_off',
+ g_on2 => 'strip.svg#alarme_on',
+ g_off2 => 'strip.svg#alarme_off',
+ e_press1 => 'PRENDRE_FOCUS',
+ e_release1 => 'PRENDRE_FOCUS'
);
$bouton1 -> recordEvent('SET_FOCUS');
$bouton1 -> recordEvent('GET_FOCUS');