Page 12 of 299 FirstFirst ... 210111213142262112 ... LastLast
Results 111 to 120 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #111
    Join Date
    Dec 2004
    Location
    Netherlands
    Beans
    143
    Distro
    Dapper Drake

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by flargen View Post
    I have made a deb for GTK with the newest patch for Ubuntu Edgy. Get it here or here. Also, for the panel applet, you have to copy the attached files to these locations:
    Code:
    sudo mv /path/to/gnome-macmenu-applet /usr/lib/gnome-applets/
    sudo mv /path/to/GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
    Note - Gtk might try to update itself with the unpatched version!

    Thanks a LOT. I can add "Mac Menu" but I don't see a thing. Still got the menus in all applications too. Tried logging out/in.

  2. #112
    Join Date
    Jul 2005
    Beans
    66

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    zAo, I don't mean to sound stupid but - are you sure you actually installed the patched GTK?

  3. #113
    Join Date
    Aug 2006
    Beans
    102

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    multi-head support added to xfce plugin and gnome applet 1.0.1.

    Please help me to test, because I don't have two monitors

  4. #114
    Join Date
    Apr 2005
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    my tiny little suggestion:

    can you define a standard container for the menu?
    this way all the gui toolkits may have a single point of
    reference for using the menu element, and it may allow
    flexibly in defining the menu gui element;

    for example:
    1. radial menu on shortcut key (like in neverwinter nights)
    2. large icons for edit, insert, file, etc on the buttom of the
    screen (for simplified applications).
    3. global menu
    4. per application menu.
    5. menu as stacked of actions in a large round button, like in office 2007
    6. little animated penguins that run away when clicked.



    pseudo code example for a possible container:

    // freedesktop.org menu item standard container
    // 2006, bsd, copyright AqD
    // Mangar_is_a_silly_alias (tm)
    application_menu_container
    {
    app_id; //i don't know if it's necessary (can be suid)
    app_name; //the name of the initializing application.
    app_screen; //the screen (physical / virtual) it's on
    set[menu_element] menuElements; //holds the menu elements (file, edit, etc)
    menu_element
    {
    image; //image for the menuelement (optional)
    name;
    set[menu_element];submenu, commands
    command;// (abstarct - submenu, action, checkbox, whatever)
    }
    }

  5. #115
    Join Date
    Apr 2005
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    forums system doesn't retains tabs, sorry

  6. #116

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    It retains tabs if you use the CODE tag

  7. #117
    Join Date
    Aug 2006
    Beans
    102

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by mangar View Post
    my tiny little suggestion:

    can you define a standard container for the menu?
    this way all the gui toolkits may have a single point of
    reference for using the menu element, and it may allow
    flexibly in defining the menu gui element;

    ...
    Ah, it'd be very difficult to make such changes into current GUI toolkits on X. However, the panel applets/plugins can be made to grab menubars from KDE apps as well (will be done soon). So there won't be any difference as long as you use only the two toolkits

  8. #118
    Join Date
    Aug 2006
    Beans
    102

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Latest changes:
    • gtk2-aqd 2.10.6-4: remove a lot of code for standalone menubar, change to a model similar to that of KDE's. It will need panel plugin/applet to work properly.
    • gnome-macmenu-applet 1.0.2-1, xfce4-macmenu-plugin 1.0.2-1: a lot of changes for the new menubar model.

    These new packages/patches are completely incompatible with previous ones, and you must upgrade them altogether. However there isn't any user-visible change this time

    The new model only provides minimal support for the standalone menubar; it's less problemic but you will be better to use a panel applet for xfce or gnome (if you haven't done so yet)

    Support for KDE's mac menubars will come very soon.

  9. #119
    Join Date
    Apr 2005
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    AqD:
    from the user's point of view, you are correct, and it will
    be wonderful, in the short term.

    in taking a little longer view, having a standard container will
    allow for all the toolkit providers to assign their menus there,
    and therefore:
    1. will lower the burden of maintaining event capturer for each
    menu container type,
    2. will allow support of any toolkit that supports the standard.
    3. will allow for different implementation of the menu -applet,
    perhaps not even in an applet form (like the examples i've given
    previously)
    4. allow for easier porting of software to osX (since there's a
    menu container, the toolkit and the application has less to worry
    about).

    BUT.. that my own, private opinion - you're the developer,
    therefore, ultimate power is yours.. (and the world quakes in fear! )

  10. #120
    Join Date
    Apr 2005
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    i agree, though, that as proof of content, and as a short term
    solution, your implementation is the best for now.
    (modifying all the toolkits shouldn't be your problem)

Page 12 of 299 FirstFirst ... 210111213142262112 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •