OVH Cloud OVH Cloud

tk-month

2 réponses
Avatar
Frantz Dorsemine
Bonjour a tous, J'ai un pbl avec Tk-month, la fonction -month => 'month' ne
m'affiche pas le mois demander. Avez vous une idée?

Merci
Frantz

2 réponses

Avatar
jl_morel
Dans l'article ,
a dit...

Bonjour a tous, J'ai un pbl avec Tk-month, la fonction -month => 'month' ne
m'affiche pas le mois demander. Avez vous une idée?



Chez moi ça marche.
Est-ce que le petit script suivant vous affiche le mois de décembre ?

#!/usr/bin/perl -w
use strict;
use Tk;
use Tk::Month;

my $mw = MainWindow->new();

my $m = $mw->Month(
-month => 'décembre',
-title => '%B %Y',
)->pack();
MainLoop();

__END__


--
J-L.M.
http://www.bribes.org/perl

Avatar
Frantz Dorsemine
(Jean-Louis MOREL) écrivait
news:42f61d91$0$1214$:

Dans l'article ,
a dit...

Bonjour a tous, J'ai un pbl avec Tk-month, la fonction -month =>
'month' ne m'affiche pas le mois demander. Avez vous une idée?



Chez moi ça marche.
Est-ce que le petit script suivant vous affiche le mois de décembre ?

#!/usr/bin/perl -w
use strict;
use Tk;
use Tk::Month;

my $mw = MainWindow->new();

my $m = $mw->Month(
-month => 'décembre',
-title => '%B %Y',
)->pack();
MainLoop();

__END__




Merci j'ai compris, je suis en Français, donc il faut faire appel au mois
en Françcais. Merci JLM.

Frantz