RE: TK question

2009-09-20 Thread Jack
$frame->placeForget; print "File is: $file\n"; } else { $file = $mw->getOpenFile(); print "File is: $file\n"; } } __END__ I'm not necessarily sure you would want to do this in production - but it seems to work. Jack D. ___

Re: TK question

2009-09-20 Thread Justin Allegakoen
2009/9/19 Spencer Chase > > Greetings Perl-Win32-Users, > > I have been trying everything I can think of and nothing works. I have a TK > application that uses getopenfile. The problem is that you can select a file > in the browser window by either clicking the file and then clicking "open" or

TK question

2009-09-18 Thread Spencer Chase
Greetings Perl-Win32-Users, I have been trying everything I can think of and nothing works. I have a TK application that uses getopenfile. The problem is that you can select a file in the browser window by either clicking the file and then clicking "open" or you can double click the file and no

RE: A Perl::Tk question

2009-02-24 Thread Alex.Ignacz
-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Jack Sent: Monday, February 23, 2009 3:47 PM To: perl-win32-users@listserv.activestate.com Subject: RE: A Perl::Tk question Sorry for the top post - it's just how my reader works. There are two op

RE: A Perl::Tk question

2009-02-23 Thread Yaar, Kfir
o:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of alex.ign...@atcoitek.com Sent: Monday, February 23, 2009 10:59 PM To: perl-win32-users@listserv.ActiveState.com Subject: A Perl::Tk question Hi there, I need to know the name of the object that called me from inside my callback routine

RE: A Perl::Tk question

2009-02-23 Thread Jack
e.com] On Behalf Of alex.ign...@atcoitek.com Sent: February-23-09 1:59 PM To: perl-win32-users@listserv.activestate.com Subject: A Perl::Tk question Hi there, I need to know the name of the object that called me from inside my callback routine. For instance I have 3 buttons, they all call the same su

A Perl::Tk question

2009-02-23 Thread Alex.Ignacz
Hi there, I need to know the name of the object that called me from inside my callback routine. For instance I have 3 buttons, they all call the same subroutine, if button number 3 was pressed, I want to be able to determine that at run time. Even if it's just by reading the button text. How do I

Fwd: Re: TK question

2007-09-07 Thread Don VanSyckel
Thanks, I try the ProgressBar. Don -- Forwarded Message -- Subject: Re: TK question Date: Friday 07 September 2007 12:36 From: Spencer Chase <[EMAIL PROTECTED]> To: perl-win32-users@listserv.ActiveState.com Greetings Don, you can use Tk::ProgressBar; if you can cou

Re: TK question

2007-09-07 Thread Spencer Chase
Greetings Don, you can use Tk::ProgressBar; if you can count the total number of files. then advance the bar as you increment a counter of files done. that way, you can let TK do all the hard stuff. Friday, September 7, 2007, 7:44:30 AM, you wrote: DV> I have a small app for windows that uses TK

TK question

2007-09-07 Thread Don VanSyckel
I have a small app for windows that uses TK to display a menu. Mostly copied out of the book. Each button calls a subroutine. One of the buttons copies some large files. This all works fine. I need to add something to let the user know the copy process is in progress. My first thought is

Re: TK question

2006-02-07 Thread Lynn. Rickards
Spencer_Lists wrote: Greetings perl-win32-users, This is really a TK question but I can't find a way to join the TK list in order to post. It does not show up in the subscriptions list. I have a TK Canvas on which I have drawn 128 polygons representing the extended MIDI piano keyboard. I

TK question

2006-02-07 Thread Spencer_Lists
Greetings perl-win32-users, This is really a TK question but I can't find a way to join the TK list in order to post. It does not show up in the subscriptions list. I have a TK Canvas on which I have drawn 128 polygons representing the extended MIDI piano keyboard. I have tried everything

RE: TK Question

2005-06-03 Thread Jack D
From: Jim Hansen <[EMAIL PROTECTED]> To: perl-win32-users@listserv.ActiveState.com Subject: TK Question Date: Thu, 2 Jun 2005 06:56:51 -0700 (PDT) I've been able to finally get TK:Statusbar to work, but still not sure how to get rid of the buttons. I would like this to automatic

