X11 Work Bench Toolkit  1.0
__WBMenuPopupWindow__ Struct Reference

structure for managing a popup menu window More...

#include <menu_popup.h>

Data Fields

unsigned int ulTag
 tag indicating I'm a 'Menu Popup' window
 
Window wSelf
 window ID for the Menu Popup window
 
Window wBar
 window ID for the associated Menu Bar window
 
Window wOwner
 window ID for the owner window
 
WBMenupMenu
 a pointer to the associated WBMenu structure
 
int iX
 popup menu 'X' position within the owner's client area
 
int iY
 popup menu 'Y' position within the owner's client area
 
int iWidth
 popup menu width
 
int iHeight
 popup menu height
 
int iColumns
 total number of columns (currently 1)
 
int iVisible
 total number of visible menu items (including separators)
 
int iTop
 index of the 'top' visible menu item (zero-based) for scrolling menus
 
int iSelected
 currently selected menu (for display purposes)
 
int iFlags
 flags that determine behavior (reserved)
 

Detailed Description

structure for managing a popup menu window

Definition for the structure that defines a popup menu window

typedef struct __WBMenuPopupWindow__
{
unsigned int ulTag; // tag indicating I'm a 'Menu Popup' window
Window wSelf; // window ID for the Menu Popup window
Window wBar; // window ID for the associated Menu Bar window
Window wOwner; // window ID for the owner window
WBMenu *pMenu; // a pointer to the associated WBMenu structure
int iX; // popup menu 'X' position within the owner's client area
int iY; // popup menu 'Y' position within the owner's client area
int iWidth; // popup menu width
int iHeight; // popup menu height
int iColumns; // total number of columns (currently 1)
int iVisible; // total number of visible menu items (including separators)
int iTop; // index of the 'top' visible menu item (zero-based) for scrolling menus
int iSelected; // currently selected menu (for display purposes)
int iFlags; // flags that determine behavior (reserved)
} WBMenuPopupWindow; // located at offset 0 in window data
See Also
WBMenu

Definition at line 108 of file menu_popup.h.


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