DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmGetMenuCursor(Xm)


XmGetMenuCursor -- a function that returns the cursor ID for the current menu cursor

Syntax

#include <Xm/Xm.h>

Cursor XmGetMenuCursor (display) Display * display;

Description

XmGetMenuCursor queries the menu cursor currently being used by this client on the specified display and returns the cursor ID.

This function returns the menu cursor for the default screen of the display. XmGetMenuCursor is obsolete and exists for compatibility with previous releases. Instead of using this function, call XtGetValues for the XmScreen resource XmNmenuCursor.


display
Specifies the display whose menu cursor is to be queried

Return value

Returns the cursor ID for the current menu cursor or the value None if a cursor is not yet defined. A cursor will not be defined if the application makes this call before the client has created any menus on the specified display.

See also

XmScreen(Xm)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003