Re: threds question with Tk

2020-12-15 Thread Mike
of them i want visualize a stream data , i understand for do that is necessary use threads first create a stream and second manages a Tk the problem is  in Tk listbox appear only one time  a data stream why ??, if anyone have some idea is welcome  thanks at all this is a my code (perl 5

threds question with Tk

2020-12-14 Thread stefano cerbioni
hi guys i have created a script because i want a listbox and inside of them i want visualize a stream data , i understand for do that is necessary use threads first create a stream and second manages a Tk the problem is in Tk listbox appear only one time a data stream why ??, if anyone have

Re: question about stream data and tk

2020-12-09 Thread WILLIAM & ERIKA MARTINEZ
Good morning I am retired, no longer programming. Please remove my name/email address from your database/emailing list. Thank you will > On 12/09/2020 5:52 AM stefano cerbioni wrote: > > > hi guys i have a question > is possible insert in listbox a TCP ipStream ? Does

Re: question about stream data and tk

2020-12-09 Thread Mike
I'm thinking that is not easy - maybe not possible. I hope you prove me wrong. Mike On 12/9/20 6:52 AM, stefano cerbioni wrote: hi guys  i have  a question is  possible insert in listbox a TCP ipStream ? Does anyone  have some examples about it ?? because I don't know where to start thank

question about stream data and tk

2020-12-09 Thread stefano cerbioni
hi guys i have a question is possible insert in listbox a TCP ipStream ? Does anyone have some examples about it ?? because I don't know where to start thanks

Re: strawberry installation TK fault

2020-11-28 Thread stefano cerbioni
Thanks! Eureka thanks so much Rob Il giorno dom 29 nov 2020 alle ore 01:22 sisyphus ha scritto: > Hi stefano, > > You'll need to install Tk. > Normally, to do that, you would simply run: > cpan -i Tk > > Unfortunately that won't work because the current Tk

Re: strawberry installation TK fault

2020-11-28 Thread sisyphus
Hi stefano, You'll need to install Tk. Normally, to do that, you would simply run: cpan -i Tk Unfortunately that won't work because the current Tk-804.035 source needs a small amendment. One thing that does work is to download and unpack the source, make the needed alteration to encG

Re: strawberry installation TK fault

2020-11-28 Thread Hal Wigoda
rs\stefano\Desktop\GuiAmu>perl GuiAmu.pl > Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC > contains: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread > C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib > C:/Strawberry/perl/lib) at GuiAmu.

strawberry installation TK fault

2020-11-28 Thread stefano cerbioni
hi guys anybody know why and how to resolve this issue ? C:\Users\stefano\Desktop\GuiAmu>perl GuiAmu.pl Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC contains: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/per

Re: Perl/Tk

2017-05-16 Thread Shlomi Fish
On Tue, 16 May 2017 20:35:55 +0900 Masayoshi Fujimoto wrote: > Hi. > I really appriciate your help. It worked for me. > You're welcome! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Perl/Tk

2017-05-16 Thread Shlomi Fish
Hi! On Tue, 16 May 2017 20:11:52 +0900 Masayoshi Fujimoto wrote: > Hi. > > I would like to get $celebrity. > > How should I do? > I have modified your code based on https://metacpan.org/pod/distribution/Tk/pod/Entry.pod to get what seems to be the desired result: « ««

Re:Perl/Tk

2017-05-16 Thread Masayoshi Fujimoto
gt; I have modified your code based on > https://metacpan.org/pod/distribution/Tk/pod/Entry.pod to get what seems to be > the desired result: > > « « > #!/usr/local/bin/perl > > use strict; > > use warnings; > > use autodie; > > use v5.10; >

Perl/Tk

2017-05-16 Thread Masayoshi Fujimoto
Hi. I would like to get $celebrity. How should I do? % perl tk.pl Tk::Entry=HASH(0x804abddc8) Ayumi Kinoshita (tk.pl) #!/usr/local/bin/perl use strict; use warnings; use autodie; use v5.10; use Tk; my $top = MainWindow->new(); my $f1 = $top->Frame()->pack(); my $f2 = $t

