kean has asked for the wisdom of the Perl Monks concerning the following question:

Is there a chance to add a ribbon menu to a Perl/Tk window? I know with Visual Studio and C# it is no problem to add the RibbonLib.

Replies are listed 'Best First'.
Re: Perl/Tk Ribbon Menu
by zentara (Cardinal) on Feb 26, 2014 at 15:26 UTC
    Would you first explain what you mean by "ribbon menu". What do you actually need to do? I don't use Microsoft. :-)

    UPDATE: On the basis of what is at The story of the ribbon, I would have to say, No, Tk does not support it. :-) heh heh, heh


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      Like this -> http://de.wikipedia.org/wiki/Ribbon
        You probably need something like Visual Studio 5000, only $849, to use that special Microsoft feature. However! On the Tk::Canvas, and Tk::Zinc widgets, you probably could emulate it pretty good, but it would be alot of work. :-)

        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh
Re: Perl/Tk Ribbon Menu
by Tux (Canon) on Feb 26, 2014 at 16:47 UTC

    I'm sure there can be found users that would be very happy with Ribbon-functionality in perl/Tk. Note however that a Ribbon, as you refer to, only works for people that use the application every day and all day. That would probably limit the number of users to those on Windows using the Microsoft product.

    I know people that have Excel, Word, and Outlook (or whatever the name is nowadays) open all day everyday and they praise the Ribbon. I however seldom use Windows, and when I am forced to do so, I loudly curse the Ribbon: it hides *everything* I look for, makes easy things hard to find and things I never use available in a single click. I know that the Ribbon adjusts to the user: it adds what is used most and hides what is never used. That only makes the gap between usability and DWIMMERy wider. Try to do what you do daily in an installation on someone else's computer.

    Things might have changed since I last used it, but one of the first things I look for in a Ribbon is to disable it and get me back the old-style menus: I have never found it and gave up. Not worth my agony.

    Having read this rant, do you still think having a Ribbon in perl/Tk is a good thing to have?


    Enjoy, Have FUN! H.Merijn
      Having read this rant, do you still think having a Ribbon in perl/Tk is a good thing to have?

      Now that I think about it, the ribbon just seems to be a cascading menu, with graphic icons instead of text, which manifests horizontally.

      That would not be that hard to do. Maybe link in to the "balloon" widget's functionality, and insert graphics, on a right click. I could see how that could be a useful tool, but I would want about $849 for it. ;-)


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh
Re: Perl/Tk Ribbon Menu
by Anonymous Monk on Feb 26, 2014 at 15:44 UTC

    Oh, $deity, please do not use a ribbon. What a horrible monstrosity that idea is.

Re: Perl/Tk Ribbon Menu
by Anonymous Monk on Feb 27, 2014 at 01:05 UTC