In article ,
Gabor Urban wrote:
> Hi,
>
> I am quite newbie with Tkinter and I could not find the way to set the
> size of the application. (I could find the method to make it
> resizeable, though :-)) ) Any ideas, suggestions or links to
> references are wellcome.
Usually, the best way is to u
In article
<6849fd3f-5116-4b35-b274-dc76ae39f...@a11g2000pro.googlegroups.com>,
RJB wrote:
> On Feb 16, 12:48 am, Eric Brunel
> wrote:
> > In article ,
> > Doug Epling wrote:
> >
> > > hey, does anyone find the UML useful during Python development of l
In article ,
"Richard D. Moores" wrote:
> I recently wrote some code that prints information about the 'jukugo'
> used in Japanese newspaper articles. A jukugo is a Japanese word
> written with at least 2 kanji. An example of a 2-kanji jukugo is å±æ©
> (kiki -- crisis). I found that I could no
In article ,
Doug Epling wrote:
> hey, does anyone find the UML useful during Python development of larger
> projects?
Well, UML being very Java/C++ oriented, I found out that Python idioms
were really difficult to represent in the diagrams. So I'm using it to a
very small extent and for doc
In article ,
pyt...@bdurham.com wrote:
> Eric,
>
> Besides style support, what are the advantages of ttk.Frame vs.
> Tkinter.Frame?
I'd say none. They are both just containers for other widgets, support
the same layout managers, and so on. For me, using a ttk.Frame is really
just for getting
In article ,
craf wrote:
> Hi.
>
> I use Python 3.1 and Tkinter.ttk 8.5 on Ubuntu 9.10.
>
> CODE:
>
> module:FMain.py
>
> from tkinter import ttk
> from FSecondWindow import *
>
> class App:
> def __init__(self,master):
>
> bu
In article ,
craf wrote:
> Hi.
>
> I use python 3.1 and Tkinter 8.5 in Ubuntu 9.10
>
> I would like to turn a frame into a toolbox,
> ,and for that I read that you can use the command wm manage (window)
>
> The information can be found at:
> http://www.tcl.tk/man/tcl8.5/TkCmd/wm.htm#M39
>
In article ,
Shawn Milochik wrote:
> Also, wxPython automatically looks native Mac, Windows, and Linux.
And so do the recent versions of Tkinter/tcl-tk... In Python, you just
have to use the widgets in the new ttk module. These widgets also have
fewer options than their equivalent in Tkinter,
In article ,
Rustom Mody wrote:
> I am trying to use PyRTF.
>
> I gather that an RTF doc consists of a list of sections, a section
> consists of a list of paras,
> paras seem to be just text (not sure on that one)
They also include a style, not only text.
> Some questions:
>
> When does one
(Top-post corrected; please don't do that, it makes messages very hard
to read via usenet)
In article
<26c363c8-11d7-49b9-a1c1-251ab5ff9...@p22g2000pre.googlegroups.com>,
Jah_Alarm wrote:
> On Aug 17, 7:19 pm, Eric Brunel
> wrote:
> > You have to call update_idletas
In article
<61cbd1cb-bd6d-49aa-818f-d28c46098...@x18g2000pro.googlegroups.com>,
Jah_Alarm wrote:
> I need to display a message box at the click of a button. I od the
> following:
>
> from Tkinter import *
>
> def msg1():
> messagebox.showinfo(message='Have a good day')
>
>
> Button(main
In article
,
Jah_Alarm wrote:
> On Aug 17, 3:32Â am, Eric Brunel
> wrote:
> > In article
> > <993d9560-564d-47f0-b2db-6f0c6404a...@g6g2000pro.googlegroups.com>,
> >
> > Â Jah_Alarm wrote:
> > > hi,
> >
> > > pls help me out with t
In article
<24dc97b3-a8b5-4638-9cf5-a397f1eae...@q16g2000prf.googlegroups.com>,
Jah_Alarm wrote:
> hi, I've already asked this question but so far the progress has been
> small.
>
> I'm running Tkinter. I have some elements on the screen (Labels, most
> importantly) which content has to be upd
In article
<993d9560-564d-47f0-b2db-6f0c6404a...@g6g2000pro.googlegroups.com>,
Jah_Alarm wrote:
> hi,
>
> pls help me out with the following issue: I wrote a function that uses
> a for loop that changes a value of a certain variable each iteration.
> What I want is by clicking a button in GUI
In article
<414ff6dd-73ef-48df-bd2b-080a2c710...@h17g2000pri.googlegroups.com>,
ChrisChia wrote:
> I have this:
> image1 = ImageTk.PhotoImage(file = "c:\\f1.jpg")
> image2 = ImageTk.PhotoImage(file = "c:\\f2.jpg")
>
> imagelist.append(image1)
> imagelist.append(image2)
>
> self.label = tk.La
In article
<72151646-65cb-47bb-bd55-e7eb67577...@z10g2000yqb.googlegroups.com>,
"Eric J. Van der Velden" wrote:
> Hello,
>
> I have,
>
> class C:
> n=0
> def __init__(s):
> __class__.n+=1
>
>
> I do
> >>> C()
>
> This is fine.
No it's not, at least in Pytho
In article
,
ChrisChia wrote:
> Hi i have the following problem with Python Tkinter.
> I switch to switch the image background (which i used Tkinter.Label
> with image arg to display on the GUI).
>
> How can I do that? the callback function which i have created doesn't
> seem to work...
It is
In article <770366ta10gk98vgd5n2tapl7ag6ska...@4ax.com>, John wrote:
> My python is version 2.6.5. Would you recomend I upgrade and if yes
> to which version?
>
>
> from tkinter import ttk
>
> Traceback (most recent call last):
> File "", line 1, in
> from tkinter import ttk
> ImportErro
In article , John wrote:
> As a learning exercise in Tkinter I htought about making a very simple
> and basic file manager for my own use. I tried searching google for
> any sample project and could not find anything. Not exactly sure how
> to start I tought I could ask here?
>
> I thought abou
Diez B. Roggisch wrote:
> Paul Watson schrieb:
>> Has anyone used GNUstep?
>>
>> In addition to Objective-C, there are Java and Ruby bindings.
>>
>> Has anyone created a Python binding to GNUstep?
>
> There is the pyobjc-binding for OSX, maybe that's suitable for GNUStep.
Apparently, it's not: The
Muddy Coder wrote:
> Hi Folks,
>
> When I make Menu, and add in menu items, by using add_command, such
> as:
>
> menuObj.add_command(label='Open File', command=self.open_file)
>
> It works. But, I want to make the GUI looking better. So, I want to
> change color, font, size, background, for the lab
W. eWatson wrote:
> Basically, I'd like to know how one (broadly, e.g., references in Win-land)
> does IP (image processing) and drawing techniques such as rubber lines, and
> dragging image objects across the canvas. I know there are some pretty
> powerful toolkits out there, but I'd like to limit
Muddy Coder wrote:
> Hi Folks,
>
> I copied code from book:
>
> class ScrolledText(Frame):
> def __init__(self, parent=None, text='', file=None):
> Frame.__init__(self, parent)
> self.pack(expand=YES, fill=BOTH)
> self.makeWidgets()
> self.settext(text, file)
>
Muddy Coder wrote:
> Hi Folks,
>
> I have a problem of handling Toplevel window. Basically, I wrote a
> listbox viewer with scrollbars, and saved in file listbo.py. Then in
> my main GUI window, with menu, I need to launch the listbox viewer, in
> a new window. Obviously, a Toplevel window is neede
Alan G Isaac wrote:
[snip]
> On 3/30/2009 3:37 AM Eric Brunel apparently wrote:
>> The Tk instance is registered in a hidden variable in the Tkinter module.
When
>> you don't specify a master, it'll use the latest created Tk instance one by
>> default. BTW, the lates
Alan G Isaac wrote:
> I'm a complete newbie to GUI.
> I have a couple questions about tkinter.
>
> 1. Where is the list of changes
> in Python 3's tkinter?
I'll let someone else answer this as I don't use Python 3 myself. I guess
there are not many.
> 2. What exactly is the role of the root o
Alan G Isaac wrote:
[snip]
> PS If you were also offering an answer to the second question,
> I missed it altogether, but although it is perhaps slightly
> less obvious than with a StringVar, I would ask the same
> basic question of an IntVar: why does it not behave more
> like an int? E.g., why i
(Sorry: replying to the wrong message here, but my newsreader somehow managed
to miss the former post...)
> On Mar 7, 9:40 am, Jani Hakala wrote:
>> > After reading the docs and seeing a few examples i think this should
>> > work ?
>> > Am I forgetting something here or am I doing something stupi
Mr. Z wrote:
> I'm trying emulate a printf() c statement that does, for example
>
> char* name="Chris";
> int age=30;
> printf("My name is %s", name);
> printf("My name is %s and I am %d years old.", %s, %d);
>
> In other words, printf() has a variable arguement list the we
> all know.
>
> I'm tryi
Peter Billam wrote:
>> Peter Billam wrote:
>> window = MainWindow(application)
>> if (len(sys.argv) > 1) and os.path.exists(sys.argv[1]):
>> window.loadFile(sys.argv[1])
>> application.mainloop()
>> File "./midimix", line 465, in loadFile
>> space0.grid(row=grid_row,
>> pady=
On Tue, 24 Feb 2009 05:56:12 +0100, Peter Billam
wrote:
Greetings,
As a newbie, starting with Python3, I'm working my way through Mark
Summerfield's tkinter examples. In the toolbar, there's lines like:
for image, command in (
('images/filenew.gif', self.fileNew),
('ima
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 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 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 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 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
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 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
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 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
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
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'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 Thu, 02 Oct 2008 21:57:01 +0200, kib2 <[EMAIL PROTECTED]> wrote:
Hi,
In a tkinter TextWidget I would like to retrieve the last typed word.
I've tried this with the 'wordstart' Expression [From the effbot site,
"wordstart" and "wordend" moves the index to the beginning (end) of the
curren
On Tue, 23 Sep 2008 15:23:12 +0200, sturlamolden <[EMAIL PROTECTED]>
wrote:
[...]
Would it be possible to post this text to some "persistent" web page with
(links to) the code you wrote in both languages? This would be a very
interesting resource for people experiencing some resistence when
On Wed, 27 Aug 2008 06:50:30 +0200, akineko <[EMAIL PROTECTED]> wrote:
Hello everyone,
I'm trying to create custom Tkinter/Pmw widgets for my project.
After testing my widgets under Unix (Solaris), I have tried them under
Windows and I got a surprise.
The widgets came out differently.
The follo
On Fri, 15 Aug 2008 20:02:36 +0200, Rafe <[EMAIL PROTECTED]> wrote:
[snip]
1) 'Declaring' attributes - I always felt it was good code practice to
declare attributes in a section of the class namespace. I set anything
that is constant but anything variable is set again in __init__():
Class A(obj
On Thu, 14 Aug 2008 04:49:51 +0200, Gerardo ARnaez <[EMAIL PROTECTED]>
wrote:
Hi.
I am writing a program to help determine coumadin regimens
to look at the code: http://sourceforge.net/projects/coumadinregimen/
The issue is that I have a variable that I want the use to select if
they don't li
On Wed, 13 Aug 2008 19:10:47 +0200, Mudcat <[EMAIL PROTECTED]> wrote:
[snip]
I was reading about Tile, and it sounds like I should be able to wrap
a style around my current code to give it a different look. However it
doesn't sound like it's quite ready for prime time yet. I downloaded
the latest
Others have replied to your original question. As an aside, just a few
stylistic notes:
class Score:
def __init__(self, name_, score_):
self.name = name_
self.score = score_
These trailing underscores look like a habit from another language. They
are unneeded in Pyth
On Wed, 06 Aug 2008 06:01:59 +0200, Atul <[EMAIL PROTECTED]> wrote:
Hi,
The snippet :
entryFontDescr = Entry()["font"]
print self.entryFontDescr
On Windows XP it displays
{MS Sans Serif} 8
On Suse Linux 10.2 it used to display
TkTextFont 10
I upgraded to OpenSuse 11 and now it shows
TkTe
On Sun, 29 Jun 2008 13:34:37 +0200, defn noob <[EMAIL PROTECTED]>
wrote:
from Tkinter import *
import os
master = Tk()
w = Canvas(master, width=800, height=600)
print os.path.exists('C:/me/saftarn/desktop/images/blob4.jpg')
im = PhotoImage(file = 'C:/users/saftarn/desktop/images/blob4.jpg')
Preamble: when posting a brand new question, you'd better not replying to
an existing completely unrelated message. In most viewers, this will cause
your message to appear in the thread for the original question and far
less people will see it. So better create a brand new thread.
On Fri, 2
On Fri, 23 May 2008 12:48:56 +0200, > wrote:
"inhahe" <[EMAIL PROTECTED]> writes:
planets are spherical (all implementations of Python are not natively
compiled (and you said for whatever definition)), and b) It's a far cry
to
imagine a planet coming into being that's not spherical (a langua
On Wed, 30 Apr 2008 20:19:32 +0200, blaine <[EMAIL PROTECTED]> wrote:
On Apr 30, 10:41 am, Peter Otten <[EMAIL PROTECTED]> wrote:
blaine wrote:
> Still doesn't work. I'm looking into using wx instead...
> This is the full code - does it work for anyone else? Just do a echo
> 'line 0 0 10 10'
On Wed, 30 Apr 2008 10:58:06 +0200, Robert.Spilleboudt
<[EMAIL PROTECTED]> wrote:
blaine wrote:
Hey everyone!
I'm not very good with Tk, and I am using a very simple canvas to
draw some pictures (this relates to that nokia screen emulator I had a
post about a few days ago).
Anyway, all is
On Tue, 29 Apr 2008 17:09:18 +0200, blaine <[EMAIL PROTECTED]> wrote:
[snip]
I'll try the update() again. I would want to use that on the canvas
itself right? Not the root window?
Well, in fact, there is no difference at all... In tcl/tk, update is a
function, and isn't applied to a particul
On Tue, 29 Apr 2008 15:22:12 +0200, blaine <[EMAIL PROTECTED]> wrote:
Hey everyone!
I'm not very good with Tk, and I am using a very simple canvas to
draw some pictures (this relates to that nokia screen emulator I had a
post about a few days ago).
Anyway, all is well, except one thing. When
On Wed, 16 Apr 2008 14:46:13 +0200, Doran, Harold <[EMAIL PROTECTED]> wrote:
[snip]
> Second, I am trying to work through a couple of the examples and make
> some small tweaks as I go to see how new things can work. In the first
> case, I have copied the code in the book to see how the menu works a
(please avoid top-posting... corrected)
On Mon, 14 Apr 2008 09:08:06 +0200, Penny Y. <[EMAIL PROTECTED]> wrote:
> -邮件原件-
> 发件人: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 代表 Gabriel
> Genellina
> 发送时间: 2008年4月14日 12:59
> 收件人: python-list@python.org
> 主题: Re: how to remove \n in the list
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
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 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 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 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 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 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 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 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 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 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 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 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 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 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, 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 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 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 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 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 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 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 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, 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 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 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 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 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 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 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 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 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, 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 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 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 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 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 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 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 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
1 - 100 of 253 matches
Mail list logo