Tao.FreeGlut SDK Documentation

Glut.glutEntryFunc Method 

Sets the mouse enter/leave callback for the current window.

[Visual Basic]
Public Shared Sub glutEntryFunc( _
   ByVal func As EntryCallback _
)
[C#]
public static void glutEntryFunc(
   EntryCallback func
);

Parameters

func
The new entry callback function. See Glut.EntryCallback.

Remarks

glutEntryFunc sets the mouse enter/leave callback for the current window. The state callback parameter is either GLUT_LEFT or GLUT_ENTERED depending on if the mouse pointer has last left or entered the window.

Passing null to glutEntryFunc disables the generation of the mouse enter/leave callback.

Some window systems may not generate accurate enter/leave callbacks.

See Also

Glut Class | Tao.FreeGlut Namespace | Glut.EntryCallback