Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

GNOME >3.4 Application Menu Support #27

Open
efgee opened this issue Dec 5, 2013 · 9 comments
Open

GNOME >3.4 Application Menu Support #27

efgee opened this issue Dec 5, 2013 · 9 comments

Comments

@efgee
Copy link

efgee commented Dec 5, 2013

Just started to use gotk3 and really think it's the best gtk library for go out there.
Don't know if feature requests should be placed here... I apologize if it's the wrong place for it.

Here it goes:

Is it possible to add support for GNOME 3's Application Menu and Window Menu?

The Application Menu (GMenu) is the one sitting in the GNOME Shell Bar.
Example in C:
"https://developer.gnome.org/gnome-devel-demos/3.5/gmenu.c.html.en"

The Window Menu (MenuButton) is called through a Button (Not a Menu Bar).
Example in C:
https://developer.gnome.org/gnome-devel-demos/3.10/menubutton.c.html.en

It would be awesome if you guys could add these things.

Also: are there any plans to add more widget to it or is it easy for a user to add it?
(like a webkit widget etc.)

Thanks

@raichu
Copy link

raichu commented Dec 5, 2013

This sounds unlikely because it's not a part of gtk3.

@jrick
Copy link
Member

jrick commented Dec 5, 2013

It is: https://developer.gnome.org/gtk3/stable/GtkApplication.html

I am planning on adding GtkApplication support in the future, so gotk3 applications can be further integrated into all sorts of various environments (be it Gnome, OS X, etc.). However, at the moment I don't have any of these environments set up (I just run dwm as my window manager, so I don't see part of the application integrated into my window manager or desktop environment) so I'd be unable to do any extensive testing myself to see that everything works as expected.

@raichu
Copy link

raichu commented Dec 6, 2013

I can't see anything on that page that says it is a part of gtk.
I can only see that gtk can use it.

It appears to me that it's Gnome component.

@dajohi
Copy link
Contributor

dajohi commented Dec 6, 2013

@raichu You are wrong. GtkApplication is indeed GTK API.

@raichu
Copy link

raichu commented Dec 6, 2013

No, it's you who's wrong.

Since when are we talking about GtkApplication?
Your title says "GNOME >3.4 Application Menu Support". The links in your post are to GMenu and MenuButton.
GMenu and GMenuModel are parts of GNOME.

Oh, and if you think you can do this without pulling GNOME stuff, good luck writing the wrappers.

@dajohi
Copy link
Contributor

dajohi commented Dec 6, 2013

Since @jrick mentioned it.

It is not my title. They are not my links. How about some context in your posts?

Why such the blatant negativity?

@raichu
Copy link

raichu commented Dec 8, 2013

Just replace "you title" with "the title". My point stands.

Sorry, I never thought optimism and sunshine would correct a wrong, or move GMenu from GNOME into gtk.

@dajohi
Copy link
Contributor

dajohi commented Dec 8, 2013

So @jrick mentions GtkApplication and provides a webpage link. And you respond with:

"I can't see anything on that page that says it is a part of gtk."

Makes sense.

@raichu
Copy link

raichu commented Dec 10, 2013

The title says "GNOME >3.4 Application Menu Support" and the link is to GMenu which is a part of GNOME, and all of a sudden, you believe it becomes about GtkApplication.

Makes sense. // On it's own line to make the impact better like you. I for myself tremble when I see short sentences on their own lines, since they shine with the illusion of being purely right and brilliant.

Can't touch this. // This one too, I'm so cool.

Anyway, good day. Do/think whatever you want if it makes you feel better. Not interested in this project anymore.

Bye. // I'm on a roll, check mate.

andre-hub added a commit to andre-hub/gotk3 that referenced this issue Feb 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants