4

I know i have to use Granite.Widgets.AboutDialog but how do i create it so it looks exactly like the Noise about dialog?

I can't find how the About dialogue is created in Noise source code.

Any help/pointers welcome.

1 Answer 1

5

The about dialog is part of granite http://valadoc.org/#!api=granite/Granite.Widgets.AboutDialog

The content is filled in the class that is subclassing Granite.Application

http://bazaar.launchpad.net/~elementary-apps/noise/freya/view/head:/src/Noise.vala

Then the about dialog can be launched with "name of you binary" --about

http://bazaar.launchpad.net/~elementary-apps/noise/freya/view/head:/data/noise.desktop

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.