conformal / gotk3

Go bindings for GTK3
ISC License
471 stars 84 forks source link

GtkApplication application menu? #90

Open juanfgs opened 9 years ago

juanfgs commented 9 years ago

Hi, first of all, thanks for your work on Gotk3, it's really useful.

I'm doing a simple example project (it's on my repos, named tasks), and I want to add an about dialog, but I want to use the application menu a la Gnome application (https://developer.gnome.org/gtk3/3.12/getting-started-app4.png). I see on the C documentation that they use gtk_application_set_app_menu (), but I'm not finding any gtk.Application structure in gotk3 or any related method. Is this yet to be implemented? is there a way I can collaborate with adding this ?

Thanks in advance, and thanks in again for this great resource.

jrick commented 9 years ago

I'd like to support Application and related classes in the future, but it is a big chunk of work. We need GIO bindings first for the menu bindings. Implementing GIO will need to be preceded by restructuring the import paths (a breaking change). I planned this out in #36 but have been unable to find time to dedicate to this.

juanfgs commented 9 years ago

Thank you for your answer, I don't really have much experience working with C, but if I can I'd like to help so I'll be following this closely.

weberc2 commented 9 years ago

Is there no way to abstract out GIO in favor of idiomatic Go APIs? Go IO is already so much better than GIO, it would be sad to back step. On Nov 17, 2014 10:02 AM, "juanfgs" notifications@github.com wrote:

Thank you for your answer, I don't really have much experience working with C, but if I can I'd like to help so I'll be following this closely.

— Reply to this email directly or view it on GitHub https://github.com/conformal/gotk3/issues/90#issuecomment-63326732.