Re: Who uses WX instead of TK

2015-04-04 Thread Kevin Walzer
Hi Sherman, On 4/2/15 4:00 PM, Sherman Willden wrote: Or do you use it with TK? I downloaded Padre and found the examples which included WX. WX seems to be easier to use than TK. Just wondering who uses WX and why. I'm not sure who else uses wx, but it does seem to be a fairly

Who uses WX instead of TK

2015-04-02 Thread Sherman Willden
Or do you use it with TK? I downloaded Padre and found the examples which included WX. WX seems to be easier to use than TK. Just wondering who uses WX and why. Thank you; Sherman

Re: Cannot install Tk from CPAN using Strawberry Perl 5.16

2012-11-19 Thread boB Stepp
On Sun, Nov 18, 2012 at 9:19 PM, boB Stepp wrote: > I am running Win7Pro-64bit and using Strawberry Perl 64 bit version > 5.16. When I attempt to use "install Tk" from Strawberry Perl's > "cpan>" prompt I get two instances of "perl.exe not responding"

Cannot install Tk from CPAN using Strawberry Perl 5.16

2012-11-18 Thread boB Stepp
I am running Win7Pro-64bit and using Strawberry Perl 64 bit version 5.16. When I attempt to use "install Tk" from Strawberry Perl's "cpan>" prompt I get two instances of "perl.exe not responding". After responding OK to the first, activity resumes, but after

Re: insert in perl tk

2012-08-24 Thread Shekar
wrote: > > > > > i have to call localtime () function to get the latest time > > > everytime when i print the lines using insert method > > > i mean , i need to print the latest time in scrolled text box > > > > > > lets say : > > > > &

Re: insert in perl tk

2012-08-24 Thread Shlomi Fish
ave to call localtime () function to get the latest time > > everytime when i print the lines using insert method > > i mean , i need to print the latest time in scrolled text box > > > > lets say : > > > > use Tk; > > $mw = MainWindow->new(); > >

Re: insert in perl tk

2012-08-24 Thread Irfan Sayed
thanks. it worked! regards irfan From: Shekar To: Irfan Sayed Cc: Jim Gibson ; Perl Beginners Sent: Friday, August 24, 2012 12:23 PM Subject: Re: insert in perl tk Try this. $t->insert("end", &gettime); -- Shekar On Fri, Aug 24, 2012 at 11:58 AM, Irfan Sayed

Re: insert in perl tk

