Re: [Tkinter-discuss] Slow tk applications...

2022-11-19 Thread Paul Malherbe
Hi Maybe this will help. https://github.com/ibus/ibus/issues/2324 I experienced a similar problem and stopping ibus seemed to help. *Regards* *Paul Malherbe* Tartan Systems On 19/11/2022 19:22, Vasilis Vlachoudis wrote: > Hi all, > > in the past months I've noticed a con

Re: [Tkinter-discuss] 4k HiDPI displays and tkinter

2021-07-14 Thread Paul
Title: signature style.configure("TScrollbar", arrowsize=10) Regards Paul Malherbe Phone +2

Re: [Tkinter-discuss] Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Paul Malherbe
Title: signature Hi Michael, this might help http://www.atmos.albany.edu/facstaff/rmctc/psrotate/ Regards Paul Malherbe Tartan Systems Phone +27(0)82 9005260

Re: [Tkinter-discuss] Force tkinter to use another fixed font

2020-07-21 Thread Paul Malherbe
Title: signature Hi ttk.Entry and ttk.Label use TkDefaultFont therefore changing TkFixedFont will not work. use style.configure("TLabel", font=yourfont) style.configure("TEntry", font=yourfont) Regards

Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Paul Malherbe
uot;" pdf = fpdf.FPDF(orientation="P", unit="mm", format="A4") pdf.set_font("courier", "", 10) pdf.set_auto_page_break(True, margin=5) pdf.add_page() pdf.multi_cell(180, 5, txt=text) pdf.output("test.pdf&q

Re: [Tkinter-discuss] Button event calls Leave/Enter

2019-05-13 Thread Paul Malherbe
Title: signature Hi Yes, definitely seems to be an xfce thing. Tried with gnome and worked fine. Regards Paul Malherbe Tartan Systems Phone +27(0)82 900

Re: [Tkinter-discuss] Button event calls Leave/Enter

2019-05-13 Thread Paul Malherbe
Title: signature Hi Same happens on Ubuntu 18.04 with python 2.7.15/3.6.7 and tcl/tk 8.6.8 Regards Paul Malherbe Tartan Systems Phone +27(0)82 900

Re: [Tkinter-discuss] Add text to desktop

