Back: BLOX.BMenuBar-accessing Up: BLOX package Forward: BLOX.BMenuItem class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.29 BLOX.BMenuItem

Defined in namespace BLOX
Superclass: BLOX.BMenuObject
Category: Graphics-Windows
I am the tiny and humble Menu Item, a single command choice in the menu structure. But if it wasn't for me, nothing could be done... eh eh eh!!

1.29.1 BLOX.BMenuItem class: instance creation  (class)
1.29.2 BLOX.BMenuItem: accessing  (instance)


1.29.1 BLOX.BMenuItem class: instance creation

new: parent
Add a new separator item to the specified menu.

new: parent label: label
Add a new menu item to the specified menu (parent) , with `label' as its caption.


1.29.2 BLOX.BMenuItem: accessing

label
Answer the value of the label option for the widget.

Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as anchor. For windows, this is the title of the window.

label: value
Set the value of the label option for the widget.

Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as anchor. For windows, this is the title of the window.



Back: BLOX.BMenuItem class-instance creation Up: BLOX.BMenuItem Forward: BLOX.BMenuObject   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html