user interface - Creating native GtkMenu from Firefox extension -
Is it possible to create the default GTK menu (I do not mean, but the real GTK menu) from the Firefox extension? (And add it to the Firefox window) I would like to work with the Global menu Firefox, which currently does not work due to the lack of original GUI.
If you want to keep your menu in the Firefox window ... I do not know the details, but In X, the normal way is to create an X window (for example, GTK windows) with your GTK menu. Then you should "swallow" Firefox, which does something like all the system utilities (keyword: reprinting x window - should be enough) I think it should be a special XUL element, but I do not see anyone. If you want, you can also create your own GTK window with GTK menu and show it. I think you probably should do this with another thread. It is entirely possible to write an extension in C ++ about your second question, as long as you use Gecko SDK and Geo API, you can then link to any library including GTK. I think you should ask this question one of Mozilla's mailing lists, for example mozilla.dev.extensions (they are listed).
Comments
Post a Comment