Gnome Developers' Information
<<< Previous |  | Next >>>

# Automatic menu and toolbar creation with GnomeAppHelper

# Introduction

The GnomeAppHelper module lets you easily create menus and tool bars for your application. Instead of having to create all the required widgets by hand, GnomeAppHelper lets you simply create an array of definitions for the items you want in your menu or tool bar. You can then call functions that will turn this array into all the required widgets automatically. The widgets will have all the keyboard accelerators and shortcuts set up correctly for you.

In addition to creating normal menu and tool bar items, GnomeAppHelper lets you quickly create toggle items that work like check boxes, radio items, and lists of help menu entries.

You should use GnomeAppHelper when you want to create menu bars, toolbars, or pop-up menus in your application. GnomeAppHelper makes use of the stock icon mechanism to give these widgets a consistent look.

<<< Previous | Home | Next >>>
libgnomeui |  | A quick example of using GnomeAppHelper