Git Product home page Git Product logo

Comments (5)

krisgiesing avatar krisgiesing commented on April 29, 2024

The most Flutter-like way to do this is probably to have a MenuBuilder widget (name subject to bikeshedding) that controls an underlying MenuManager class that does the channel communication. Then the menu configuration is set up in the build pipeline the same way as other UI elements.

from flutter-desktop-embedding.

krisgiesing avatar krisgiesing commented on April 29, 2024

Also, just to capture something we discussed out of band: menus get more complex when keyboard shortcuts enter the picture, because keyboard shortcut handling requires coordination with other kinds of input (e.g. IME). So I think this issue is meant to capture menus without shortcuts, and we'll file another issue to track keyboard shortcuts.

from flutter-desktop-embedding.

mrmcq2u avatar mrmcq2u commented on April 29, 2024

GtkUIManager was deprecated in gtk3 and will be removed in 4. AMTK might prove useful to you, it's recently moved to be part of the tepl project.
https://developer.gnome.org/amtk/unstable/amtk-intro.html
https://developer.gnome.org/tepl/stable/amtk.html

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 29, 2024

Retitling to reflect the remaining scope.

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 29, 2024

PR #130 fixed this (in the limited way we can using GLFW); just forgot to close this.

from flutter-desktop-embedding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.