For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > April 2004 > window remain on the top









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author window remain on the top
cljlk

2004-04-06, 10:37 am

How do I keep this main window on the top, it cannot be covered up by other
window. It can always remain on the top. I very new in tk/tcl. Please give
me some example.

$main = MainWindow->new();


Cameron Laird

2004-04-06, 10:37 am

In article <c4ubfh$q61$1@news01.intel.com>, cljlk <cljlk@hotmail.com> wrote:
>How do I keep this main window on the top, it cannot be covered up by other
>window. It can always remain on the top. I very new in tk/tcl. Please give
>me some example.
>
>$main = MainWindow->new();
>
>


<URL: http://wiki.tcl.tk/AlwaysOnTop >
--

Cameron Laird <claird@phaseit.net>
Business: http://www.Phaseit.net
cljlk

2004-04-06, 10:37 am

Thanks a lot. I progrm on Unix. Although I am now on Unix but very new on
tk/tcl
I meant to say, if other window open that will not cover my window.
Please help.

"Cameron Laird" <claird@lairds.com> wrote in message
news:1075dt11vu84ne2@corp.supernews.com...
> In article <c4ubfh$q61$1@news01.intel.com>, cljlk <cljlk@hotmail.com>

wrote:
other[color=darkred]
give[color=darkred]
>
> <URL: http://wiki.tcl.tk/AlwaysOnTop >
> --
>
> Cameron Laird <claird@phaseit.net>
> Business: http://www.Phaseit.net



Chris Whiting

2004-04-06, 1:36 pm

How about Tk:StayOnTop?

http://search.cpan.org/~gbrock/Tk-S...03/StayOnTop.pm

#########################
use Tk;
use Tk::StayOnTop;
my $mw=tkinit;
$mw->update;
$mw->stayOnTop;
MainLoop;
#########################
__END__



"cljlk" <cljlk@hotmail.com> wrote in message
news:c4udgb$r83$1@news01.intel.com...
> Thanks a lot. I progrm on Unix. Although I am now on Unix but very new on
> tk/tcl
> I meant to say, if other window open that will not cover my window.
> Please help.
>
> "Cameron Laird" <claird@lairds.com> wrote in message
> news:1075dt11vu84ne2@corp.supernews.com...
> wrote:
> other
> give
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com