Hi,
I have a Tk() window "base_win = Tk()" with multiple frames on it
having a combination of widgets. If I click on say a button widget
which launches a new top level window "new_win = TopLevel()", I was
looking for a way for this "new_win" to always stay on top of
"base_win" till I close "new_win
Hi,
Is there a way to resize the width of the "tkMessageBox.askyesno"
dialog box, so that the text does not wrap to the next line.
Thanks
Rahul
--
http://mail.python.org/mailman/listinfo/python-list
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
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
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am using a listbox in selectmode = MULTIPLE, I can get the current
selected item in the listbox from index = "ACTIVE" , but is there a
way to convert this "ACTIVE" to get the current selection index as a
number.
For multiple selectmode listboxes it returns a tuple of selected
indexes, so I w
On May 16, 6:21 am, "Hamilton, William " <[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED]
>
> > Hi,
> > When I call tkFileDialog.askopenfilename() , the dialog box opens with
> > the current directory as the default directory. Is it possible to open
> > the dialog box with a directory other t
Hi,
When I call tkFileDialog.askopenfilename() , the dialog box opens with
the current directory as the default directory. Is it possible to open
the dialog box with a directory other than the current directory. Can
we pass in a user defined starting directory.
Thanks
Rahul
--
http://mail.python
On May 14, 12:01 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I have created a button widget with a button click binding. The button
> > initially has a state=disabled. I can see the greyed out version of
> > the button in the GUI. But If I click on the button it still
I have created a button widget with a button click binding. The button
initially has a state=disabled. I can see the greyed out version of
the button in the GUI. But If I click on the button it still invokes
the callback/binding function.
Any suggestions as to why the callback is being invoked eve
On May 10, 1:29 am, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> On Wed, 09 May 2007 18:37:32 +0200, <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I have developed a GUI usingtkinter(grid geometory manager).
> > The structure is a top frame containing multiple subframes. Each
> > subframe has a combination
On May 8, 6:51 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> > If I have abuttonwidget
>
> > w =Button(root, text = "Button", state = 'disabled')
>
> > How can I get the value of option 'state' from the widget 'w'.
> > I want something like --
>
> > print w.state
On May 9, 10:37 am, [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 placed with a padx
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 placed with a padx and pady
offset with regards to the other subframes. A
On May 8, 2:15 pm, Rob Williscroft <[EMAIL PROTECTED]> wrote:
> wrote innews:[EMAIL PROTECTED]
> comp.lang.python:
>
> > If I have a button widget
>
> > w = Button(root, text = "Button", state = 'disabled')
>
> > How can I get the value of option 'state' from the widget 'w'.
> > I want something l
Hi,
If I have a button widget
w = Button(root, text = "Button", state = 'disabled')
How can I get the value of option 'state' from the widget 'w'.
I want something like --
print w.state >> to print out >> 'disabled'
Thanks
Rahul
--
http://mail.python.org/mailman/listinfo/python-list
On May 6, 2:24 pm, Rob Wolfe <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> > Hi,
> > I guess this is a very trivial question --
> > I am using a label widget to display text (black font in a white
> > background color). I am trying to use my mouse to scroll over the
> > displayed text to
Hi,
I guess this is a very trivial question --
I am using a label widget to display text (black font in a white
background color). I am trying to use my mouse to scroll over the
displayed text to select it, but tkinter does not allow me to do it.
Is there a method/option to do this.
Thanks
Rahul
-
On May 4, 1:55 am, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> 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 listbox
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 item in listbox2 the selected item in
listbox1 loses its highlight. My quest
19 matches
Mail list logo