logo top
Main Page   Widgets   Namespaces   Book  

Gdk::Device Class Reference

Inheritance diagram for Gdk::Device:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~Device ()
GdkDevice* gobj ()
const GdkDevice* gobj () const
GdkDevice* gobj_copy ()
void set_source (GdkInputSource source)
bool set_mode (InputMode mode)
void set_key (guint index_, guint keyval, ModifierType modifiers)
void set_axis_use (guint index_, AxisUse use)
void get_state (const Glib::RefPtr<Window>& window, double& axes, ModifierType& mask)
bool get_history (const Glib::RefPtr<Window>& window, guint32 start, guint32 stop, GdkTimeCoord**& events, int& n_events)
bool get_axis (double& axes, AxisUse use, double& value) const
 Interprets an array of double as axis values for a given device, and locates the value in the array for a given axis use.


Protected Methods

 Device ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gdk::Device> wrap (GdkDevice* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gdk::Device::~Device (   [virtual]
 

Gdk::Device::Device (   [protected]
 


Member Function Documentation

bool Gdk::Device::get_axis ( double&    axes,
AxisUse    use,
double&    value
const
 

Interprets an array of double as axis values for a given device, and locates the value in the array for a given axis use.

Parameters:
axes Pointer to an array of axes.
use The use to look for.
value Location to store the found value.
Returns:
true if the given axis use was found, otherwies false.

bool Gdk::Device::get_history ( const Glib::RefPtr<Window>&    window,
guint32    start,
guint32    stop,
GdkTimeCoord **&    events,
int&    n_events
 

void Gdk::Device::get_state ( const Glib::RefPtr<Window>&    window,
double&    axes,
ModifierType   mask
 

const GdkDevice* Gdk::Device::gobj (   const [inline]
 

Reimplemented from Glib::ObjectBase.

GdkDevice* Gdk::Device::gobj (   [inline]
 

Reimplemented from Glib::ObjectBase.

GdkDevice* Gdk::Device::gobj_copy (  
 

void Gdk::Device::set_axis_use ( guint    index_,
AxisUse    use
 

void Gdk::Device::set_key ( guint    index_,
guint    keyval,
ModifierType    modifiers
 

bool Gdk::Device::set_mode ( InputMode    mode
 

void Gdk::Device::set_source ( GdkInputSource    source
 


Friends And Related Function Documentation

Glib::RefPtr<Gdk::Device> wrap ( GdkDevice*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001