Questions tagged [perltk]

Perl's Tk module provides a complete interface to Tk, a GUI toolkit, while providing an object oriented interface to Perl code.

Tk is a graphical user interface toolkit for Perl.

95 questions
0
votes
1 answer

Can any one explain the usage of Shell::Source perl module or Shell::GetEnv module

I m a beginner in perl. I want to know how to use this module. I read somewhere about this module but not getting its usage. Actually I've a file which contains some environment paths which needs to be set while running some test(say file name is…
Mak_Thareja
  • 179
  • 1
  • 2
  • 11
0
votes
1 answer

How to open and grab a window over TopLevel window

I want to open a window inside a toplevel window and until that window is opened I should not be able to move back to any previously opened window. Here is my code: $mw = MainWindow->new; # This will make my main Window $mw->title("Main…
Mak_Thareja
  • 179
  • 1
  • 2
  • 11
0
votes
1 answer

How to check if one module is already opened in a Perl/Tk application

In a Perl/Tk MainWindow, in the menu bar, if I click on an option, then I can open same module twice, thrice etc. But if it is already opened, then it should not open again. Any idea how to do that? $mw = MainWindow->new; $mw->configure(-menu => …
Mak_Thareja
  • 179
  • 1
  • 2
  • 11
0
votes
1 answer

Window doesn't appear in Perl/Tk

$mw=MainWindow->new(-title=>'Game of Life'); $frmitems=$mw->Frame; $frmsettings=$mw->Frame; $lab1=$frmsettings->Label(-text=>'Size of square:')->pack; $hen=$frmsettings->Entry(-textvariable=>10); $lab2=$frmsettings->Label(-text=>' x…
michaeluskov
  • 1,729
  • 7
  • 27
  • 53
0
votes
1 answer

How do I remove the dotted line of the selection in a Tk::HList?

when an entry in a Tk::HList is selected by a single click, a dotted line is drawn around this entry. I don't want to have this line. How can I configure it? I don't see any documented way to do it. Here is some example code showing a Tk::HList with…
capfan
  • 817
  • 10
  • 26
1 2 3 4 5 6
7