[TMDIWindow] [Index] [TMenuBar]

Class TMenuBar


File: <toad/menubar.hh>

Super Classes

TRowColumn

Attributes

public TMenuButton *active_button
public bool bCloseAll
public bool bHaveFocus
public bool bLBDown
public TSignal sigActivate

Methods

AddCheck
public TMenuCheck * AddCheck(const string &title, bool set=false)
AddItem
public TMenuItem * AddItem(const string &title)
AddRadio
public TMenuItem * AddRadio(const string &title, int grp, int value, bool set=false)
BgnPulldown
public void BgnPulldown(const string& title)
DropFocus
public void DropFocus()
EndPulldown
public void EndPulldown()
GetFocus
public void GetFocus()
IsActive
public bool IsActive()
SetActive
public void SetActive(TMenuButton*)
Make btn the active button.
  • When no button was active before, TMenuBar grab's the mouse and the keyboard.
  • When 'btn' is NULL and the grab is active it drops the grab.
TMenuBar
public TMenuBar(TWindow *, const string& title=)
menuSelect
public void menuSelect()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project