TK Question

2005-06-02 Thread Jim Hansen
I've been able to finally get TK:Statusbar to work, but still not sure how to get rid of the buttons. I would like this to automatically launch the "Start" subroutine w/o pressing a button to do it. Anyone have experience with TK in bypassing the need for human interaction? I would Post this to

Re:Re: perl Tk question

2005-06-01 Thread assistent
[EMAIL PROTECTED] wrote: >> Hi All! >> In the following snippet: >> >> use strict; >> use Tk; >> require Tk::LabFrame; >> my $top = new MainWindow; >> my $bar=$top->LabFrame(-label => 'buttons bar'); >> $bar->pack; >> my $exi=$bar->Button(-command=>\&exi,-text=>'exit'); >> $exi->pack(-side=>'

Re: perl Tk question

2005-06-01 Thread Zeray Abraha
| | To: perl-win32-users@listserv.ActiveState.com | | cc: (bcc: Zeray Abraha/WLR/SC/PHILIPS)

RE: perl Tk question

2005-06-01 Thread Darian Horn
#} } # added new function sub Timer { $text0->delete('0.0', 'end'); $text0->insert('end',sprintf("%02d", $counter++)); $top->update; if($counter > 20) {

Re: perl Tk question

2005-06-01 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hi All! > In the following snippet: > > use strict; > use Tk; > require Tk::LabFrame; > my $top = new MainWindow; > my $bar=$top->LabFrame(-label => 'buttons bar'); > $bar->pack; > my $exi=$bar->Button(-command=>\&exi,-text=>'exit'); > $exi->pack(-side=>'left'); > m

RE: perl Tk question

2005-06-01 Thread Anderson, Mark (Service Delivery)
serv.ActiveState.com > Subject: perl Tk question > > *** WARNING : This message originates from the Internet *** > > Hi All! > In the following snippet: > > use strict; > use Tk; > require Tk::LabFrame; > my $top = new MainWindow; > my $bar=$top->La

RE: perl Tk question

2005-06-01 Thread BLAHA Jan
> When executing this snippet > I see in text0 only the last $i /in for cycle/ > What I must add to prg code > in order to see all cosequtive values of $i ? for (my $i=0;$i<20;$i++){ #$text0->delete('0.0','end'); # just don't delete everytime all contents of the box $text0->insert

Re: perl Tk question

2005-06-01 Thread David TV
Just add: $top->update any place inside the "prg" procedure. On Wed, 1 Jun 2005 08:06:42 UT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All! > In the following snippet: > > use strict; > use Tk; > require Tk::LabFrame; > my $top = new MainWindow; > my $bar=$top->LabFrame(-label => 'b

Re: perl Tk question

2005-06-01 Thread Chris Wagner
Well right now ur deleting all the text before inserting any more. Get rid of the delete line or move it out of the for loop. Then it'll work as expected. At 08:06 AM 6/1/05 UT, [EMAIL PROTECTED] wrote: >sub prg{ > for (my $i=0;$i<20;$i++){ > $text0->delete('0.0','end'); >

perl Tk question

2005-06-01 Thread assistent
Hi All! In the following snippet: use strict; use Tk; require Tk::LabFrame; my $top = new MainWindow; my $bar=$top->LabFrame(-label => 'buttons bar'); $bar->pack; my $exi=$bar->Button(-command=>\&exi,-text=>'exit'); $exi->pack(-side=>'left'); my $prg=$bar->Button(-command=>\&prg,-text=>'prg');

RE: TK question - resizeable columns

2004-02-24 Thread Burak Gürsoy
rsoy'; [EMAIL PROTECTED] Subject: RE: TK question - resizeable columns Hi, Burak. I'm not sure what your problem might be. Runs fine for me on my system. OS: Win2K Perl: 5.6.1 (ActivePerl build 635) Tk: 800.024 You are running on the bleeding edge. Tk 804.025 is very much "be

RE: TK question - resizeable columns

2004-02-23 Thread Arms, Mike
] > Sent: Saturday, February 21, 2004 1:51 PM > To: [EMAIL PROTECTED] > Subject: RE: TK question - resizeable columns > > > I get errors with this module (installed via ppm). > OS: Win2k > Perl: 5.8.2 > Tk: Tk 804.025 > > for example, I tried to run "Tk-T

Re: Unusual Tk question.

2004-02-06 Thread Joe Youngquist
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 10:27 AM Subject: RE: Unusual Tk question. > Ah! Got it, thanks to all those who helped. > > I'd just got into the habit of withdrawing the main window straight after > creating it, for exactly the r

RE: Unusual Tk question.

2004-02-06 Thread Beckett Richard-qswi266
--Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Beckett Richard-qswi266 > Sent: 06 February 2004 12:38 > To: [EMAIL PROTECTED] > Subject: Unusual Tk question. > > > Guys, > > I find myself in a slightly tricky, and possib

RE: Unusual Tk question.

2004-02-06 Thread Grakowsky, Richard \(ETS: Communications and Network Services\)
consequences of inaction." -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beckett Richard-qswi266 Sent: Friday, February 06, 2004 7:38 AM To: '[EMAIL PROTECTED]' Subject: Unusual Tk question. Guys, I find myself in a slightly tricky, and possi

Unusual Tk question.

2004-02-06 Thread Beckett Richard-qswi266
Guys, I find myself in a slightly tricky, and possibly unusual situation. I have been handed a GUI, written in Delhpi. I have a button that collects some parameters, then fires off my perl script. Now, I want to use Tk and open up a window with a Text widget in it that reports the progress of th

perl Tk question

2003-08-14 Thread mail admin
+++  if the Up or Down key is pressed, the location cursor (active element) moves up or down one element. If the selection mode is browse or extended then  the new active element is also selected and all other elements are deselected. In extended mode the new active element beco

RE: Tk question

2003-02-16 Thread Burak Gürsoy
gt; Subject: RE: Tk question > > > Thank you :) pack() did it. [snip] ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Tk question

2003-02-15 Thread Burak Gürsoy
-font => $conf{font}); $h->itemCreate($e=> $col, -itemtype => 'text', -style=> $style, -text => ($col == 0) ? ($y+1) : $results[$y]->[$co

Re: Perl TK question

2002-06-26 Thread Martin Moss
AIL PROTECTED]] > > Sent: Wednesday, June 26, 2002 7:32 AM > > To: Jack; Perl-Win32-Users > > Subject: Re: Perl TK question > > > > > > You could always launch an external browser? use Win32::Process > > With the url entered in the text box. > >

