On Mon, 02 Oct 2006 14:42:15 +0200, Paolo Pantaleo
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am going on writing my video conference software. I wrote the video
> grab, code/decode, and netwoark (multicast) transport.
>
> I have one thread doing this:
>
> [thread 1]
> while True:
> for some times:
On Wed, 22 Nov 2006 22:59:01 +0100, John Machin <[EMAIL PROTECTED]>
wrote:
[snip]
> So why do you want to strip off accents? The history of communication
> has several examples of significant difference in meaning caused by
> minute differences in punctuation or accents including one of which you
On Wed, 20 Dec 2006 18:37:10 +0100, mdmdmd <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wish to collect 4 files from a user. So I have decided to use
> tkFileDialog askopenfilename. My problem is that after a few file
> selections the root window is destroyed (the whole program just
> dissapp
On Thu, 21 Dec 2006 13:33:51 +0100, <[EMAIL PROTECTED]> wrote:
> Hello,
> I got a number 19968:
>
> 1. how can I change it to the hex form 0x4e00,
'0x%x' % 19968
> 2. and how can I change 0x4e00 to a python unicode character u"\u4e00"?
unichr(19968)
> thank you!
HTH
--
python -c "print ''.jo
On Thu, 21 Dec 2006 22:37:37 +0100, James Stroud <[EMAIL PROTECTED]>
wrote:
> Eric Brunel wrote:
>> BTW, why do you create a sub-class of Frame for your application? Why
>> not create a sub-class of Tk instead?
>>
>
> The short answer is that inhereting f
On 23 Jan 2006 11:28:37 -0800, Tuvas <[EMAIL PROTECTED]> wrote:
> I am building a tkinter program. A part of this program is to read data
> from an incoming interface, and depending on the data, will display a
> bit of text on the tk dialog, it decodes this data, so to speak. If one
> command is s
On 24 Jan 2006 12:37:01 -0800, Tuvas <[EMAIL PROTECTED]> wrote:
> I thought I mentioned that I'm running in linux, and yes, there are
> threads involved. I just don't know why on one machine that it would
> run so differently than another.
The only secure way I found to make Tkinter mix with threa
On Thu, 26 Jan 2006 17:32:32 +, Steve Holden <[EMAIL PROTECTED]>
wrote:
> gregarican wrote:
>> I have a Python UDP listener socket that waits for incoming data. The
>> socket runs as an endless loop. I would like to pop the incoming data
>> into an existing Tkinter app that I have created. W
On Mon, 30 Jan 2006 15:20:50 -0800, James Stroud <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I'm wondering if there is something that already exists that can take
> marked up text in some format (hopefully reStructuredText or HTML) and
> can convert it into something that can be displayed with
On Mon, 6 Feb 2006 20:11:28 -0700, Bob Greschke <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I want to grab the contents of a Text widget when the frame it's on gets
> destroyed. I tried TextWidget.bind(""... , but the widget is
> gone
> before the call gets made, and I'd really hate to do something wi
On Mon, 06 Feb 2006 19:32:52 -0800, James Stroud <[EMAIL PROTECTED]> wrote:
> If TextWidgetsFrame inherets from frame, you can override the destroy()
> method which gets called when the parent gets destroyed.
Unfortunately, it doesn't get called. Everything actually happens at tk
level, where
On Sat, 28 May 2005 18:21:46 +0200, pavel.kosina <[EMAIL PROTECTED]> wrote:
> Fredrik Lundh napsal(a):
>> when you add an item to the canvas, it's part of the canvas
>> until you remove it. if performance drops, it's usually because
>> you keep adding new items without removing the old ones.
>>
>
On Thu, 09 Jun 2005 02:22:08 +0200, Riccardo Galli <[EMAIL PROTECTED]> wrote:
> Using tkinter doesn't need downloading and installing only in Windows.
> In *nix is not so common to have tcl/tk installed (and probably in Mac too)
>
> GUI cross platform need external support, in a OS or in another.
On Thu, 31 May 2007 19:45:04 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I am trying to figure out how to stack two widgets in a frame
> vertically so that they both expand horizontally and during vertical
> expansion, the top one sticks to the top of the frame and the bottom
> one con
On Tue, 05 Jun 2007 18:18:51 +0200, <[EMAIL PROTECTED]> wrote:
> Hi everybody.
>
> I have this code snippet that shows a window without a titlebar (using
> overrideredirect) and two buttons on it: one quits and the other one
> brings up a simple tkMessageBox.
> On Windows (any flavour) the tkMessa
On Wed, 06 Jun 2007 14:26:12 +0200, <[EMAIL PROTECTED]> wrote:
>> As an aside, having a window with overrideredirect(1) creating "normal"
>> windows such as the one created via tkMessageBox.showinfo is asking for
>> problems. What are you trying to do here?
>
> I just need a window without the titl
On Thu, 07 Jun 2007 09:04:24 +0200, <[EMAIL PROTECTED]> wrote:
[snip]
> I can't believe there isn't an easier way to make a kiosk application
> without titlebar.
That's not the problem: there *is* an easy way, and you found it:
overrideredirect(1). But now you're trying to mix windows ignored by
On Mon, 11 Jun 2007 14:23:48 +0200, exhuma.twn <[EMAIL PROTECTED]> wrote:
> As many might know, windows allows to copy an image into the clipboard
> by pressing the "Print Screen" button on the keyboard. Is it possible
> to paste such an image from the clipboard into a "Text" widget in
> Tkinter? H
On Tue, 12 Jun 2007 19:32:38 +0200, reverse_gear <[EMAIL PROTECTED]>
wrote:
> hi,
> Does Tkinter has support for tamil/Indian Languages??
> I tried this code
> it is able to print both tamil and german text on console.. but on
> Tkinter Label it is printing only the german code
> Plz help
> from
On Thu, 28 Jun 2007 07:45:08 +0200, Rajendran Appavu <[EMAIL PROTECTED]>
wrote:
> When I am done with a widget that is packed in a Frame, is it safe to
> call destroy() method on the widget after calling its pack_forget() or
> grid_forget() method?
Since I do that all the time, I'd say yes... D
On Wed, 04 Jul 2007 21:51:34 +0200, O.R.Senthil Kumaran
<[EMAIL PROTECTED]> wrote:
> Following is a tk code, which will display a checkbutton, and when
> checkbox is
> enabled, it will show the below present Label.
>
> What I was trying is, when checkbox is enabled the Label should be shown
>
On Mon, 09 Jul 2007 23:08:20 +0200, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> I've spent some time playing with both, and while wxPython is nice,
> Tkinter just seems to fit my head better, and with appropriate selection
> of widgets and interface design, seems to yield up perfectly usable
On Fri, 04 May 2007 05:26:56 +0200, <[EMAIL PROTECTED]> wrote:
> I will give a simplified example of the problem at hand --
>
> I have a case in which I have two listboxes - listbox1 and listbox2,
> if I click on an item in listbox1 the item gets highlighted as
> expected. Now if I click on an ite
On Wed, 09 May 2007 18:37:32 +0200, <[EMAIL PROTECTED]> wrote:
> Hi,
> I have developed a GUI using tkinter (grid geometory manager).
> The structure is a top frame containing multiple subframes. Each
> subframe has a combination of widgets like(Entry, label,
> button,listboxes). The subframes are
On Sun, 13 May 2007 21:10:46 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
[snip]
> Now, I am not a strong supporter (most public code will use English
> identifiers anyway)
How will you guarantee that? I'm quite convinced that most of the public
code today started its life as private code e
On Sun, 13 May 2007 23:55:11 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Martin v. Löwis a écrit :
>> PEP 1 specifies that PEP authors need to collect feedback from the
>> community. As the author of PEP 3131, I'd like to encourage comments
>> to the PEP included below, either here (
On Mon, 14 May 2007 11:00:29 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
> Eric Brunel wrote:
>> On Sun, 13 May 2007 21:10:46 +0200, Stefan Behnel
>> <[EMAIL PROTECTED]> wrote:
>> [snip]
>>> Now, I am not a strong supporter (most public co
On Mon, 14 May 2007 12:17:36 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
> Eric Brunel wrote:
>> On Mon, 14 May 2007 11:00:29 +0200, Stefan Behnel
>>> Any chance there are still kanji-enabled programmes around that were
>>> not hit
>>> by the bomb
On Mon, 14 May 2007 18:30:42 +0200, <[EMAIL PROTECTED]> wrote:
[snip]
> Can a discussion about support for non-english identifiers (1)
> conducted in a group where 99.9% of the posters are fluent
> speakers of english (2), have any chance of being objective
> or fair?
Agreed.
> Although probably
On Tue, 15 May 2007 07:15:21 +0200, ZeD <[EMAIL PROTECTED]> wrote:
> Neil Hodgson wrote:
>
>> Ada 2005 allows Unicode identifiers and even includes the constant
>> '?' in Ada.Numerics.
^^^
> this. is. cool.
Yeah, right... The problems begin...
Joke aside, this just means that I won't eve
On Tue, 15 May 2007 09:38:38 +0200, Duncan Booth
<[EMAIL PROTECTED]> wrote:
> Recently there has been quite a bit of publicity about the One Laptop Per
> Child project. The XO laptop is just beginning rollout to children and
> provides two main programming environments: Squeak and Python. It is a
On Tue, 15 May 2007 11:25:50 +0200, Thorsten Kampe
<[EMAIL PROTECTED]> wrote:
> * Eric Brunel (Tue, 15 May 2007 10:52:21 +0200)
>> On Tue, 15 May 2007 09:38:38 +0200, Duncan Booth
>> <[EMAIL PROTECTED]> wrote:
>> > Recently there has been quite a bit of pub
On Tue, 15 May 2007 14:14:33 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
> René Fleschenberg wrote:
>> Please try to understand that the fact that certain bad practices are
>> possible today is no valid argument for introducing support for more of
>> them!
>
> You're not trying to suggest tha
On Tue, 15 May 2007 15:57:32 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
> George Sakkis wrote:
>> After 175 replies (and counting), the only thing that is clear is the
>> controversy around this PEP. Most people are very strong for or
>> against it, with little middle ground in between. I'm
On Tue, 15 May 2007 17:35:11 +0200, Stefan Behnel
<[EMAIL PROTECTED]> wrote:
> Eric Brunel wrote:
>> On Tue, 15 May 2007 15:57:32 +0200, Stefan Behnel
>>> In-house developers are rather for this PEP as they see the advantage
>>> of
>>> expressing
On Tue, 15 May 2007 21:07:30 +0200, Pierre Hanser
<[EMAIL PROTECTED]> wrote:
> hello
>
> i work for a large phone maker, and for a long time
> we thought, very arrogantly, our phones would be ok
> for the whole world.
>
> After all, using a phone uses so little words, and
> some of them where eve
On Wed, 16 May 2007 02:14:58 +0200, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Tue, 15 May 2007 09:09:30 +0200, Eric Brunel wrote:
>
>> Joke aside, this just means that I won't ever be able to program math in
>> ADA, because I have absolutely no idea on h
On Wed, 16 May 2007 12:22:01 +0200, Neil Hodgson
<[EMAIL PROTECTED]> wrote:
> Eric Brunel:
>
>> ... there is no keyboard *on Earth* allowing to type *all* characters
>> in the whole Unicode set.
>
> My keyboard in conjunction with the operating system (US Eng
On Wed, 16 May 2007 15:46:10 +0200, Neil Hodgson
<[EMAIL PROTECTED]> wrote:
> Eric Brunel:
>
>> Funny you talk about Japanese, a language I'm a bit familiar with and
>> for which I actually know some input methods. The thing is, these only
>> work if you
On Wed, 16 May 2007 16:29:27 +0200, Neil Hodgson
<[EMAIL PROTECTED]> wrote:
> Eric Brunel:
>
>> Have you ever tried to enter anything more than 2 or 3 characters like
>> that?
>
> No, only for examples. Lengthy texts are either already available
> di
On Wed, 16 May 2007 17:14:32 +0200, Gregor Horvath <[EMAIL PROTECTED]>
wrote:
> Eric Brunel schrieb:
>
>> Highly improbable in the general context. If I stumble on a source code
>> in Chinese, Russian or Hebrew, I wouldn't be able to figure out a
>> singl
On Thu, 17 May 2007 09:30:57 +0200, Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote:
> "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>> En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen
>>> I have never seen this working in Tkinter, unless the button was
>>> pressed
>>> on the
>>> widget
>>
On Tue, 29 May 2007 19:02:03 +0200, <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it possible to have different items in a listbox in different
> colors? Or is it just one color for all items in a listbox?
> Thanks
> Rahul
>
AFAIK, this is not possible with a listbox. You can however quite easily
emula
On Mon, 30 Jul 2007 15:59:21 +0200, Jim <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm looking at page 548 of Programming Python (3rd Edition) by Mark
> Lutz.
> The following GUI script works with no problem, i.e., the rows and
> columns expand:
> ==
On Mon, 30 Jul 2007 16:36:00 +0200, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm in the process of writing some code and noticed a strange problem
> while doing so. I'm working with PythonWin 210 built for Python 2.5. I
> noticed the problem for the last py file processed by this script,
> where the c
On Tue, 04 Sep 2007 07:12:00 +0200, vijayca <[EMAIL PROTECTED]> wrote:
> i tried to use python gui module Tkinter in solaris,aix,hpux.
> while importing the module it shows an error...
>
> import Tkinter
> error says that your python may not be configured for Tk()...
> how to get out of this.
On Tue, 04 Sep 2007 15:42:09 +0200, vijayca <[EMAIL PROTECTED]> wrote:
> my python installation is:Active python 2.5.1
> i am using Red Hat Linux
> i have the Tkinter module installed but any simple script produces an
> error
>
> script:
> from Tkinter import Label
> widget = Label(None, text=
On Wed, 05 Sep 2007 11:01:56 +0200, Alexandre Badez
<[EMAIL PROTECTED]> wrote:
> Hye,
>
> I'm developing a little app, and I want to make multi heritage.
> My problem is that my both parent do have __slots__ define.
>
> So I've got something like:
>
> class foo(object):
> __slots__ = ['a', '
On Fri, 02 Mar 2007 13:41:12 +0100, Gigs_ <[EMAIL PROTECTED]> wrote:
> is it alright to use Menu instead Toplevel or Tk
> like this?
>
> from Tkinter import *
> from tkMessageBox import *
>
> class MenuDemo(Menu):
> def __init__(self, master=None):
> Menu.__init__(self, master)
>
On Fri, 02 Mar 2007 16:17:32 +0100, Gigs_ <[EMAIL PROTECTED]> wrote:
> list = Listbox()
> list.insert('end', x)
> list.insert(END, x)
>
>
> what do you use 'end' or END?
>>> from Tkinter import END
>>> END == 'end'
True
So this isn't really important... My personal usage varies: for your use
c
On Sat, 10 Mar 2007 15:00:04 +0100, Olivier Verdier <[EMAIL PROTECTED]>
wrote:
[snip]
> The default encoding i wish to set is UTF-8 since it encodes unicode and
> is nowadays the standard encoding.
I can't agree with that: there are still many tools completely ignoring
the encoding problem,
On Tue, 27 Mar 2007 12:05:07 +0200, Gigs_ <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I cant figure out how to disable resizing of my popup window?
myPopupWindow.wm_resizable(0, 0)
It may or may not make resize controls disappear depending on your
platform and/or window manager. But the resizing w
On Tue, 27 Mar 2007 13:29:25 +0200, Gigs_ <[EMAIL PROTECTED]> wrote:
> Can someone give me example how to write text editor in tkintter with
> model-view-controler?
> What goes to controler and what goes to model?
>
> thanks in advance
Others may have a different opinion, but I think using MVC
On Thu, 27 Sep 2007 04:41:48 +0200, Scott David Daniels
<[EMAIL PROTECTED]> wrote:
> Michal Bozon wrote:
>> Today has been released a first beta of Tk 8.5, including a Ttk
>> (tile) style engine, which makes possible the native look
>> of widgets on MS platform, without having to install any ext
On Fri, 05 Oct 2007 05:16:14 +0200, goldtech <[EMAIL PROTECTED]>
wrote:
> This works OK. But I notice that if I enlarge the window after the
> script has run, the white listbox only gets "so" big while the grey
> background enlarges.
>
> Is there a way to have it all white when I enlarge a windo
On Fri, 05 Oct 2007 14:10:57 +0200, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> "expand = 1" == "expand=TRUE"--that means the widget resizes itself
> when the window is re-sized.
That's the theory... But what does fill=BOTH means then? And why does
expand=1 (or TRUE, or True) is only needed i
On Sun, 07 Oct 2007 18:09:16 +0200, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> Hendrik van Rooyen wrote:
>> "Kevin Walzer" <[EMAIL PROTECTED]> wrote:
>>
>>> I find "pack" to be more flexible than "grid," so I prefer it for
>>> complex layouts. "grid" is better for simple layouts.
>> *does a dou
On Fri, 12 Oct 2007 10:13:29 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I've been programming in Python for 5 or more years now and whenever I
> want a quick-n-dirty GUI, I use Tkinter. This is partly because it's
> the first toolkit I learnt, but also because it's part of the standard
On Sat, 13 Oct 2007 06:34:14 +0200, Michael L Torrie
<[EMAIL PROTECTED]> wrote:
[snip]
> You do have
> to take pains to make the app "feel" native, though. Like follow the UI
> guidelines of the platform, etc.
You're absolutely right; I just wanted to add a precision: it's true for
every too
On Tue, 16 Oct 2007 11:14:57 +0200, Ben Finney
<[EMAIL PROTECTED]> wrote:
> "Diez B. Roggisch" <[EMAIL PROTECTED]> writes:
>
>> Just found this:
>
> The direct link to the article is
> http://www.boingboing.net/2007/10/16/french-lady-finds-py.html>.
>
>> I do believe that Python should be somewh
On Tue, 16 Oct 2007 13:19:26 +0200, Ben Finney
<[EMAIL PROTECTED]> wrote:
> "Eric Brunel" <[EMAIL PROTECTED]> writes:
>
>> Well, I'd definetely vote for a name change for PyPy, as in french,
>> it's pronounced "pee-pee", and yes, it me
On Fri, 26 Jan 2007 22:35:20 +0100, <[EMAIL PROTECTED]> wrote:
> Hi, I've been searching for a .resize()-like function to overload much
> like can be done for the delete window protocol as follows:
>
> toplevel.protocol("WM_DELETE_WINDOW", callback)
>
> I realize that the pack manager usually hand
On Tue, 30 Jan 2007 23:13:07 +0100, <[EMAIL PROTECTED]> wrote:
> I'm using a text widget to hold a set of plots, one plot per line,
> such that the scrolling capability of the text widget can be taken
> advantage of to display only a subset of the plots at any given time.
> In the analyses my progr
On Thu, 01 Feb 2007 20:26:08 +0100, D <[EMAIL PROTECTED]> wrote:
> Bob Greschke wrote:
>> The typical way to do it is to make a scrolling canvas and
>> pack the buttons and other stuff into an empty Frame() and then pack
>> the frame on to the canvas, which I haven't had to do yet.
>>
>> Bob
> Than
On Wed, 07 Feb 2007 13:40:33 +0100, yvesd <[EMAIL PROTECTED]> wrote:
> For a bit more help about my previous message (outlook bar)
> does anybody know how to reparent or change a widget(button)'s owner
> in tkinter ?
> here's my code that doesn't work :
> def inverse(self):
> if (self.
On Mon, 12 Feb 2007 09:24:20 +0100, Ben Finney <[EMAIL PROTECTED]> wrote:
> Howdy all,
>
> Python programmers looking for a built-in GUI toolkit are told two
> things: one, Python already comes with a GUI toolkit, and two, it
> looks equally ugly on all platforms. This is because the Tk widget
> li
On Wed, 21 Feb 2007 15:50:57 +0100, Gigs_ <[EMAIL PROTECTED]> wrote:
> from Tkinter import *
>
> states = []
>
> def onpress(i):
> states[i] = not states[i]
>
>
> root = Tk()
> for i in range(10):
> chk = Checkbutton(root, text= str(i), command=lambda i=i:
> onpress(i))
> chk.pack(
On Sun, 25 Feb 2007 22:12:52 +0100, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Steven W. Orr a écrit :
>> I understand that two leading underscores in a class attribute make the
>> attribute private.
>
> Nope. It doesn't make it "private", it mangles the attribute name with
> the class
On Fri, 23 Feb 2007 23:39:03 +0100, Troy Melhase <[EMAIL PROTECTED]>
wrote:
>> The first time A starts, it should open a B process and start
>> communicating with it. All other times an A instance starts it should
>> simply talk with the B that already is open.
>
> B should write its process id
On Thu, 01 Mar 2007 21:01:40 +0100, Adam <[EMAIL PROTECTED]>
wrote:
> Ok the window has resized but the elements inside are still like they
> were, so they are going off the edge on the window. How can I get
> these to resize? I have put sizes on the frames they are in. Sorry to
> keep asking bu
On Thu, 01 Mar 2007 22:35:40 +0100, James Stroud <[EMAIL PROTECTED]>
wrote:
> Gigs_ wrote:
>> class MenuDemo(Frame):
>> def __init__(self, parent=None):
>> Frame.__init__(self, parent)
>> self.pack(expand=YES, fill=BOTH)
>> self.createWidgets()
>> def createWidget
On Tue, 04 Dec 2007 14:32:34 +0100, Boris <[EMAIL PROTECTED]> wrote:
> I am using windows vista and python 2.5 .This program stops responding
> after pressing quit button. I am not able to figure the problem out.
> please help.
>
> from Tkinter import *
>
> def greeting( ):
> print 'Hello stdou
On Wed, 12 Dec 2007 02:58:37 +0100, mariox19 <[EMAIL PROTECTED]> wrote:
> Are Tkinter widgets running on their own thread?
No. And usually, GUI toolkits and threads don't mix well...
> If I try to make a simple application that will print the letters A to
> Z to a Tkinter Text widget, and I spac
On 20 Apr 2006 11:31:23 -0700, <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have created a XML-RPC model (with server and client) written in
> Java.
> I want to call the methods in another XML-RPC model written in
> Python.
> I know that in Java, I can use like
> "xmlrpc_client.excute("han
On 27 Apr 2006 02:35:50 -0700, Leonardo da Vinci
<[EMAIL PROTECTED]> wrote:
> Greetings gentlemen and ladies,
> I have a question: in Tkinter, how to align a Listbox entry (i.e. a
> line of text) to the right?
In a real Listbox, the answer is simple: you can't.
What are you trying to do? Maybe
On 27 Apr 2006 07:00:36 -0700, Leonardo da Vinci
<[EMAIL PROTECTED]> wrote:
> I have to use a Listbox that shows a list of entries. Every entry is a
> char string quite long in size and I cannot set "width" to a large
> value due to limitations of screen resolution. The rightmost part is
> more
On 7 May 2006 23:55:05 -0700, Atul <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have installed a truetype font (.ttf) on a linux machne (SUSE linux
> 10, KDE) by copying it to my .fonts folder. I can use the font in all
> applications like open-office and firefox browser.
>
> However, I cannot use the f
On Thu, 18 May 2006 08:41:20 -0400, Michael Yanowitz
<[EMAIL PROTECTED]> wrote:
> Hello:
>
>Below I have included a stripped down version of the GUI I am working
> on.
> It contains 2 dialog boxes - one main and one settings. It has the
> following
> problems, probably all related, that
On Thu, 18 May 2006 11:52:54 -0400, Michael Yanowitz
<[EMAIL PROTECTED]> wrote:
> Thanks. That helped alot.
No problem.
> However it leaves a couple very minor problems which I think I can live
> with.
> 1) It brings up an empty additional 'main window'.
>I have tried using the Tkinter.NoD
On 22 May 2006 10:56:16 +1000, Gary Wessle <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am going through a tutorial on Tkinter
> http://doctormickey.com/python/pythontutorial_201.html, it referees to
> Tk.iconname() but I could not locate one after googleing and browsed
> and searched the Tkinter On-line
On Wed, 30 Jan 2008 13:32:00 +0100, Helmut Jarausch
<[EMAIL PROTECTED]> wrote:
[snip]
> While I can bind '' to a callback, I haven't figured out how
> to get (and later on set) the cursor within the Entry widget.
> In other words I need to know at which character position the last
> character was
On Sat, 02 Feb 2008 00:08:21 +0100, Mike Kent <[EMAIL PROTECTED]> wrote:
> In a comment Guido made on a recent bug report for the 'freeze'
> utility, he stated:
>
> "I think nobody really cares about freeze any more -- it isn't
> maintained."
>
> That being the case, what is the preferred/best rep
On Sun, 03 Feb 2008 20:38:41 +0100, Thomas Dybdahl Ahle <[EMAIL PROTECTED]>
wrote:
[snip]
> Another toolkit you might look into is Tkinter. I think it is something
> like the "official" toolkit for python. I also think it is an adapter
> for other toolkits, so it will use gtk widgets on gnome, qt
On Sun, 17 Feb 2008 13:31:47 +0100, W. Watson <[EMAIL PROTECTED]>
wrote:
> Thanks very much. I'm somewhat new to this, but I would think that Frame
> might carry some properties not available to the root. If so, then there
> might be some advantage to it.
(Please don't top-post... It makes t
On Thu, 21 Feb 2008 16:53:14 +0100, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> Miki wrote:
>> Hello Kevin,
>>
>>> Tk.lift doesn't seem to work on OSX (Python 2.5.1).
If you click on the PythonLauncher application that runs in your dock
when this script is executed, the window comes into
On Fri, 22 Feb 2008 13:30:06 +0100, <[EMAIL PROTECTED]> wrote:
[snip]
> Sub problems: how to change state of menu item? how to detect changes
> in Text widget?
If you have a reasonably recent tcl/tk version (>= 8.4), you should have a
edit_modified() method on your Text telling you if it has bee
On Tue, 25 Mar 2008 16:37:00 +0100, Brian Lane <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Gerard Flanagan wrote:
>
>> Use the child class when calling super:
>>
>> --
>> class Foo(object):
>> def __init__(self):
>>
On Wed, 26 Mar 2008 13:45:29 +0100, Guilherme Polo <[EMAIL PROTECTED]>
wrote:
> 2008/3/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> Tkinter defaults to, for example, Alt+f = File (if File is your first
>> menu name starting with "f").
>>
>> I'd like to assign my own letters and have them unde
Hi all,
I found a behaviour that might be a bug in Tkinter for Python 2.6. Here is
the script:
-
from Tkinter import *
from tkMessageBox import *
from tkFileDialog import *
root = Tk()
def ask_file():
file_name = askopenfilename()
print file_name
def ask_con
On Thu, 15 Jan 2009 19:09:00 +0100, José Matos wrote:
On Thursday 15 January 2009 15:28:36 r wrote:
First of all be very careful using from "module" import * or you will
have name conflicts. Tkinter is made to be imported this way and i do
it all the time. for the others do.
import tkMessageB
On Thu, 15 Jan 2009 23:49:22 +0100, Terry Reedy wrote:
Eric Brunel wrote:
[snip]>> And BTW, if this is actually a bug, where can I report it?
bugs.python.org
Thanks. I reported the problem.
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.
On Fri, 16 Jan 2009 17:49:50 +0100, Terry Reedy wrote:
Eric Brunel wrote:
On Thu, 15 Jan 2009 23:49:22 +0100, Terry Reedy
wrote:
Eric Brunel wrote:
[snip]>> And BTW, if this is actually a bug, where can I report it?
bugs.python.org
Thanks. I reported the problem.
When you
On Sun, 18 Jan 2009 01:57:12 +0100, José Matos wrote:
On Friday 16 January 2009 09:47:36 Eric Brunel wrote:
What do you mean by 'works'...?
The usual meaning, I think. :-)
Click "Yes" and the program prints True, click "No" and the programs
prints
"Fa
On Thu, 12 Feb 2009 06:06:06 +0100, wrote:
[snip]
My only (minor) complaint is that Tk
doesn't draw text antialiased in the various widgets (menus, labels,
buttons, etc.).
From version 8.5 of tcl/tk, it's supposed to do it. See this page:
http://www.tcl.tk/software/tcltk/8.5.tml
under 'Highlig
On Fri, 28 Nov 2008 04:20:22 +0100, Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote:
If you are not already doing it, you need to make a "stutter thread"
by using the after() call on some gui object to periodically check for
input on the queue.
You don't need to in fact: from the secondary thread
On Tue, 16 Dec 2008 10:00:32 +0100, Gabriel Genellina
wrote:
En Mon, 15 Dec 2008 14:29:31 -0200, cmdrrickhun...@yaho.com
escribió:
PS. In my opinion the solution would be to have the option of entering
a "whitespace insensitive" mode which uses C style {} and ;. The
token to enter it co
On Wed, 07 Jan 2009 20:31:23 +0100, excord80 wrote:
Does Python work with Tk 8.5? I'm manually installing my own Python
2.6.1 (separate from my system's Python 2.5.2), and am about to
install my own Tcl/Tk 8.5 but am unsure how to make them talk to
eachother. Should I install Tk first? If I put
Hello all,
I'm trying out Python 2.6 and I found what might be a bug in the Tkinter
module. How can I report it?
The possible bug is a traceback when trying to delete a menu item in a
menu where no items have associated commands.
For example:
--
from Tkinter im
On Wed, 19 Nov 2008 18:51:03 +0100, Terry Reedy <[EMAIL PROTECTED]> wrote:
Anton Vredegoor wrote:
On Wed, 19 Nov 2008 10:57:53 +0100
"Eric Brunel" <[EMAIL PROTECTED]> wrote:
I'm trying out Python 2.6 and I found what might be a bug in the
Tkinter module. How ca
Hello all,
I've got a brand new Solaris 10 computer and I'm trying to build Python
and extension modules for it. The Python build didn't have any problem and
I have a working Python interpreter. But I can't succeed to build
extension modules depending on external libraries: The compilation
101 - 200 of 253 matches
Mail list logo