Baul.Menu
Prev | Available Classes | Next

## Baul.Menu

Baul.Menu — Baul.Menu Reference

## Synopsis

    class Baul.Menu(gobject.GObject):
        Baul.Menu()
        def append_item(item)
        def get_items()

## Ancestry

    +-- gobject.GObject
        +-- Baul.Menu

## Description

A Baul.Menu object allows an extension to create sub-menus.

## Constructor

        Baul.Menu()

Creates a new `Baul.Menu` object.

## Public Methods

### Baul.Menu.append_item

        def append_item(item)

`item` : | a `Baul.MenuItem`

Append a `Baul.MenuItem` to a `Baul.Menu`.

### Baul.Menu.get_items

        def get_items()

Returns a list of `Baul.MenuItem` objects attached to the `Baul.Menu`.

Prev | Up | Next
Baul.FileInfo | Home | Baul.MenuItem