gtkmm 3.16.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes | List of all members
Gdk::TimeCoord Class Reference

A Gdk::TimeCoord instance contains a single event of motion history. More...

`#include <gdkmm/timecoord.h>`

## Public Member Functions

| TimeCoord (GdkTimeCoord* castitem)
guint32 | get_time () const
double | get_value_at_axis (guint index) const
| Gets value at index axis. More...
GdkTimeCoord* | gobj ()
| Provides access to the underlying C object. More...
const GdkTimeCoord* | gobj () const
| Provides access to the underlying C object. More...

## Protected Attributes

GdkTimeCoord* | gobject_

## Detailed Description

A Gdk::TimeCoord instance contains a single event of motion history.

You shouldn't be using it as a standalone object.

## Constructor & Destructor Documentation

Gdk::TimeCoord::TimeCoord | ( | GdkTimeCoord * | castitem | ) |

explicit

## Member Function Documentation

guint32 Gdk::TimeCoord::get_time | ( |  | ) | const

double Gdk::TimeCoord::get_value_at_axis | ( | guint | index | ) | const

Gets value at index axis.

Note
  Gdk::Device::get_n_axes() will tell you how many axes are stored here.

Parameters

  index | Index of an axis from which the value will be taken.

Returns
  A value at index.

GdkTimeCoord* Gdk::TimeCoord::gobj | ( |  | ) |

inline

Provides access to the underlying C object.

const GdkTimeCoord* Gdk::TimeCoord::gobj | ( |  | ) | const

inline

Provides access to the underlying C object.

## Member Data Documentation

GdkTimeCoord* Gdk::TimeCoord::gobject_

protected