Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

my $mw = MainWindow->new; my $text = $mw->Text->pack; $text->insert('end', 'hello world', 'mytag'); $text->deleteTextTaggedWith('mytag'); MainLoop; The deleteTextTaggedWith causes: ...
2 votes
2 answers
63 views

When I run a two instances of the same perl tk script at the same time, the second one does not pick up the X resources. How can I fix this? For example (for simplicity): my $mw = MainWindow->new(-...
1 vote
1 answer
100 views

I found an example of how to embed an arbitrary X application window in a Perl/Tk Notebook widget. However, I am unable to make it work. Specifically, the call to X->ReparentWindow does not work. ...
markco's user avatar
  • 19
0 votes
0 answers
67 views

I create a date widget like this: $GUI{time} = $GUI{timeframe}->Date(-value => ‘now’, -datefmt => ‘%4y %2m %2d, -...
Qman's user avatar
  • 138
0 votes
0 answers
799 views

I am trying to install Tk using cpan I get an error. This is on a PC, Windows 10, Strawberry Perl 5.38.1 Attempting a basic install of the Tk module, everything downloads, makefile runs to a point, ...
James Lamb's user avatar
2 votes
1 answer
228 views

I am trying to use a simple Tk Yes/No Dialog in Perl. I have the following script based upon the example from metacpan: #!/usr/bin/perl use strict; use warnings; use Tk::Dialog; my $mw->Dialog-&...
2 votes
1 answer
99 views

I am new to Perl Tk. I have option menu. In its callback, I want to pass a table object which is created later. As per the selection of the option, I want to render specific data into the table. ...
1 vote
1 answer
84 views

I am trying to capture the value of the marked radio button after submit is pressed but can't seem to get it to work. What I would like is for the form/window to close when submit is pressed and for ...
gatorreina's user avatar
2 votes
2 answers
112 views

Is there a way to use balloon on radiobutton in Perl Tk? I want to display a balloonmsg and statusmsg when I hover over the buttons, if possible. I've googled but it doesn't seem like there is any ...
Kwa's user avatar
  • 31
15 votes
1 answer
672 views

I have a Perl Tk GUI application that sometimes crashes after it exceeds 4GB of RAM usage. I can exceed 4GB of RAM usage in some cases using Perl Tk, and I have no issues exceeding 4GB when running ...
2 votes
1 answer
332 views

The code below creates Perl/Tk buttons filled with each event's details from the hash %events. Is there a way to format the text inside the buttons so that it appears in aligned columns in the manner ...
gatorreina's user avatar
4 votes
1 answer
133 views

I have a perl TK widget which has a -command callback: my $widget = $mw->Spinbox( -from => -1000, -to => 1000, -increment => 1, -width => 4, -textvariable => $textvariable, -command =...
Matthew Lock's user avatar
  • 13.6k
2 votes
1 answer
640 views

I try to make a GUI which has $cmd_entry to take the input and print the input on $log_frame after "enter" key is pressed. However, the binding does not work well. I do not know why the callback ...
Sam's user avatar
  • 1,337
0 votes
1 answer
161 views

I need a text box setting in perlTk such that i can enter 2 digit number with automatically added separator. Eg. if there are 5 entries of two digits number namely 52, 25, 69, 45, 15, in text box if ...
3 votes
1 answer
115 views

In my program, I have a section of code that updates a list box depending on the value of another list box. The code that does this looks a little like this. $listBox1->bind('<<...
Dan's user avatar
  • 7,904

15 30 50 per page
1
2 3 4 5
...
7

AltStyle によって変換されたページ (->オリジナル) /