Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"I have not the slightest confidence in 'spiritual manifestations.'" -- Robert G. Ingersoll


devel / comp.lang.python / Set tkinter top-level window to "always on visible workspace"

SubjectAuthor
o Set tkinter top-level window to "always on visible workspace"Skip Montanaro

1
Set tkinter top-level window to "always on visible workspace"

<mailman.373.1648416210.2329.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17612&group=comp.lang.python#17612

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: skip.mon...@gmail.com (Skip Montanaro)
Newsgroups: comp.lang.python
Subject: Set tkinter top-level window to "always on visible workspace"
Date: Sun, 27 Mar 2022 16:23:01 -0500
Lines: 11
Message-ID: <mailman.373.1648416210.2329.python-list@python.org>
References: <CANc-5UyGsQitjbe_k0S3ANsPhR5kN0W1rELaHeG-O45BxueZ-w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de nnrd2B6Gzmfe6u1MlshMyQxarozPW1WZ4HYeRTKTPVIQ==
Return-Path: <skip.montanaro@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=TUFnKFxn;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.043
X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'tkinter': 0.07;
'received:209.85.219': 0.09; 'widgets': 0.09; 'displayed': 0.16;
'doc': 0.16; 'subject:always': 0.16; 'subject:level': 0.16;
'subject:tkinter': 0.16; 'wider': 0.16; 'to:addr:python-list':
0.20; 'examples': 0.25; 'library': 0.26; 'subject:"': 0.32;
'to:name:python': 0.32; 'window': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; 'there': 0.33;
'particular': 0.33; 'windows': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'currently': 0.37; 'main': 0.37;
'received:209.85': 0.37; 'class': 0.37; 'way': 0.38;
'received:209': 0.39; 'least': 0.39; 'should': 0.40; 'manager':
0.68; 'net': 0.69; 'care': 0.71; 'attribute': 0.84; 'method,':
0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:from:date:message-id:subject:to;
bh=akDbEWSoU7LLFwrKF8KrZ/BBPSx4igyMEa5+dX1jGxg=;
b=TUFnKFxnG4mEAys3WXnLYfTopU9OH5UuSYusilkKxmi2qm6CceofCkgVLoBRPjGsKo
n/wzmAJo7rNR2P1sG11fa9EoBk0+jmUejqdQuEUUnqb41isK6lKpXNUFNQX0khJTnBAv
TwqS4WDoYZZ55ncVX18yYxq4faiuKvbBL451pR7tks81BSWcL2knpV3wiXs9B2LKBlJ3
GM9wS/W4t9+KKaSJqsNqDNKXuSiN96sW+heHE7VbYONhamNSD2GZ+IhVNnkVnIVwm5Jc
/tQVVbBEy5q6D2stw4ACcYwUtYS59kfQGd5WkSGgkGNB1OKM6m3IQHfUoQljc2h2VesQ
CfOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=akDbEWSoU7LLFwrKF8KrZ/BBPSx4igyMEa5+dX1jGxg=;
b=0QsRkpnRILwTkoODoLIUV/mIrOdHQUrRawAzzETfA7qfV5RB6iJXvRdG057FoG6us7
MRM8kniVxUYlV9z99n62SDlWtyuiPLEde26bbQVJbFSLm2Q5afenn83I51jxBYvF1iWa
Ylie4trivReOFHaA7S2LNx3It/0+hKjlObyEfQmi2+nP3Gp4Rp+es0dWarwemy8yMxVb
03rrQeBtOOJZcguZUyGHNSvAI3UPOYauwnY96IjTfDMe9+3LQnX+DISPhm4E1whqkJgM
jinjj8CipZ39/u2TRSc4Bo6J3J1zXd6k9WzOOKNLqIpT2pclUBMQ61efOOsSsWq+gxMS
virw==
X-Gm-Message-State: AOAM531CEC5mv8ckJHj4C24l2Vu2LyhGWOyJLy0f4XRCVyoGlkhO9Xbt
B4EZKvaYhESFpRzL7YxQkHkkTyh1Dt41h/a8/v5Ex4g0emum
X-Google-Smtp-Source: ABdhPJxeWmdrYmybdurUb9JeoYY2anEXyK13StsEhj8CWxFqGQdXzHSSSpmGl6UhJM6A9R5cS4bwmMUWy2oHdFvtYJ4=
X-Received: by 2002:a25:d9c5:0:b0:633:8d44:ee75 with SMTP id
q188-20020a25d9c5000000b006338d44ee75mr19737690ybg.403.1648416207661; Sun, 27
Mar 2022 14:23:27 -0700 (PDT)
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CANc-5UyGsQitjbe_k0S3ANsPhR5kN0W1rELaHeG-O45BxueZ-w@mail.gmail.com>
 by: Skip Montanaro - Sun, 27 Mar 2022 21:23 UTC

I have a tkinter app (Ubuntu/X11 env) whose main window should always be
displayed on the currently visible workspace. Is there some way to set that
attribute programmatically? I see that there is a tkinter.Wm class and that
Toplevel widgets have a wm_attributes method, but haven't found any
examples in the library doc or on the wider net which demonstrate control
of this particular window manager interaction. (I don't care about Windows
or Mac, at least for the time being.)

Thx,

Skip

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor