BeMDI SDK

  CGlyphMenuItem

CGlyphMenuItem::CGlyphMenuItem
Constructor
CGlyphMenuItem(const char *label, BBitmap *glyph_bm, bool isDefaultEntry, BMessage *message=NULL, char shortcut=0, uint32 modifiers=0, BPoint _offset=B_ORIGIN);


Parameters
glyph_bmIcon displayed in front of the label. This class takes responsibilty for the passed object. The caller should not modify the bitmap after it was passed to this method.
isDefaultEntryIf set to true, the label is displayed using a bold font.
_offsetOffset of the label from the default location.


Remarks
The CGlyphMenuItem takes the normal BMenuItem constructor parameters and the additional parameters mentioned in the parameter section.

  Top


© 2000 by 3rd-evolution