Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Gdk::Device Class Reference

#include <device.h>

Inheritance diagram for Gdk::Device:


List of all members.

Detailed Description

A Gdk::Device instance contains a detailed description of an extended input device.

Definition at line 112 of file device.h.

Public Types

typedef GdkDeviceClass BaseClassType
typedef GdkDevice BaseObjectType
typedef Device_Class CppClassType
typedef Device CppObjectType
typedef void(* DestroyNotify )(gpointer data)

Public Member Functions

bool _cpp_destruction_is_in_progress () const
bool get_axis (double &axes, AxisUse use, double &value) const
void * get_data (const QueryQuark &key)
bool get_has_cursor () const
bool get_history (const Glib::RefPtr< Window > &window, guint32 start, guint32 stop, GdkTimeCoord **&events, int &n_events)
InputMode get_mode () const
Glib::ustring get_name () const
template<class PropertyType>
void get_property (const Glib::ustring &property_name, PropertyType &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
 You probably want to use a specific property_*() accessor method instead.
InputSource get_source () const
void get_state (const Glib::RefPtr< Window > &window, double &axes, ModifierType &mask)
const GdkDevice * gobj () const
 Provides access to the underlying C GObject.
GdkDevice * gobj ()
 Provides access to the underlying C GObject.
GObject * gobj_copy () const
GdkDevice * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
virtual void reference () const
void remove_data (const QueryQuark &quark)
void set_axis_use (guint index_, AxisUse use)
void set_data (const Quark &key, void *data, DestroyNotify notify)
void set_data (const Quark &key, void *data)
void set_key (guint index_, guint keyval, ModifierType modifiers)
bool set_mode (InputMode mode)
template<class PropertyType>
void set_property (const Glib::ustring &property_name, const PropertyType &value)
 You probably want to use a specific property_*() accessor method instead.
void set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
 You probably want to use a specific property_*() accessor method instead.
void set_source (InputSource source)
void * steal_data (const QueryQuark &quark)
virtual void unreference () const

Static Public Member Functions

static ObjectBase * _get_current_wrapper (GObject *object)
static GType get_base_type () G_GNUC_CONST
static GType get_type () G_GNUC_CONST

Protected Member Functions

void _set_current_wrapper (GObject *object)
virtual void destroy_notify_ ()
 Device (GdkDevice *castitem)
 Device (const Glib::ConstructParams &construct_params)
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const

Static Protected Member Functions

static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

 Device (const Device &)
Deviceoperator= (const Device &)

Static Private Attributes

static CppClassType device_class_


class Device_Class
class Glib::GSigConnectionNode
class Glib::Object_Class

Related Functions

(Note that these are not member functions.)

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

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index