From: Tair Sabirgaliev <tair.sabirgaliev@bee.kz>
To: David Aguilar <davvid@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>,
Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] gitk: workaround Tcl/Tk Cmd-TAB behavior on OSX
Date: Thu, 11 Apr 2013 10:36:14 +0600 [thread overview]
Message-ID: <51663DBE.2080603@bee.kz> (raw)
In-Reply-To: <CAJDDKr76K_-d6JSgv67DcXnZybpxkTjYPJxdObU3wrn+nYV3dw@mail.gmail.com>
On 4/11/13 8:46 AM, David Aguilar wrote:
> Apologies because I don't know the Tk API very well.
>
> In Qt there is an API method to raise windows -- QWidget::raise().
>
> Is there no similar API in Tk?
>
> I seems like this may be related:
>
> http://wiki.tcl.tk/9457
>
> ..but it seems that -topmost may not be exactly the same thing.
>
> That said, if there's no portable way to do it, then this is certainly a
> workaround.
Yes, I tried that one. Here is a quick test:
========== hello.tcl =============
#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
exec wish "$0" -- "$@"
package require Tk
grid [ttk::button .b -text "Hello World"]
wm attributes . -topmost true
==================================
I'm not sure I'm doing it right, but it doesn't work.
Look like Tcl/Tk dev are very paranoic about windows created from
Terminal/shell scripts: they don't let them take over , even if it is
desired.
next prev parent reply other threads:[~2013-04-11 4:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 19:02 [PATCH] gitk: workaround Tcl/Tk Cmd-TAB behavior on OSX Tair Sabirgaliev
2013-04-10 19:12 ` Tair Sabirgaliev
[not found] ` <CAJDDKr76K_-d6JSgv67DcXnZybpxkTjYPJxdObU3wrn+nYV3dw@mail.gmail.com>
2013-04-11 4:36 ` Tair Sabirgaliev [this message]
2013-04-20 3:19 ` Paul Mackerras
2013-04-20 10:45 ` Tair Sabirgaliev
2013-04-23 13:26 ` Stefan Haller
2013-04-24 9:48 ` [PATCH 1] gitk: on OSX bring the gitk window to front Tair Sabirgaliev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51663DBE.2080603@bee.kz \
--to=tair.sabirgaliev@bee.kz \
--cc=davvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.