RE: Perl TK question

2002-06-26 Thread Tillman, James
Marty: What's the IE embedding module for Tk? Do you remember? I'd be really interested in seeing that! jpt > -Original Message- > From: Martin Moss [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 7:32 AM > To: Jack; Perl-Win32-Users > Subj

Re: Perl TK question

2002-06-26 Thread Martin Moss
Marty - Original Message - From: "Jack" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 5:36 AM Subject: Re: Perl TK question > - Original Message - > From: "Kevin" <[EMAIL PROTECTED]> &

RE: Perl TK question

2002-06-25 Thread Joseph Youngquist
om for comp.lang.perl.tk might prove helpful. hth, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Sent: Tuesday, June 25, 2002 2:09 PM To: Perl-Win32-Users Subject: Perl TK question Hello, I do not know much about the Perl/TK and before I begi

Perl TK question

2002-06-25 Thread Kevin
Hello, I do not know much about the Perl/TK and before I begin learning it, I would like to make sure it can do what I need. The application will be for Win32 platforms. I basically need to develop a small application that will have a textbox to enter a URL which will be loaded in a browser comp

Re: Tk question

2002-04-21 Thread Lu Do
Yeah, I need to perform a short dialog before Tk minimizes my prompt... Any help is desirous! --- "Richard A. Evans" <[EMAIL PROTECTED]> wrote: > Is there a way to run a Tk app from the command line > and have the command > (DOS) window NOT minimize? > >