2016-05-26 Thread Paul Malherbe
Hi You could use canvas to achieve this as per attached snippet. Regards Paul Malherbe On 26/05/2016 07:32, Dudi Goldenberg wrote: Hi Kevin and Hexamorph,   I

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-19 Thread Paul Malherbe
On 19/02/2015 18:12, Serhiy Storchaka wrote: > On 17.02.15 17:41, Paul Malherbe wrote: >> Running this displays the following error: >> >> Traceback (most recent call last): >>File "test.py", line 6, in >> grid_info = e.grid_info() >>

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Paul Malherbe
Hi Michael I tried using wantobjects=False but found that it broke too many other things like e.g. cget['size'], cget['width'], Treeview selection and some others. I found that in this case it was easier to create my own geom_info function. Paul On 18/02/2015 19:04, Micha

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Paul Malherbe
Hi Jeff The problem seems to have occurred with version 2.7.6 of python in linux. Paul Signature On 17/02/2015 22:31, Jeff Epler wrote: > Not reproduced on: > Python 2.7.3 (default, Mar 13 2014, 11:03:55) > [GCC 4.7.2] on linux2 > (Debian Wheezy amd64 with python 2.7.3-6+d

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Paul Malherbe
Hi Definitely the same problem and the solution helped. Thanks, Paul Signature On 17/02/2015 22:51, inq1ltd wrote: > Paul, > > Try this link, sounds like the same problem > that you have. > > https://mail.python.org/pipermail/tkinter-discuss/2013-December/003538.html >

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Paul Malherbe
No I want to store the info detail so that if I later forget the widget I can restore it to the same position using the stored details. Paul On 17/02/2015 18:55, inq1ltd wrote: > Paul, > Are you trying to create a loop to add entry > fields to a form? > > jimonlinux > in

[Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Paul Malherbe
Please could someone tell me why this is not working? from Tkinter import * root = Tk() e = Entry(root) e.grid(column=0, row=0) info = e.grid_info() print "row:", info["row"], "column:", info["column"] root.mainloop() Running this displays the following error: Traceback (most recent call last):

Re: [Tkinter-discuss] tkFileDialog

2013-08-16 Thread Paul Malherbe
Hi Michael Thanks. this does the trick for me. Regards Paul Malherbe On 15/08/2013 20:58, Michael Lange wrote: > On Tue, 30 Jul 2013 15:01:16 +0200 > Michael Lange wrote: > >> Hmm... the "center on screen" gimmick works only with the first dialog, >> can someon

[Tkinter-discuss] tkFileDialog

2013-07-30 Thread Paul Malherbe
HI I have a question regarding tkFileDialog. Is there any way I can create the dialog with customised dimensions as the default is very small? Regards Paul Malherbe ___ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org

Re: [Tkinter-discuss] Menu Problem

2013-05-31 Thread Paul Malherbe
Thanks Alejandro It works fine after 1 small further change: I changed: x = menu.menu_xpos to be x = self.mf.winfo_x + menu.menu_xpos Signature Regards Paul Malherbe Tartan Systems <http://www.tartan.co.za/> Phone: +27 (0)21-671-1866

[Tkinter-discuss] Menu Problem

2013-05-30 Thread Paul Malherbe
I cannot get an accelerate key to work. Can anyone please assist me? -- Regards Paul Malherbe Tartan Systems

Re: [Tkinter-discuss] Exit from method loop

2013-04-10 Thread Paul Simon
d see if that works any better. Paul "Andreas Ostermann" wrote in message news:cans6tn+p4yucqzkrwnfwqatkvc1_rp5vxhxsgogkgfycnui...@mail.gmail.com... Hi, if it should loop continuously, why don't you put it into a background thread? Or, as you are using sleep() remove

[Tkinter-discuss] Exit from method loop

2013-04-08 Thread Paul Simon
quot; is running. The internal loop is intended to run continuously until interrupted by the "stop" button but for demo purposes it is set to 10 interations. Paul Simon begin 666 focusset.py M:6UP;W)T('1I;64*:6UP;W)T('-E@H@(" @<75I=%]B=71T;VXN9F]C=7-?CUZ+FQS=')I<&

Re: [Tkinter-discuss] loop delay

2012-10-24 Thread Paul Simon
;) if you wish. You can see the current implementation on my web site, www.gophergulch.net under "temperature." Paul "Bryan Oakley" wrote in message news:CAKypQny33xJ=w_ti7czya4axopx+wxah5zo+qjfvlugr_yt...@mail.gmail.com... > On Sun, Oct 21, 2012 at 5:31 PM, Paul Simon wrot

Re: [Tkinter-discuss] loop delay

2012-10-21 Thread Paul Simon
Thank you! Just what I was looking for and will have to re-read the documentation. Sorry about the indents: Copying from linux to windows sometimes does some strange things and although I tried to fix it... Paul "Lynn Oliver" wrote in message news:7bf8a3b5-45a3-499c-89c8

[Tkinter-discuss] loop delay

2012-10-21 Thread Paul Simon
t;, command=root.destroy) quit_button.pack(side=LEFT) frame.pack() root.mainloop() --- Paul Simon ___ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss

Re: [Tkinter-discuss] OptionMenu Cannot Receive Keyboard Focus?

2010-05-26 Thread Lowe, Paul J (AS)
Thanks! This really worked! -Paul Lowe -Original Message- From: tkinter-discuss-bounces+paul.lowe=ngc@python.org [mailto:tkinter-discuss-bounces+paul.lowe=ngc@python.org] On Behalf Of Michael Lange Sent: Wednesday, May 26, 2010 11:35 To: tkinter-discuss@python.org Subject: Re

[Tkinter-discuss] OptionMenu Cannot Receive Keyboard Focus?

2010-05-26 Thread Lowe, Paul J (AS)
entry, in that order, if I type text in the first entry, then hit the tab key, the cursor will go straight to the other text entry - skipping the optionmenu entirely. Has anyone else observed this phenomenon? Is there a workaround? Is it a formally documented bug? Kindest Regards and Thank You,

[Tkinter-discuss] PataPata as a Tkinter-based GUI designer

2006-07-06 Thread Paul D. Fernhout
thanks. :-) Anyway, PataPata is still very much an experiment and work in progress, so this isn't intended to convince you to move all your Tkinter work in it, just to mention it as something being played with at the moment. There remain lots of things to do for it and lots of ways