[portland] Tkinter Question
joe at burks-family.us
Mon Mar 7 09:12:45 CET 2011
It's hard to answer your first question (I don't think I can answer the
second well) without a little more information. Are you only setting input
widget size when you create the interface or are you changing while it is
displayed? Which input widget are you talking about and what size are you
trying to adjust (are you trying to create a 100x100 pixel checkbutton or a
40x5 character multi-line text widget)? In the simplest case you would use
the "place" geometry manager and tell it exactly where to put the widget and
how large to make it. There are many drawbacks to using the place manager
(for instance you lose automatic resizing when the parent window resizes)
but if this is something that is only going to be used once, it's probably
On Sun, Mar 6, 2011 at 10:04 PM, sean marcia <sean_marcia at yahoo.com> wrote:
> Hey Pythonistas,
> I have a couple questions that I am hoping for some help/advice on.
> I am in the process of coding up a small voting app for a professor of
> mine. The
> app, when completed, will send the students some info which they will vote
> So for example, the student will see something like "You are a member of
> Triangle party. You received advertising from the Circle party. Who do you
> to vote for? Circle, Triangle, Abstain." The admin app which the professor
> use will set the number of iterations for the voting game, the chance of
> advertising, etc.
> So my first question has to do with tkinter which I am using to build the
> Is it possible to adjust the size of input boxes in tkinter?
> Second, I am planning on using xmlrpc for communication. Is this
> I haven't done a lot of gui or networking using python so any advice on the
> easiest and fastest way would be appreciated especially since I am doing
> for free :)
> Thanks in advance!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> Portland mailing list
> Portland at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Portland