This chapter will teach you how to create pop-up menus, menu bars, and toolbars. You will begin by creating each manually, so you learn how the widgets are constructed. This will give you a firm understanding of all of the concepts on which menus and toolbars rely.
After you understand each widget, you will be introduced to
GtkUIManager, which allows you to dynamically create menus and toolbars through custom XML files. Each user interface file is loaded, and each element applied to a corresponding
action object, which tells the item how it will be displayed and how it will act.
In this chapter, you will learn the following: