Haiku API Bindings
SeparatorItem
Not logged in

Documentation | InterfaceKit | SeparatorItem

SYNOPSIS

Perl

use HaikuR1::SeparatorItem;

my $item = HaikuR1::SeparatorItem->new();
$menu->AddItem($item);

Python

from HaikuR1.InterfaceKit import SeparatorItem

item = SeparatorItem()
menu.AddItem(item)

DESCRIPTION

Exposes the BSeparatorItem object.

For more information on SeparatorItem, see the Be Book class description, the Be Book overview, and the Haiku Book class description.

METHODS

Constructor

Creates a SeparatorItem.

Perl

HaikuR1::SeparatorItem->new();
HaikuR1::SeparatorItem->new($archive);

Python

SeparatorItem()
SeparatorItem(archive)

ARCHIVABLE INTERFACE

SeparatorItem inherits the methods and hooks of Archivable.

INVOKER INTERFACE

SeparatorItem inherits the methods and hooks of Invoker.

MENUITEM INTERFACE

SeparatorItem inherits the methods and hooks of MenuItem.

SetEnabled

SeparatorItem overrides this method so that it has no effect; that is, a SeparatorItem can not be enabled.