VBlinkBoxOrButton
Name
VBlinkBoxOrButton - creates a box (button), highlights the box (button)
and unhighlights the box (button).
Synopsis
VBlinkBoxOrButton(win, gc, xloc, yloc, width, height)
Window win;
GC gc;
int xloc, yloc, width, height;
Description
VBlinkBoxOrButton creates a box (button), highlights the box (button)
using the XOR function, sleeps for some time and then unhighlights the
box (button). This button is different from the button created in the
panel (VDisplayPanel) or the ones created by VAddButton. The difference
is these buttons are more simpler and do not have a call back procedure
associated with them.
Return Value
0 - work successfully.
Parameters
win - the ID of the window to draw the box or button.
gc - the GC to be used to draw the same; if no GC is passed it is obtained
from the window ID.
xloc, yloc - the xloc,yloc of the box (button) to be drawn.
width, height - the width,height of the box (button) to be drawn.
Side Effects
None.
Entry Conditions
VCreateColormap should be called earlier, else VBlinkBoxOrButton prints
an error message to the standard error stream, produces a core dump file
and exits from the current process.
Related Functions
VDrawXorBoxOrButton,
VDrawBoxOrButton.