f



Re: Perl-tk cut and paste key bindings

Colin Tuckley <colin@tuckley.org> writes:
>(cross posted from comp.lang.perl.tk where there was no response)
>
>We have a bug filed against the Debian package of perl-tk [1] which says
>that "CAPS-LOCK + Ctrl + c does not copy into clipboard in TextUndo". I've
>checked cut/paste in Windows XP applications and it does indeed work there.
>
>I've investigated and found that these key bindings are set in MainWindow.pm
>and are thus active for the whole application.
>
>The bindings for cut, copy, paste, undo, and redo are set differently for
>different display managers (x11, win32, aqua and classic).

The idea being to mimic key bindings that platform normaly provides.
Snag being that X11 isn't very regular in this regard. In particular 
Control-C is no use in a terminal emulator window - as it kills the shell ;-)

>
>My question is: should we add the <Control> + <shift> + c (and other)
>bindings and if so to which display types? The patch is quite simple, it's
>deciding on the policy that is difficult and I am not familiar enough with
>the different display systems to know what is considered "usual" behaviour.

What does Tcl/Tk do?
What do other X11 GUIs do (KDE/Gnome)? 


>
>Comments and suggestions welcome.
>
>[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205895
>
>regards,
>
>Colin


-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@lists.stanford.edu

0
Nick
3/5/2006 7:18:38 PM
comp.lang.perl.tk 4721 articles. 0 followers. pharrendorf (19) is leader. Post Follow

0 Replies
493 Views

Similar Articles

[PageSpeed] 49

Reply:

Similar Artilces:

Re: Perl-tk cut and paste key bindings #2
Nick Ing-Simmons wrote: > The idea being to mimic key bindings that platform normaly provides. > Snag being that X11 isn't very regular in this regard. In particular > Control-C is no use in a terminal emulator window - as it kills the shell ;-) > What does Tcl/Tk do? > What do other X11 GUIs do (KDE/Gnome)? With the help of a few people with various different systems we have discovered that <Caps-Lock><Ctrl>c does the same as <Ctrl>c on every system and application where it does anything sensible. Also we have found that <Shift><C...

Re: Perl-tk cut and paste key bindings #3
Colin Tuckley <colin@tuckley.org> writes: >Nick Ing-Simmons wrote: > >> The idea being to mimic key bindings that platform normaly provides. >> Snag being that X11 isn't very regular in this regard. In particular >> Control-C is no use in a terminal emulator window - as it kills the shell ;-) > >> What does Tcl/Tk do? >> What do other X11 GUIs do (KDE/Gnome)? > >With the help of a few people with various different systems we have >discovered that <Caps-Lock><Ctrl>c does the same as <Ctrl>c on every system ...

Perl-tk cut and paste key bindings
(cross posted from comp.lang.perl.tk where there was no response) We have a bug filed against the Debian package of perl-tk [1] which says that "CAPS-LOCK + Ctrl + c does not copy into clipboard in TextUndo". I've checked cut/paste in Windows XP applications and it does indeed work there. I've investigated and found that these key bindings are set in MainWindow.pm and are thus active for the whole application. The bindings for cut, copy, paste, undo, and redo are set differently for different display managers (x11, win32, aqua and classic). My question is: sho...

Linux Perl-TK -> Win32 Perl-Tk
I've got an app that I wrote in Perl-Tk for Linux (Redhat) that I would like to run on my Win32 laptop. I am not interested in dual-booting this laptop but would like to get the app up an running. I'm a perl-Tk hack at best. What is the best/easiest way to port the application? thanks, Mike On Tue, 21 Dec 2004 03:01:21 +0000, Michael Seningen wrote: > I've got an app that I wrote in Perl-Tk for Linux (Redhat) that I would > like to run on my Win32 laptop. > > I am not interested in dual-booting this laptop but would like to get > the ap...

Perl/Tk key-bindings
Hello, i dont understand the Perl/Tk key-bindings. My program contains: $main0=Mainwindow... .... my $notebook=$main0->NoteBook()->pack(); my $main=$notebook->add('page1'); $notebook->pageconfigure('page1',-createcmd=>sub{&funktion($main);},-label=>'test',-underline=>0); .... sub funktion(){ my ($main)=@_; my $variables = $main->LabFrame(-label=>'Variables')->pack(); my $input1=$variables->Entry()->pack(); my $go=$variables->Button(-text=>'Go',-command=>sub{})->pack; ... How can i bind/enven...

Re: malfunctioning keys in sun 10-key under Perl/Tk
>The problem we have is that using the 10 key >pad on our Sun model Type 5c keyboards almost >works. Everything is normal except: > > pressing '4' translates to 'left arrow' > pressing '6' translates to 'right arrow' > > > is it true for any widget (e.g. Entry or Text) or you mean %K bind variable, and misbehaving only that? so "widget" demo also suffers this problem? In case this is true for all widgets, they try pure Tcl/Tk demo to check whether it also suffers same problem -++**==--++**==--++*...

Re: malfunctioning keys in sun 10-key under Perl/Tk #6
At 02:28 PM 2/11/2005, Troy.A Johnson wrote: >The problem is that it doesn't seem to print anything at all. I made another >program to dump the bindings and nothing seems to get bound either. > >I think I must be doing something wrong, I just don't know what. Will someone >please give me a clue? Thanks in advance, sorry to bother you all. You should bind '<KeyPress>', not 'KeyPress'. -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubs...

Re: malfunctioning keys in sun 10-key under Perl/Tk #9
>>> konovalo <konovalo@mail.wplus.net> 03/15/05 12:34 AM >>> >>>>The problem we have is that using the 10 key >>>>pad on our Sun model Type 5c keyboards almost >>>>works. Everything is normal except: >>>>pressing '4' translates to 'left arrow' >>>>pressing '6' translates to 'right arrow' >>Also, running following code on Tcl/Tk interpreter: >>pack [text .t] >>will bring a Tcl/Tk GUI and widget on it for you to check behaviour >Using 'wish' ...

Re: malfunctioning keys in sun 10-key under Perl/Tk #5
Hi! I have a question about a code snippet I found in the Mastering Perl/Tk book (chapter 15). I just wrapped it with a couple lines of code: ========== #!/usr/local/perl585/bin/perl -w use Tk; my $title = $ARGV[0] || $0; my $mw = new MainWindow; $mw->title($title); $mw->bind('KeyPress' => \&print_keysym); my $label = $mw->Label(-text => $title); $label->pack; my $entry = $mw->Entry(-width => 20); $entry->pack; my $button = $mw->Button(-text => "Exit", -command => sub { exit; }); $button->pack; ...

Re: malfunctioning keys in sun 10-key under Perl/Tk #10
"Troy.A Johnson" <troy.johnson@health.state.mn.us> wrote: > >>> konovalo <konovalo@mail.wplus.net> 03/15/05 12:34 AM >>> > >>>>The problem we have is that using the 10 key > >>>>pad on our Sun model Type 5c keyboards almost > >>>>works. Everything is normal except: > >>>>pressing '4' translates to 'left arrow' > >>>>pressing '6' translates to 'right arrow' > >>Also, running following code on Tcl/Tk interpreter: > >>pac...

Re: malfunctioning keys in sun 10-key under Perl/Tk #11
Re: bug report regarding numeric keypad You might try searching the bug database for strings like "pad". I did and noticed numerous similar reports which seem to keep being closed. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lvirden@cas.org > <URL: http://www.purl.org/NET/lvirden/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted...

Re: malfunctioning keys in sun 10-key under Perl/Tk #7
>>> konovalo <konovalo@mail.wplus.net> 02/02/05 2:55 PM >>> >>>The problem we have is that using the 10 key >>>pad on our Sun model Type 5c keyboards almost >>>works. Everything is normal except: >>> pressing '4' translates to 'left arrow' >>> pressing '6' translates to 'right arrow' >Also, running following code on Tcl/Tk interpreter: >pack [text .t] >will bring a Tcl/Tk GUI and widget on it for you to check behaviour Using 'wish' to check out: pack [ text .t...

Re: malfunctioning keys in sun 10-key under Perl/Tk #8
>>>>The problem we have is that using the 10 key >>>>pad on our Sun model Type 5c keyboards almost >>>>works. Everything is normal except: >>>>pressing '4' translates to 'left arrow' >>>>pressing '6' translates to 'right arrow' >>>> >>>> >>Also, running following code on Tcl/Tk interpreter: >>pack [text .t] >>will bring a Tcl/Tk GUI and widget on it for you to check behaviour >> >> > >Using 'wish' to check o...

RE: malfunctioning keys in sun 10-key under Perl/Tk #2
Troy.A Johnson wrote: > The problem we have is that using the 10 key > pad on our Sun model Type 5c keyboards almost > works. Everything is normal except: > > pressing '4' translates to 'left arrow' > pressing '6' translates to 'right arrow' We worked around this same issue from the application side (see discussion below). It would be nice to get a real fix in place. Dave Gordon Micron Technology, Inc. -----Original Message----- Sent: Wednesday, September 29, 2004 2:42 PM Subject: RE: Tk Entry Widget issue Accor...

Web resources about - Re: Perl-tk cut and paste key bindings - comp.lang.perl.tk

Tight binding - Wikipedia, the free encyclopedia
In solid-state physics , the tight-binding model (or TB model ) is an approach to the calculation of electronic band structure using an approximate ...

Facebook To Hold Non-Binding Shareholder Advisory Votes On Executives’ Compensation Every Three Years ...
... filing with the Securities and Exchange Commission Wednesday that, as voted on at its annual meeting in June, the company will hold non-binding ...

Molecule World DNA Binding Lab
Get Molecule World DNA Binding Lab on the App Store. See screenshots and ratings, and read customer reviews.

"Big binding crab"s on the plate - Flickr - Photo Sharing!
... this crab. But they were nice (^_^) Thank you raemin for ID !! from Wiki "The Chinese mitten crab (Eriocheir sinensis), also known as big binding ...

The Binding of Isaac: Rebirth Release Date Trailer - YouTube
PRE-ORDER NOW! http://store.steampowered.com/app/250900 IT'S HAPPENING! The Binding of Isaac: Rebirth coming to PlayStation 4, PS Vita and Steam! ...

Bill Shorten, Anthony Albanese reject call for binding vote on same-sex marriage
Union leader Paul Howes' call for the ALP to move to a binding vote in support of same-sex marriage has been rejected by Labor's potential leaders. ...

NSW seeks binding bids in Delta Coastal sale
Participants view AGL’s progress in the MacGen deal as a good omen for regulatory consent.

Abigail claims victory with a hushed, spell-binding display
As Abigail Carungay stepped up to the microphone in the final rounds of the Premier's Spelling Bee, the audience leaned forward in their chairs ...

Canada backs U.S., saying carbon-reduction targets shouldn't be legally binding
... approach to major climate change talks in Paris, saying any carbon reduction targets agreed to at the negotiations should not be legally binding. ...

Paris climate talks shift from binding targets to ‘name and shame’
Even if the international climate accord being negotiated in Paris becomes legally binding, it won't include punitive measures like trade sanctions ...

Resources last updated: 2/6/2016 2:09:48 AM