tkFileDialog Question

Discussion in 'Python' started by garyr, Mar 16, 2011.

  1. garyr

    garyr Guest

    tkFileDialog.askdirectory() allows the selection of a directory. In my code
    it displays a line of text at the top of the frame ("Please choose a
    directory, then select OK"). A little below that the current path
    ("C:\Documents and Settings\Owner\My Documents\Python\...") is displayed as
    a string and immediately below that in a small frame the basename of the
    path is displayed. In my case the string showing the path is too long and is
    displayed on two lines, the bottom part of which is obscured by the frame
    displaying the basename. The title text referred to above can be changed by
    means of the title option in the function call but there doesn't appear to
    be an option for the path. Is there some other way the display of the path
    or the frame displaying the basename could be eliminated or moved slightly?
     
    garyr, Mar 16, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephen Boulet

    tkFileDialog without a parent window

    Stephen Boulet, Jul 3, 2003, in forum: Python
    Replies:
    2
    Views:
    486
    klappnase
    Jul 20, 2003
  2. tkFileDialog question

    , May 12, 2005, in forum: Python
    Replies:
    3
    Views:
    400
  3. fransstil
    Replies:
    1
    Views:
    563
  4. Matt Mitchell

    tkFileDialog question

    Matt Mitchell, Nov 13, 2009, in forum: Python
    Replies:
    4
    Views:
    361
    Matt Mitchell
    Nov 16, 2009
  5. Matt Mitchell

    RE: tkFileDialog question

    Matt Mitchell, Nov 13, 2009, in forum: Python
    Replies:
    1
    Views:
    473
Loading...

Share This Page