How it works...

First, we can easily check that the icon appears. See the following screenshot, and compare it with the very first screenshot in this chapter:

Our app now has its own icon, possibly not too exclusive or original, but better than nothing

Now, let's look at the menu. It has our options, including the shortcuts:

Our app now also has a menu, as any self-respecting app should

Then, if we select an option (let's say Uruguay) with either the mouse or the global shortcut, the screen correctly loads the expected regions:

The menu entries work as expected; we can use the Uruguay option to see my country's 19 departments

Finally, let's see if the notifications work as expected. If we click on the Save regions to disk button and select a file, we'll see a notification, as in the following screenshot:

Saving a file now shows a notification; in this case, for Linux with KDE

We've now seen how to expand our browser page to include Node features and windowing native functions. Now, let's go back to more basic requirements, and learn how to test and debug our code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.98.208