X11 Work Bench Toolkit  1.0
__WBMenuBarWindow__ Struct Reference

structure for defining a menu bar window More...

#include <menu_bar.h>

Data Fields

unsigned int ulTag
 tag indicating I'm a 'Menu Bar' window
 
Window wSelf
 The window ID of the menu bar window.
 
Window wOwner
 The window ID of the owning window.
 
WBMenupMenu
 a pointer to the associated WBMenu structure
 
int iX
 menu bar 'X' position within the owner's client area
 
int iY
 menu bar 'Y' position within the owner's client area
 
int iWidth
 menu bar width
 
int iHeight
 menu bar height
 
int iSelected
 currently selected menu (for internal-only menu UI purposes)
 
int iPrevSel
 previously selected menu item (for internal-only menu UI purposes)
 
int iFlags
 flags that determine behavior (reserved)
 

Detailed Description

structure for defining a menu bar window

Definition for the structure that defines a menu bar window

typedef struct __WBMenuBarWindow__
{
unsigned int ulTag; // tag indicating I'm a 'Menu Bar' window
Window wSelf; // The window ID of the menu bar window
Window wOwner; // The window ID of the owning window
WBMenu *pMenu; // a pointer to the associated WBMenu structure
int iX; // menu bar 'X' position within the owner's client area
int iY; // menu bar 'Y' position within the owner's client area
int iWidth; // menu bar width
int iHeight; // menu bar height
int iSelected; // currently selected menu (for internal-only menu UI purposes)
int iPrevSel; // previously selected menu item (for internal-only menu UI purposes)
int iFlags; // flags that determine behavior (reserved)
See Also
WBMenu

Definition at line 113 of file menu_bar.h.


The documentation for this struct was generated from the following file: