On Jun 21, 6:36 pm, rantingrick wrote:
> On Jun 21, 12:36 am, Anthony Papillion wrote:
>
> > So I'm trying to add a Listbox to my window. I want it to be the width
> > of my window and the height of my window. I'm using the following
> > code ('root' is my toplevel window):
>
> > gsItems = Listb
Thank you, RantingRick and EB303. Much appreciated and it looks like
it works fine now. Still learning but I am amazed every single day how
simple Python is!
Thanks Again,
Anthony Papillion
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 21, 12:36 am, Anthony Papillion wrote:
> So I'm trying to add a Listbox to my window. I want it to be the width
> of my window and the height of my window. I'm using the following
> code ('root' is my toplevel window):
>
> gsItems = Listbox(root, width=root.winfo_width(),
> height=root.win
On Jun 21, 7:36 am, Anthony Papillion wrote:
> So I'm trying to add a Listbox to my window. I want it to be the width
> of my window and the height of my window. I'm using the following
> code ('root' is my toplevel window):
>
> gsItems = Listbox(root, width=root.winfo_width(),
> height=root.winf
<[EMAIL PROTECTED]> wrote:
> On May 29, 2:02 pm, [EMAIL PROTECTED] wrote:
> > Hi,
> > Is it possible to havedifferentitems in alistboxindifferentcolors? Or is it
justonecolor for all items in alistbox?
> > Thanks
> > Rahul
>
> from Tkinter import *
>
> root = Tk()
> l = Listbox(root)
> l.pack()
On May 30, 6:04 am, [EMAIL PROTECTED] wrote:
> On May 29, 2:02 pm, [EMAIL PROTECTED] wrote:
>
> > Hi,
> > Is it possible to havedifferentitems in alistboxindifferentcolors? Or is it
> > justonecolor for all items in alistbox?
> > Thanks
> > Rahul
>
> from Tkinter import *
>
> root = Tk()
> l = Lis
On May 29, 2:02 pm, [EMAIL PROTECTED] wrote:
> Hi,
> Is it possible to havedifferentitems in alistboxindifferentcolors? Or is it
> justonecolor for all items in alistbox?
> Thanks
> Rahul
from Tkinter import *
root = Tk()
l = Listbox(root)
l.pack()
for x in range(10):
l.insert(END, x)
l.item
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
<[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
You specify text and foreground colour when you make the box,
so I don't think its possible.
- Hendrik
--
http://
On May 29, 12:02 pm, [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
Looks like it has to be the same color and font:
http://www.pythonware.com/library/tkinter/introduct
Gigs_ wrote:
> I have two listbox on frame, and at same time i need to use one option
> from both listbox. But when I click on first than on second listbox
> first get deselected.
>
> How to make this? Is it possiblE?
i found, just need to use exportselection=0
--
http://mail.python.org/mailman
I have two listbox on frame, and at same time i need to use one option from
both
listbox. But when I click on first than on second listbox first get deselected.
How to make this? Is it possiblE?
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
In the meantime, I have produced this evil hack, that takes advantage of the
difference in pixel widths between the space, and either the fullstop or the
single quote...
It will only work if you have quite a lot of space to waste between columns, an
"Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
> "Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
>
> > instead of trying to force the listbox to behave like a multicolumn
> > widget, maybe you could switch to another widget? some alternatives include
> >
> > a Text widget (you have to roll your
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> instead of trying to force the listbox to behave like a multicolumn
> widget, maybe you could switch to another widget? some alternatives include
>
> a Text widget (you have to roll your own selection logic)
I _really_ don't feel strong enough
Hendrik van Rooyen wrote:
> Is there a way to format this so it will line up with *any* font ?
>
> I would prefer not to give up and use a fixed width font - it looks so
> teletypish...
sounds like contradicting requirements to me.
instead of trying to force the listbox to behave like a multi
<[EMAIL PROTECTED]> wrote by email:
Please keep it on the list...
| Hi,
| Hi and Thanks for all your help,everything work.But I have one
| question,in string I am "new",and I don't know how to exactly split:
|
| example:
|
| '-rw-r--r-- 1 [EMAIL PROTECTED]
| v-programs.byethost31.com 2376
<[EMAIL PROTECTED]> wrote:
| Hi,
| Again I need help about tkinter listbox.
|
|
| example:
|
| In listbox must write (imaginary file in server):
|
| ['-rw-r--r-- 1 [EMAIL PROTECTED] vedran.byethost12.com
| 3506 Jun 25 14:40 file.gif']
|
|
| and then when somebody click on file in listbox,
<[EMAIL PROTECTED]> Wrote:
| Hi,
| I need help about Tkinter listbox widget.I want,when somebody click on
| any item(file) in Listbox,then in new Label widget text must be
| selected item from server.
|
| my program (wrong example):
|
| import ftputil
| import Tkinter
| root=Tkinter.Tk()
| f
This isn't an option in the stock Tk listbox or any of the alternatives
I know of offhand (bwidget ListBox, TixTList). The TkTable widget,
which can also display multiple columns, can select different
justifications, either for the whole table, or for single cells.
I've never used TkTable with Pyt
20 matches
Mail list logo