Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Tk / August 2003



Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Notebook question.29 Aug 2003 15:31 GMT2
Guys,
If I create many pages in a notebook, and simplify it by doing this...
foreach (1..10) {
   my $page = $notebook -> add ("Page $_", -label => "Page $_") -> pack();
Configure, cget and missing options29 Aug 2003 00:21 GMT1
I need to disable a series of controls on some NoteBook pages.  To do so, I wrote a function like this:
=============
use Tk;
$mw = MainWindow->new;
Aligning the widgets on a frame28 Aug 2003 20:05 GMT1
How to parade the child widgets on a frame for a beautiful GUI?
Any help?
Thanks in advance
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
Text widget28 Aug 2003 08:37 GMT1
Is there a method that would allow me to create a labled button that
when pushed, would insert text into the text widget? I have tried using
insert in the following way:
$f->Button(-text => "insert", -command => \$insert 'end', "Dmin")->
bug in Win32 fileevent ( was Re:27 Aug 2003 19:50 GMT1
Tim Harsch <harsch1@llnl.gov> writes:
>The answer to my post is: fileevent does not work as advertised in Win32.
>If I take this script and run it in Unix it works as expected.  However, I
>do get some complaint about not being able to close the filehandle properly.
Clearing the elements from the main window27 Aug 2003 19:37 GMT1
I have some buttons and Labels packed on the mainwindow. But when i click on
another option from the menu i want to clear them all (and the memory if it is
possible) and create new ones.
Is this posssible?
Re: bug in Win32 fileevent ( was Re:  does fileevent fire    event when   output is ready?)27 Aug 2003 01:22 GMT2
I give up!  This script shows a hit time for allocating the array and a very
snappy launch of the sleeps by both the parent and the child.  The parent is
blocked waiting on the system call to finish.
#!/usr/local/bin/perl32
Re: bug in Win32 fileevent ( was Re:  does fileevent fire   event when   output is ready?)27 Aug 2003 00:21 GMT1
I think you're confirming what I had poorly tried to say.  exec is *only*
useful, if I am first willing to fork the parent (30MB ram copy) and the use
the parent to run the TK app and the child to exec my small process (which
gets rid of the 30MB ram of the child).  But the 30MB hit ...
Re: bug in Win32 fileevent ( was Re:  does fileevent fire  event when   output is ready?)26 Aug 2003 23:21 GMT2
I just did the script below as a test.  Yes, it allocates up some RAM, execs
the sleep and the original process goes away and the sleep is the only thing
left.  But, it only helps a little because I need the original process to
stay alive, so I would need to fork and have the child ...
Re: bug in Win32 fileevent ( was Re:  does fileevent fire26 Aug 2003 22:18 GMT1
Tim,
If your fork and then execute using exec " some program", doesn't the new
program called by
exec replace the original in memory. At least this is what I understand to be
Re: bug in Win32 fileevent ( was Re:  does fileevent fire event when   output is ready?)26 Aug 2003 21:45 GMT2
Is there an example you can point me too, of a socket method that works in
both Unix and Win32?  Or perhaps something similar to the Win32::ProcFarm
that Toby suggested but that will work on both?
Thanks.
Entry auto-update!26 Aug 2003 17:31 GMT1
Any idea?
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
utf8 in tk26 Aug 2003 09:43 GMT3
Already I've scanned through all the google-archive, I had had no luck to
find anything working. I would like to use unicode (or utf8) in Perl with
Tk.
I have tried the following, which is not working (under Windows 2000 and
installing Tk in redhat 925 Aug 2003 14:25 GMT1
am facing problem installing Tk in redhat 9. set LANG=en_US and everything
runs fine but make crashes on parse error in TixGrSort.c. any clues (couldnt
find anything in the list archives regarding this)
kg
Scroll bar problem25 Aug 2003 07:30 GMT1
I have created a text widget using
$txt = $txtframe->Scrolled( "ROText", -insertwidth => 3, -insertontime
=> 300, -insertofftime => 150, -scrollbars => "se", -wrap => 'none',
        -selectbackground => "yellow" )
Pages: 1 2 3 4 July, 2003
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.