Tkinter widget that functions like Explorer "Details" mode?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Douglas Alan

    Tkinter widget that functions like Explorer "Details" mode?

    Does anyone know if there is a widget for Tkinter available somewhere
    that implements something like the Microsoft Explorer View->Details
    mode, or the Apple iTunes track browser, or the Nautilus View as List
    mode? I.e., rows and colums of text, where the column widths can be
    adjusted by the user, and the user can click on a column header to
    sort the rows by that column? Thanks.

    |>oug
  • Logan

    #2
    Re: Tkinter widget that functions like Explorer "Details&q uot; mode?

    On Fri, 21 Nov 2003 19:40:12 -0500, Douglas Alan wrote:
    [color=blue]
    > Does anyone know if there is a widget for Tkinter available somewhere
    > that implements something like the Microsoft Explorer View->Details
    > mode, or the Apple iTunes track browser, or the Nautilus View as List
    > mode? I.e., rows and colums of text, where the column widths can be
    > adjusted by the user, and the user can click on a column header to
    > sort the rows by that column? Thanks.[/color]

    At least among the 'standard' Tk widgets, there is no such widget.

    There are some extensions for Tk, but I doubt that you will find
    such a widget. Normally, Tk widgets are very 'basic' (maybe the
    file dialogs are an exception to this rule) but nevertheless quite
    powerful (see e.g. the Text widget).

    I think, you have to write such a widget yourself (which is in fact
    not so difficult - except for the 'adjustment of the column width').

    L.

    --
    mailto: logan@phreaker( NoSpam).net

    Comment

    • Douglas Alan

      #3
      Re: Tkinter widget that functions like Explorer "Details&q uot; mode?

      Logan <logan@phreaker .nospam> writes:
      [color=blue]
      > I think, you have to write such a widget yourself (which is in fact
      > not so difficult - except for the 'adjustment of the column width').[/color]

      Well, yes, that's the part that's been worrying me.

      |>oug

      Comment

      • klappnase

        #4
        Re: Tkinter widget that functions like Explorer &quot;Details&q uot; mode?

        Douglas Alan <nessus@mit.edu > wrote in message news:<lcllq85lb m.fsf@gaffa.mit .edu>...[color=blue]
        > Logan <logan@phreaker .nospam> writes:
        >[color=green]
        > > I think, you have to write such a widget yourself (which is in fact
        > > not so difficult - except for the 'adjustment of the column width').[/color]
        >
        > Well, yes, that's the part that's been worrying me.
        >
        > |>oug[/color]

        Maybe you could try a Pmw.PanedWidget in combination with a Pmw
        MCListBox (a multi column listbox widget that comes as a contribution
        with Pmw)

        Cheers

        Michael

        Comment

        • Douglas Alan

          #5
          Re: Tkinter widget that functions like Explorer &quot;Details&q uot; mode?

          klappnase@web.d e (klappnase) writes:
          [color=blue]
          > Maybe you could try a Pmw.PanedWidget in combination with a Pmw
          > MCListBox (a multi column listbox widget that comes as a contribution
          > with Pmw)[/color]

          Hmmm, I don't think I could compose a PanedWidget and a
          MultiColunmList box to get the desired funcationality -- putting one
          inside the other would not do the correct thing, but perhaps I could
          do the job by modifying the source code for MultiColunmList box using
          techniques demonstrated within PanedWidget. Thanks for pointing me at
          MultiColunmList box -- I didn't know about it.

          |>oug

          Comment

          • BikeRacer

            #6
            Re: Tkinter widget that functions like Explorer &quot;Details&q uot; mode?

            Douglas Alan <nessus@mit.edu > wrote:
            [color=blue]
            > Does anyone know if there is a widget for Tkinter available somewhere
            > that implements something like the Microsoft Explorer View->Details
            > mode, or the Apple iTunes track browser, or the Nautilus View as List
            > mode? I.e., rows and colums of text, where the column widths can be
            > adjusted by the user, and the user can click on a column header to
            > sort the rows by that column? Thanks.[/color]

            Perhaps you could build something out of the tkTable widget?
            http://sourceforge.net/projects/tktable/ There is a Python wrapper,
            but it is incomplete and out of date. Easy to correct though.

            Comment

            Working...