mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
d3a7b7502e
Creating a synthetic event requires direct access to the ClutterEvent union members; this access does not map in bindings to high-level languages, especially run-time bindings using GObject-Introspection. It's also midly annoying from C, as it unnecessarily exposes the guts of ClutterEvent - something we might want to fix in the future. http://bugzilla.clutter-project.org/show_bug.cgi?id=2575
25 lines
940 B
C
25 lines
940 B
C
#ifndef __CLUTTER_EVENT_PRIVATE_H__
|
|
#define __CLUTTER_EVENT_PRIVATE_H__
|
|
|
|
#include <clutter/clutter-event.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* Reinjecting queued events for processing */
|
|
void _clutter_process_event (ClutterEvent *event);
|
|
|
|
/* clears the event queue inside the main context */
|
|
void _clutter_clear_events_queue (void);
|
|
void _clutter_clear_events_queue_for_stage (ClutterStage *stage);
|
|
|
|
void _clutter_event_set_platform_data (ClutterEvent *event,
|
|
gpointer data);
|
|
gpointer _clutter_event_get_platform_data (const ClutterEvent *event);
|
|
|
|
void _clutter_event_push (const ClutterEvent *event,
|
|
gboolean do_copy);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __CLUTTER_EVENT_PRIVATE_H__ */
|