EventButton Class Reference

Inheritance diagram for EventButton:

Event List of all members.

Detailed Description

A mouse button event.


Public Member Functions

 this (GdkEvent *event)
 Creates a new EventButton from a GdkEvent.
int getX ()
 Gets the event pointer X value or 0 if the event contains no mouse information.
int getY ()
 Gets the event pointer Y value or 0 if the event contains no mouse information.


Member Function Documentation

int EventButton.getX  ) 
 

Gets the event pointer X value or 0 if the event contains no mouse information.

Returns:
the pointer X values or 0 if the event contains no mouse information

Reimplemented from Event.

int EventButton.getY  ) 
 

Gets the event pointer Y value or 0 if the event contains no mouse information.

Returns:
the pointer Y values or 0 if the event contains no mouse information

Reimplemented from Event.

EventButton.this GdkEvent *  event  ) 
 

Creates a new EventButton from a GdkEvent.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo