On Sun, 26 Feb 2017 09:17:00 +0100, Peter Otten wrote:
> Wildman via Python-list wrote:
>
>> Python 3.4.2
>> Tkinter 8.6
>> Linux
>>
>> I want to set the font in a GUI program I am working on.
>> Here is the pertinent code I am using...
>>
>> from tkinter import font
>>
>> myfont = font.Font(f
Wildman via Python-list wrote:
> Python 3.4.2
> Tkinter 8.6
> Linux
>
> I want to set the font in a GUI program I am working on.
> Here is the pertinent code I am using...
>
> from tkinter import font
>
> myfont = font.Font(family='Helvetica', size=10, weight='bold')
>
> Here is the error I ge
Python 3.4.2
Tkinter 8.6
Linux
I want to set the font in a GUI program I am working on.
Here is the pertinent code I am using...
from tkinter import font
myfont = font.Font(family='Helvetica', size=10, weight='bold')
Here is the error I get...
Traceback (most recent call last):
File "./test.
On Tue, Jul 8, 2008 at 12:44 PM, <[EMAIL PROTECTED]> wrote:
> I just installed Python 2.5.2 on UBUNTU Linux. It seems to work,
> however I don't seem to have access Tkinter. This is the result of
> "import Tkinter":
I think ubuntu and debian both split Tkinter out of their main python
packages.
I just installed Python 2.5.2 on UBUNTU Linux. It seems to work,
however I don't seem to have access Tkinter. This is the result of
"import Tkinter":
Python 2.5.2 (r252:60911, Jul 7 2008, 12:39:49)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for
HI All--
We've decided that this represents a bug in the tcl/tk library, and
there's no workaround. I switched to + and - buttons, which are not
as nice aesthetically but work correctly on both Windows & Linux.
Thanks to everyone for their help.
Metta,
Ivan
On Jan 29, 2008 11:03 AM, Ivan Van La
No Joy.
Waits the 1 second, then clicks the button once per second until the
limit's reached.
Sigh.
Metta,
Ivan
On Jan 29, 2008 10:20 AM, Russell E Owen <[EMAIL PROTECTED]> wrote:
> >Nope:
> >
> >'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '300'),
> >
> >And even after I
Nope:
'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '300'),
And even after I set it, it looks funny:
'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '1000'),
And when I try it with the new repeatdelay (1000), the only thing that
has changed is that it w
In article <[EMAIL PROTECTED]>,
"Ivan Van Laningham" <[EMAIL PROTECTED]> wrote:
> Hi All--
> That helps. Doing a get() on the scrollbar before a set(0.0,0.0)
> returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0)
> and now the callback gets the correct number of arguments.
>
> Ho
Hi All--
That helps. Doing a get() on the scrollbar before a set(0.0,0.0)
returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0)
and now the callback gets the correct number of arguments.
However, I'm still getting the weird behaviour when clicking the
arrowheads--and the heads are a
In article <[EMAIL PROTECTED]>,
"Ivan Van Laningham" <[EMAIL PROTECTED]> wrote:
> Hi All--
> I'm having two problems with the scrollbar callback on linux systems
> (Fedora 7, Suse 10.1,2 and 3 all exhibit the issues).
>
> Problem one: on Windows, the callback is called with the arguments as
> s
Hi All--
I'm having two problems with the scrollbar callback on linux systems
(Fedora 7, Suse 10.1,2 and 3 all exhibit the issues).
Problem one: on Windows, the callback is called with the arguments as
specified in the doc: "scroll", "1" or "-1", "units". When I run the
identical code on linux,
ank you enough.
> I'd read about Tkinter "garbage collection", but, like car crashes and
> lung cancer, you never think it's going to happen to you...
>
> thanks once again.
> Cheers, Al.
>
> Fredrik Lundh wrote:
> > [EMAIL PROTECTED] wrote:
> >
>
>
> > Just having a weird problem with tkinter. I'm trying to make a gui that
> > shows results from an image search, with a "forward" and "back" button
> > so the user can compare results from different pages. All that's
> > working fine...
>
[EMAIL PROTECTED] wrote:
> Just having a weird problem with tkinter. I'm trying to make a gui that
> shows results from an image search, with a "forward" and "back" button
> so the user can compare results from different pages. All that's
> working fi
Hi all.
Just having a weird problem with tkinter. I'm trying to make a gui that
shows results from an image search, with a "forward" and "back" button
so the user can compare results from different pages. All that's
working fine...
The problem I'm having is that
Jean Richelle schrieb:
> Hello,
>
> I installed version 2.4.1 (and I tried also with 2.4.3) of Python under
> 10.3.9 (and 10.4.6), and I trying to use Tkinter. For simplicity I'm
> testing the "hello world" that I found in the documentation.
> I first launch IDLE, write (cut and paste from the
Hello,
I installed version 2.4.1 (and I tried also with 2.4.3) of Python
under 10.3.9 (and 10.4.6), and I trying to use Tkinter. For
simplicity I'm testing the "hello world" that I found in the
documentation.
I first launch IDLE, write (cut and paste from the web) the program
in an editi
Eric Brunel wrote:
On Tue, 29 Mar 2005 22:32:59 +0200, Pierre Quentel
<[EMAIL PROTECTED]> wrote:
Instead of indexing self.lab by strings, you can index them by the
attributes themselves : self.lab[self.i], and change line 23 into
for var in (self.s, self,i)
I really think this is asking fo
Eric Brunel wrote:
On Tue, 29 Mar 2005 22:32:59 +0200, Pierre Quentel
<[EMAIL PROTECTED]> wrote:
[...]
mr brunel,
i thank you for prompt reply. i will take my time to read it carefully.
meanwhile, i inform you and the ng that someone else gave me a quick and
dirty answer to my problem, namely sub
Pierre Quentel wrote:
Instead of indexing self.lab by strings, you can index them by the
attributes themselves : self.lab[self.i], and change line 23 into
for var in (self.s, self,i)
For your example, I wouldn't have used the "text" option in the
definition of the labels, then "textvariable
On Tue, 29 Mar 2005 22:32:59 +0200, Pierre Quentel <[EMAIL PROTECTED]> wrote:
Instead of indexing self.lab by strings, you can index them by the
attributes themselves : self.lab[self.i], and change line 23 into
for var in (self.s, self,i)
I really think this is asking for trouble: I suppose t
Instead of indexing self.lab by strings, you can index them by the
attributes themselves : self.lab[self.i], and change line 23 into
for var in (self.s, self,i)
For your example, I wouldn't have used the "text" option in the
definition of the labels, then "textvariable" in the callback meth
hello.
the following code:
1 from Tkinter import *
2
3 class MiaApp:
4 def __init__(self, genitore):
5 self.mioGenitore = genitore
6 self.i = IntVar()
7 self.i.set(42)
8 self.s = StringVar()
9 self.s.set("Baobab")
10
hello.
the following code:
1 from Tkinter import *
2
3 class MiaApp:
4 def __init__(self, genitore):
5 self.mioGenitore = genitore
6 self.i = IntVar()
7 self.i.set(42)
8 self.s = StringVar()
9 self.s.set("Baobab")
10
Many thanks, You're right this wasn't my code, this was just what I
can remember, because my application is at home, and I'm at work.
Be sure I'll follow your advices concerning posting rules in this
group !
Eric Brunel <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> k2riddim wr
k2riddim wrote:
Hello,
I'm a beginner with Python and Tkinter development.
My application parse links in an html file. And I use Tkinter to
implement a GUI. This GUI has a button to launch the parse treatment,
and a status bar to show the state of the treatment.
I know that because of the mainloop,
Hello,
I'm a beginner with Python and Tkinter development.
My application parse links in an html file. And I use Tkinter to
implement a GUI. This GUI has a button to launch the parse treatment,
and a status bar to show the state of the treatment.
I know that because of the mainloop, my tkinter appl
28 matches
Mail list logo