[CCode (has_construct_function = false)]
protected Application ();
}
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_get_type ()")]
+ public class Device : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public Device ();
+ [NoWrapper]
+ public virtual void add_key_grab (Atspi.KeyDefinition kd);
+ public void add_key_watcher ();
+ public Atspi.KeyDefinition get_grab_by_id (uint id);
+ public virtual uint get_locked_modifiers ();
+ public virtual uint get_modifier (int keycode);
+ public virtual bool grab_keyboard ();
+ public virtual uint map_modifier (int keycode);
+ public bool notify_key (bool pressed, int keycode, int keysym, int state, string text);
+ public virtual void remove_key_grab (uint id);
+ public virtual void ungrab_keyboard ();
+ public virtual void unmap_modifier (int keycode);
+ }
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_legacy_get_type ()")]
+ public class DeviceLegacy : Atspi.Device {
+ [CCode (has_construct_function = false)]
+ public DeviceLegacy ();
+ }
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_listener_get_type ()")]
public class DeviceListener : GLib.Object {
public weak GLib.List<void*> callbacks;
[CCode (has_construct_function = false)]
public DeviceListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerSimpleCB callback);
}
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_x11_get_type ()")]
+ public class DeviceX11 : Atspi.Device {
+ [CCode (has_construct_function = false)]
+ public DeviceX11 ();
+ }
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_event_get_type ()")]
[Compact]
public class Event {
public int keycode;
public weak string keystring;
public int keysym;
- public int unused;
+ public uint modifiers;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_match_rule_get_type ()")]
public class MatchRule : GLib.Object {
public delegate void EventListenerCB (owned Atspi.Event event);
[CCode (cheader_filename = "atspi/atspi.h", has_target = false)]
public delegate void EventListenerSimpleCB (owned Atspi.Event event);
+ [CCode (cheader_filename = "atspi/atspi.h", instance_pos = 6.9)]
+ public delegate void KeyCallback (Atspi.Device device, bool pressed, uint keycode, uint keysym, uint modifiers, string keystring);
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COMPONENTLAYER_COUNT")]
public const int COMPONENTLAYER_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COORD_TYPE_COUNT")]
SMART,
STRICT
}
+ [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_FONT_ANTIALIASING_MODE_", has_type_id = false)]
+ public enum FontAntialiasingMode {
+ NONE,
+ GRAYSCALE,
+ RGBA
+ }
+ [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_FONT_HINTING_", has_type_id = false)]
+ public enum FontHinting {
+ NONE,
+ SLIGHT,
+ MEDIUM,
+ FULL
+ }
+ [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_FONT_RGBA_ORDER_", has_type_id = false)]
+ public enum FontRgbaOrder {
+ RGBA,
+ RGB,
+ BGR,
+ VRGB,
+ VBGR
+ }
[CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_LOCATION_ACCURACY_LEVEL_", has_type_id = false)]
public enum LocationAccuracyLevel {
COUNTRY,
public Gdk.GrabStatus keyboard_grab (Goo.CanvasItem item, bool owner_events, uint32 time);
public void keyboard_ungrab (Goo.CanvasItem item, uint32 time);
public static GLib.Array<Goo.CanvasPathCommand?> parse_path_data (string path_data);
- public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint32 time);
+ public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time);
public void pointer_ungrab (Goo.CanvasItem item, uint32 time);
public void register_widget_item (Goo.CanvasWidget witem);
public void render (Cairo.Context cr, Goo.CanvasBounds? bounds, double scale);