How to create macOS status menus

  1. 3 months ago

    Mac os Status menus?
    i want creact MAC os Status menus ? But i don't know ?how to do this?
    i saw document,but i don't find any information.
    menu-image-
    -image-

  2. Tim J

    Jul 10 Pre-Release Testers, Xojo Pro Dehydrating in AZ
    Edited 3 months ago

    You will either need to use the "Monkey Bread Software" plugins (the easiest way) or use the macoslib toolkit from github. There is no way to create a status item entry directly within Xojo.

    Monkey Bread Software
    macoslib for Xojo on github

    My Statusbar Menu using the MBS Plugins:
    -image-

  3. Thank yout great.
    but github source have there years.

  4. Dave S

    Jul 10 San Diego, California USA

    @rose B but github source have there years.

    Last I checked, Github maintains a high level of refrigeration, so most (not all) of the code stays reasonable fresh.

  5. Tim J

    Jul 10 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    @Dave S Last I checked, Github maintains a high level of refrigeration, so most (not all) of the code stays reasonable fresh.

    :D

  6. Tim J

    Jul 10 Pre-Release Testers, Xojo Pro Dehydrating in AZ
    Edited 3 months ago

    @rose B Thank yout great.
    but github source have there years.

    The NextStep/Cocoa code for these hasn't changed in may years. However, if you are not comfortable with managing the declares yourself, then I urge you to consider the MBS plugins.

    Here are Christian's original videos on YouTube. They are over 7 years old and he's using the older REAlbasic IDE, but the logic is still the same with today's Xojo.

    https://www.youtube.com/watch?v=5Czlnz-W5o4
    https://www.youtube.com/watch?v=JgYxPldgV84

  7. Christian S

    Jul 11 Pre-Release Testers, Xojo Pro, XDC Speakers Germany

    My Xojo Videos

    And NSStatusItemMBS class.

    You can get a license with OmegaBundle currently.

or Sign Up to reply!