2012-08-23 Thread Shekar
scrolled text box > > lets say : > > use Tk; > $mw = MainWindow->new(); > my $t = $mw->Scrolled("Text")->pack (-side => 'left', -expand=>1); > $t->insert("end", "$c = \&gettime"); > > sub gettime > { >

Re: insert in perl tk

2012-08-23 Thread Irfan Sayed
i have to call localtime () function to get the latest time everytime when i print the lines using insert method i mean , i need to print the latest time in scrolled text box lets say : use Tk; $mw = MainWindow->new(); my $t = $mw->Scrolled("Text")->pack (-side => &

Re: insert in perl tk

2012-08-23 Thread Jim Gibson
What does the function have to do with the array you want to print? What does it have to do with Tk? > > please suggest . Please let us know in more detail what you are trying to do. Thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-ma

Re: insert in perl tk

2012-08-23 Thread Irfan Sayed
Sent: Thursday, August 23, 2012 11:40 PM Subject: Re: insert in perl tk On Thu, 23 Aug 2012 10:51:09 -0700 (PDT) Irfan Sayed wrote: > i need to print the contents of array on separate line , so , i > thought , i should write one function where i will print the contents > of array on

Re: insert in perl tk

2012-08-23 Thread Shawn H Corey
On Thu, 23 Aug 2012 10:51:09 -0700 (PDT) Irfan Sayed wrote: > i need to print the contents of array on separate line , so , i > thought , i should write one function where i will print the contents > of array on each line Do you mean you want each item from an array on each line? If so: $t-

Re: insert in perl tk

2012-08-23 Thread Jim Gibson
tents of array but on the same line I don't use Perl/Tk, but I am assuming $t is some sort of Tk widget, and you are attempting to add a string to the end of it. Maybe you can post a short, complete program that demonstrates what you are trying to do. > > i need to print the conte

Re: insert in perl tk

2012-08-23 Thread Irfan Sayed
2012 10:54 PM Subject: Re: insert in perl tk On Thursday, August 23, 2012 at 10:15 AM, Irfan Sayed wrote: > can someone please suggest ? > Explain what you're actually trying to achieve, instead of asking how to do what you think will let you accomplish what you're trying t

Re: insert in perl tk

2012-08-23 Thread John SJ Anderson
On Thursday, August 23, 2012 at 10:15 AM, Irfan Sayed wrote: > can someone please suggest ? > Explain what you're actually trying to achieve, instead of asking how to do what you think will let you accomplish what you're trying to achieve. Yes, if you write the insert() method properly, you cou

Re: insert in perl tk

2012-08-23 Thread Irfan Sayed
can someone please suggest ? regards irfan From: Irfan Sayed To: "beginners@perl.org" Sent: Thursday, August 23, 2012 4:15 PM Subject: insert in perl tk hi, can we call function in the insert method of perl tk ? i have code like this:  $t-&g

insert in perl tk

2012-08-23 Thread Irfan Sayed
hi, can we call function in the insert method of perl tk ? i have code like this:  $t->insert("end", "\&abc"); so when this line gets executed, it should first call function abc please suggest regards irfan

perl/Tk: How to make the text in the textbox Align Right?

2011-05-28 Thread z sway
Thank You!

Re: Need email list for Perl/Tk questions

2010-02-04 Thread Owen
> Besides this forum, does anyone know of a good Perl/Tk email > list/forum in which to ask questions about Perl/Tk? You can try comp.lang.perl.tk which is fairly quiet -- Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: begin

Re: Need email list for Perl/Tk questions

2010-02-04 Thread Paul Johnson
On Thu, Feb 04, 2010 at 10:22:00PM +, Tony Esposito wrote: > Besides this forum, does anyone know of a good Perl/Tk email list/forum in > which to ask questions about Perl/Tk? https://mailman.stanford.edu/mailman/listinfo/ptk It's rather quiet, so be patient. -- Paul

Need email list for Perl/Tk questions

2010-02-04 Thread Tony Esposito
Besides this forum, does anyone know of a good Perl/Tk email list/forum in which to ask questions about Perl/Tk?

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Mishustin Alexey
8/9/2009, "Shawn H. Corey" вы писали: >Sorry, I don't know any good resources for Perl/Tk. When all else >fails, try perlmonks http://perlmonks.org/ Perlmonks is great! I've already got the answer on my question. Thank you for your advice again. -- Regards, Alex

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Mishustin Alexey
В Вск, 09/08/2009 в 15:30 -0400, Shawn H. Corey пишет: > Mishustin Alexey wrote: > > В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет: > >> Mishustin Alexey wrote: > >>> Hi, > >>> > >>> Another question about Perl-Tk. > >> Try a

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Shawn H. Corey
Mishustin Alexey wrote: В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет: Mishustin Alexey wrote: Hi, Another question about Perl-Tk. Try asking on the Beginners Perl/Tk list http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk This mailing list seems to be dead; nothing but spam

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Mishustin Alexey
В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет: > Mishustin Alexey wrote: > > Hi, > > > > Another question about Perl-Tk. > > Try asking on the Beginners Perl/Tk list > http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk This mailing list seems to

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Mishustin Alexey
В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет: > Mishustin Alexey wrote: > > Hi, > > > > Another question about Perl-Tk. > > Try asking on the Beginners Perl/Tk list > http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk OK, thank you. -- Regard

Re: Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Shawn H. Corey
Mishustin Alexey wrote: Hi, Another question about Perl-Tk. Try asking on the Beginners Perl/Tk list http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about

Perl-Tk, copy/paste context-menu for entries

2009-08-09 Thread Mishustin Alexey
Hi, Another question about Perl-Tk. I need to make context-menus with 'Copy' and 'Paste' commands for 'entry' widgets. I found the following syntax for it. my $popup = $mwindow->Menu( -tearoff=> 0, -menuitems => [

Re: Perl-Tk, horizontal aligning

2009-08-09 Thread Mishustin Alexey
В Сбт, 08/08/2009 в 16:46 -0400, Shawn H. Corey пишет: > Mishustin Alexey wrote: > > Hi, > > > > I have a question about Perl-Tk. > > > > How to align the content of a cell horizontally, for example, to the > > left? > > > &

Re: Perl-Tk, horizontal aligning

2009-08-08 Thread Shawn H. Corey
Mishustin Alexey wrote: Hi, I have a question about Perl-Tk. How to align the content of a cell horizontally, for example, to the left? my $where_label = $pane -> Label( -text =>"Please input WHERE arguments" ) ->grid( -row

Perl-Tk, horizontal aligning

2009-08-08 Thread Mishustin Alexey
Hi, I have a question about Perl-Tk. How to align the content of a cell horizontally, for example, to the left? my $where_label = $pane -> Label( -text =>"Please input WHERE arguments" ) ->grid( -row=&

Perl/Tk font question

2009-04-09 Thread Thomas H. George
Since a Toplevel widget has a -title option I assumed it would also have a -font option. Specifiying -font => "times 14 normal" produced an error although this instruction worked on the children of Toplevel. Is there a way to modify the font used for the title of a Toplevel? Tom -- To unsubscr

multi-page from Tk::Canvas

2008-11-05 Thread Cort Morgan
g the resulting eps? I've tried playing with all the options to the postscript method, but haven't gotten anything to help.   Example code: #!/usr/local/PERL_5.005_03/bin/perl -w # written/testing on MSwin ## use Tk; use strict; my $temp = "C:\\te

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-22 Thread MK
just to add my two sense worth i reworked my Tk app to eliminate the memory gains from $widget->destroy (using -- much thanks, i surrender, zentara -- cget->entryconfigure) and it works beautifully and does exactly everything i want, certainly i like it more than anything i

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-22 Thread Robert Hicks
zentara wrote: And I found it's best just to let the masses of people "believe" they are safe with Microsoft Windows. it helps the government's surveillance of everyone. Guys like me that use Linux, give the NSA headaches. zentara P.S. Please don't tell me that Anti-Virus/Spyware software

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-21 Thread Jenda Krynicky
From: zentara <[EMAIL PROTECTED]> > See the above links. I have installed Gtk2 under windows, but it > was harder than I would expect an average user to go thru. > > Yeah, thats why Linux is preferred over Winblows. Linux just makes > things work, where windows is a constant battle. I switched to

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-21 Thread Rob Dixon
yitzle wrote: Hi I decided throwing a GUI on Perl would be fun so I want to make a Connect Four. Which GUI module would you advise? It seems the major contenders are GTK, GTK2/GTK+ and Tk. Tk seems to have the simplest interface which is nice, but it sure doesn't look as pretty as GTK. I t

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-21 Thread Octavian Rasnita
this on the Perl/Gtk2 maillist. After installing the Gtk2 runtime, I found a program named gtk-demo.exe and I've seen it is absolutely inaccessible for screen readers. I guess Gtk2, like Tk or SWING, draw its own graphics, and it doesn't use the native GUI of the OS like Wx or SWT. Thank y

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-21 Thread Robert Hicks
zentara wrote: On Tue, 19 Feb 2008 22:36:09 -0500, [EMAIL PROTECTED] (yitzle) wrote: Hi I decided throwing a GUI on Perl would be fun so I want to make a Connect Four. Which GUI module would you advise? It seems the major contenders are GTK, GTK2/GTK+ and Tk. Tk seems to have the simplest

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-20 Thread Octavian Rasnita
From: "zentara" <[EMAIL PROTECTED]> On Tue, 19 Feb 2008 22:36:09 -0500, [EMAIL PROTECTED] (yitzle) wrote: Hi I decided throwing a GUI on Perl would be fun so I want to make a Connect Four. Which GUI module would you advise? It seems the major contenders are GTK, GTK2/GTK+ and

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-20 Thread Francisco Valladolid
Hi, it depends that you particular needs. Example Tk is portable but primitive, the look and feel is good on Gtk2. Gtk2 is also portable, in both Unix/Windows/ . Sometimes you must try severals toolkits libraries to do this task, and the last word always is your. Regards. On Feb 21, 2008 1

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-20 Thread yitzle
I don't know... maybe I /was/ looking at the C code. The code Chas provided does look fairly similar to the Tk code. Thanks for the replies. I guess I'll be using GTK2 after all :D -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-19 Thread Octavian Rasnita
I recommend WxPerl which is based on wxWindows. It is portable and unlike Tk/GTK it is also accessible for the screen readers used by the blind. See more at: http://wxperl.sourceforge.net/ Octavian - Original Message - From: "yitzle" <[EMAIL PROTECTED]> To: "

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-19 Thread Chas. Owens
On Feb 19, 2008 10:36 PM, yitzle <[EMAIL PROTECTED]> wrote: > Hi > I decided throwing a GUI on Perl would be fun so I want to make a Connect > Four. > Which GUI module would you advise? It seems the major contenders are > GTK, GTK2/GTK+ and Tk. > Tk seems to have the sim

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-19 Thread Daniel Kasak
On Tue, 2008-02-19 at 22:36 -0500, yitzle wrote: > Hi > I decided throwing a GUI on Perl would be fun so I want to make a Connect > Four. > Which GUI module would you advise? It seems the major contenders are > GTK, GTK2/GTK+ and Tk. > Tk seems to have the simplest interface

GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-19 Thread yitzle
Hi I decided throwing a GUI on Perl would be fun so I want to make a Connect Four. Which GUI module would you advise? It seems the major contenders are GTK, GTK2/GTK+ and Tk. Tk seems to have the simplest interface which is nice, but it sure doesn't look as pretty as GTK. I took a peek at th

Re: Tk disabling menu entries, etc.

2008-02-19 Thread MK
d rather trash a $20 item). According to my search, only one guy makes anything at all to do this under linux, and boy is it massive once you consider the number of obscure GUI libraries required! So in some sense i am starting to consider this an Important Project. Certainly I'

Re: Tk disabling menu entries, etc.

2008-02-17 Thread MK
On 02/17/2008 12:08:40 PM, zentara wrote: -> Yeah, dynamically generated menus would be the way to go, -> but I would watch out for memory gains everytime you invoke the menu. -> Tk isn't very good about object cleanup. i will remember and look into this. -> Another problem w

Re: Tk disabling menu entries, etc.

2008-02-17 Thread MK
from zentara: -> Now you may not see the usefulness of the entryconfigure or the cget, -> but what if you had a more complex menu, and needed to dynamically -> grey out items? That is exactly what i did (the cascading menus are a recursive tree, with several hundred+ total entries dynamically

Re: Tk disabling menu entries

2008-02-12 Thread John W. Krahn
MK wrote: Amazingly, what worked in the end was simply adding -state=> 'disabled' into the actual $menu->command, hence avoiding the documented "entryconfigure" method or cget altogether but if anyone has any patience left could you explain: my $state = ($count++ & 1) ? 'normal' : 'disabled

Re: Tk disabling menu entries

2008-02-12 Thread MK
Amazingly, what worked in the end was simply adding -state=> 'disabled' into the actual $menu->command, hence avoiding the documented "entryconfigure" method or cget altogether but if anyone has any patience left could you explain: my $state = ($count++ & 1) ? 'normal' : 'disabled'; to me,

Re: Tk disabling menu entries

2008-02-12 Thread MK
On 02/12/2008 12:49:30 PM, kens wrote: -> On Feb 12, 9:48 am, [EMAIL PROTECTED] (Mk) wrote: -> > sorry, zentara, but with my perl 5.8.8 this script first produces: -> > -> > Bareword "Mainloop" not allowed while "strict subs" in use at -> > ./Tkmenuentryconfigure.pl line 25 -> > -> > And even afte

Re: Tk disabling menu entries

2008-02-12 Thread kens
On Feb 12, 9:48 am, [EMAIL PROTECTED] (Mk) wrote: > sorry, zentara, but with my perl 5.8.8 this script first produces: > > Bareword "Mainloop" not allowed while "strict subs" in use at > ./Tkmenuentryconfigure.pl line 25 > > And even after i delete "use strict" i now get: > > Useless use of a const

Re: Tk disabling menu entries

2008-02-12 Thread Rob Dixon
MK wrote: > zentara wrote: >> [EMAIL PROTECTED] (MK) wrote: no matter where i use: $menu->entryconfigure(#,"disabled); i get: Can't locate object method "entryconfigure" via package "Tk::Menu::Cascade" unless i use it on a non-existent $men

Re: Tk disabling menu entries

2008-02-12 Thread MK
enuentryconfigure.pl line 25 I presume it did work for you at some point? I also notice from Tk::Menu "BUGS At present it isn't possible to use the option database to specify values for the options to individual entries." I have gotten around this by regenerating the menus

Tk disabling menu entries

2008-02-11 Thread MK
no matter where i use: $menu->entryconfigure(#,"disabled); i get: Can't locate object method "entryconfigure" via package "Tk::Menu::Cascade" unless i use it on a non-existent $menu, in which case i get: Can't call method "entryconfigure"

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-19 Thread Panda-X
2007/11/19, zentara <[EMAIL PROTECTED]>: > > On Mon, 19 Nov 2007 00:14:29 +0800, [EMAIL PROTECTED] (Panda-X) > wrote: > > >Hi all, > > > >Below is my code. With this code, 12345 will show at once > >after 5 seconds I click the button. > >But what I want is to insert() each number per second. > >Is

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Tom Phoenix
On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote: > Any more clues ? This is a forum for Perl beginners, but there are forums available specifically for all of the major modules used with Perl. Some modules have more than one forum. As you might expect, you'll generally get better answers faster by

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Panda-X
x27;end', $_ ) ; > > sleep 1; > > } > > } > > You probably don't want sleep() there; the after() method is generally > the way to ask Tk to make something happen after some time interval > has passed. The interface is different than simply sleeping

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Tom Phoenix
t sleep() there; the after() method is generally the way to ask Tk to make something happen after some time interval has passed. The interface is different than simply sleeping, but more powerful; check the Tk docs for the full story. Hope this helps! --Tom Phoenix Stonehenge Perl Training -

Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Panda-X
avior of -command => sub {} ? Thank you very much ! == use Tk; sub SetButton { $_[0]->{mw} -> Button ( -text=>'click me', -command => sub { $_[0] ->RollText() } ) -> pack (); } sub RollText{ for ( 1..5 ) {

Re: perl tk question

2007-09-25 Thread patmarbidon
good performance. macuser9214 a écrit : I am trying to make a tk app that parses the qrz callsign ham radio database: It's not working. I'm trying to get information from the text field, and the result in the gray box. #!/usr/bin/perl use Tk; use LWP::Simple; use LWP::UserAgent;

perl tk question

2007-09-25 Thread macuser9214
I am trying to make a tk app that parses the qrz callsign ham radio database: It's not working. I'm trying to get information from the text field, and the result in the gray box. #!/usr/bin/perl use Tk; use LWP::Simple; use LWP::UserAgent; my $main = MainWin

Summary: Perl/Tk Help

2007-09-19 Thread CM Analyst
Thanks to patmarbidon and D. Bolliger for their suggestions. I used Pat's suggestion and added: text1->update(); and the script works as I wanted. Many thanks. Amad Yahoo! oneSearch: Finally, mobile

Re: Perl/Tk Help

2007-09-19 Thread patmarbidon
PatMar : Can you add $text1->update() after your $text1->insert. widget->update is like a refresh on other X11 windows manager. CM Analyst a écrit : Hi All, I hope this is still the correct forum to get help with Perl/Tk... My goal is display the time in the GUI window but it d

Perl/Tk Help

2007-09-18 Thread CM Analyst
Hi All, I hope this is still the correct forum to get help with Perl/Tk... My goal is display the time in the GUI window but it doesn't do it quite how I want it to. In the GUI, I want the time to display with the sleep call (set to 1). However, when I use the print statement and the

RE: Use tk

2007-09-03 Thread Thomas Bätzler
Somu <[EMAIL PROTECTED]> asked: > When we use tk, there is always the black DOS window. How can > we make it disappear? If you're using ActiveState's Win32 port, you can use the wperl.exe binary instead of plain old perl.exe. HTH, Thomas -- To unsubscribe, e-mail:

Re: Use tk

2007-09-03 Thread Chas Owens
On 9/3/07, Somu <[EMAIL PROTECTED]> wrote: > When we use tk, there is always the black DOS window. How can we make > it disappear? If you are also using Par::Packer you can pass --gui (or -g) to pp when you build the app. http://search.cpan.org/~smueller/PAR-Packer-0.976/lib/p

Use tk

2007-09-03 Thread Somu
When we use tk, there is always the black DOS window. How can we make it disappear? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Regarding perl/tk programming

2007-05-15 Thread Nigel Peck
Dharshana Eswaran wrote: I need to create a GUI and integrate my perl script to it. I decided to get the GUI using perl/Tk programming. I searched in the net and i am unable to get a good tutorial or any document regarding the perl/Tk programming. If anyone knows any links or have any documents

Regarding perl/tk programming

2007-05-15 Thread Dharshana Eswaran
Hi All, I need to create a GUI and integrate my perl script to it. I decided to get the GUI using perl/Tk programming. I searched in the net and i am unable to get a good tutorial or any document regarding the perl/Tk programming. If anyone knows any links or have any documents, can you please

Modeling for Tk

2007-05-07 Thread Moon, John
Does any one have suggestions how to model - give the end user - views of the windows and navigation of a Perl Tk application? John W Moon -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: pictures and Tk::Canvas

2007-02-07 Thread Mumia W.
On 02/07/2007 02:20 PM, Herman Gerritsen wrote: Hi there, I have a seemingly simple problem. I want a picture (format doesn't really matter to me, but I tried jpeg and xpm) on a Tk::Canvas. I have been reading Mastering perl/TK (oreilly) but somehow the explanations in that book dont g

pictures and Tk::Canvas

2007-02-07 Thread Herman Gerritsen
Hi there, I have a seemingly simple problem. I want a picture (format doesn't really matter to me, but I tried jpeg and xpm) on a Tk::Canvas. I have been reading Mastering perl/TK (oreilly) but somehow the explanations in that book dont get to my brain... Perldoc didnt get me there e

RE: write, print, & Tk::Text

2006-11-28 Thread John Cortland Morgan \(ZG/ETK\)
it. I don't open LOG anywhere, I only tie to it after creating the Tk::Text widget (actually,a Tk::Scrolled widget). tie (*LOG, 'Tk::Text', $log); But if it is not an open filehandle, why does my subroutine work? #-- sub logit() {

write, print, & Tk::Text

2006-11-23 Thread John Cortland Morgan \(ZG/ETK\)
Hi All, I'm writing a perl application using Tk for the gui, and wish to write formatted output to a logging window within the gui. But I cannot get write to do as I wish, and think that I don't really understand filehandles so well. Any insight on them would be greatly appreciated.

Re: Question on Tk::HList

2006-11-14 Thread DJ Gruby
Hi! 2006/11/11, zentara <[EMAIL PROTECTED]>: Yeah, that is why I said the answer was complicated, and Slaven Reszic recommended patching the Tk c code. [...] Okay, thank you *very much* for this exhausting bunch of information. I think that I can live with that little inconvenience

Re: Question on Tk::HList

2006-11-10 Thread DJ Gruby
Hi! 2006/11/9, zentara <[EMAIL PROTECTED]>: add -browsecmd => sub {$hlist->anchorClear()} , to your hlist options. Thank you very much for this solution! I've added it to my code. It pretty much does what I need. However it causes the arrow keys to act very strange. Clicking on fields

Question on Tk::HList

2006-11-09 Thread DJ Gruby
Hi! I've been recently exploring the functionalities of Tk::HList module and I've found it suiting all my needs great, however there's one little thing I cannot resolve myself. The question is how to disable the border (made of dashed line) around the currently selected item?

RE: perl/Tk and piping questions

2006-08-28 Thread Ken Foskey
On Mon, 2006-08-28 at 12:27 +0200, John Cortland Morgan (ZG/ETK) wrote: > > > This will test for a pipe > > > #!/usr/bin/perl > > # -t tests if a tty is input, else it's a pipe > > > > if (@ARGV == 0 and -t) { > > die "Usage: $0 INPUT\n"; > > } > > > > while (<>) { > > #

RE: perl/Tk and piping questions

2006-08-28 Thread John Cortland Morgan \(ZG/ETK\)
Hi, Thanks for the tip about > The book Mastering Perl/Tk has a pretty good Chapter 3 on Geometry Management. > You can probably read it for free with an sign up at http://safari.oreilly.com/ about the piping question, it's not an either/or situation. It could be both. A good

perl/Tk and piping questions

2006-08-25 Thread John Cortland Morgan \(ZG/ETK\)
Hi, Anyone know of a good online reference/tutorial for perl/Tk, especially in area of layouts (pack/grid/?)? Can't seem to get things lined up as I'd like. Also, anyone know how to (easily) get a script to act more like a pipe, ie: like Unix cat, head, etc... What I would like to

Re: Tk installation problem with Fedora 4

2006-07-07 Thread Mr. Shawn H. Corey
[EMAIL PROTECTED] wrote: > > Hi, > thanks for tips what I have received. > However I need to install Tk to Fedora 4. > Now I receive erros from tests what I have > send for you earlier. > > I have tried perl -MCPAN -e "install Tk" > > /Raimo > You ca

Tk installation problem with Fedora 4

2006-07-07 Thread Perlguru
Hi, thanks for tips what I have received. However I need to install Tk to Fedora 4. Now I receive erros from tests what I have send for you earlier. I have tried perl -MCPAN -e "install Tk" /Raimo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Tk problem

2006-07-07 Thread Nagasamudram, Prasanna Kumar
Hi Raimo If you are running window, then can you try installing through ppm (perl package manager)? C:\>ppm ppm>install Tcl-Tk This way it wil go smoothly and also it will check for dependecies and download automatically. Thanks Prasanna -Original Message- From: [EMAIL PRO

Tk problem

2006-07-06 Thread Perlguru
Hi, I try to install Tk module. I have perl, v5.8.6 ...make tests give t/zzScrolled.NOK 66# Test 66 got: "589x341+0+32" (t/zzScrolled.t at line 104 fail #2) #Expected: "589x341+0+0" (Sizechk: geometry has not changed not reset for -height => 24

Re: why i can't install Tk on Linux?

2006-06-04 Thread David Moreno Garza
sewenew wrote: > I want to install Tk on my Linux,but I can't generate Makefile. > After I input the command "perl Makefile.PL",it can't work but tell me > "Cannot find X include files via /usr/X11R6/include" > What should I do to deal with this pr

  1   2   3   4   >