O'Reilly logo

Foundations of GTK+ Development by Andrew Krause

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9Menus and Toolbars

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:

  • How to create pop-up menus, menu bars, and toolbars
  • How to apply keyboard accelerators to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required