Commit 428a5884 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

update to use vala-gen-introspect

2007-10-27  Juerg Billeter  <j@bitron.ch>

	* vapi/packages/atk/, vapi/packages/gdk-2.0/, vapi/packages/gio-2.0/,
	  vapi/packages/gtk+-2.0/, vapi/packages/pango/: update to use
	  vala-gen-introspect

	* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gio-2.0.vapi,
	  vapi/gtk+-2.0.vapi, vapi/pango.vapi: regenerated

svn path=/trunk/; revision=664
parent 0d69e283
2007-10-27 Jürg Billeter <j@bitron.ch>
* vapi/packages/atk/, vapi/packages/gdk-2.0/, vapi/packages/gio-2.0/,
vapi/packages/gtk+-2.0/, vapi/packages/pango/: update to use
vala-gen-introspect
* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gio-2.0.vapi,
vapi/gtk+-2.0.vapi, vapi/pango.vapi: regenerated
2007-10-27 Jürg Billeter <j@bitron.ch>
* vapigen/valavapigen.vala: fix .deps file handling
......
......@@ -7,10 +7,6 @@ namespace Atk {
SCREEN,
WINDOW,
}
[CCode (cprefix = "ATK_HYPERLINK_IS_", cheader_filename = "atk/atk.h")]
public enum HyperlinkStateFlags {
INLINE,
}
[CCode (cprefix = "ATK_KEY_EVENT_", cheader_filename = "atk/atk.h")]
public enum KeyEventType {
PRESS,
......@@ -232,11 +228,59 @@ namespace Atk {
MAX,
BOTH,
}
[CCode (cprefix = "ATK_HYPERLINK_IS_", cheader_filename = "atk/atk.h")]
[Flags]
public enum HyperlinkStateFlags {
INLINE,
}
[CCode (cheader_filename = "atk/atk.h")]
public class Attribute {
public weak string name;
public weak string value;
}
[CCode (cheader_filename = "atk/atk.h")]
public class AttributeSet {
}
[CCode (cheader_filename = "atk/atk.h")]
public class KeyEventStruct {
public int type;
public uint state;
public uint keyval;
public int length;
public weak string string;
public ushort keycode;
public uint timestamp;
}
[CCode (cheader_filename = "atk/atk.h")]
public class PropertyValues {
public weak string property_name;
public weak GLib.Value old_value;
public weak GLib.Value new_value;
}
[CCode (cheader_filename = "atk/atk.h")]
public class State {
public static Atk.StateType type_for_name (string name);
public static weak string type_get_name (Atk.StateType type);
public static Atk.StateType type_register (string name);
}
[CCode (cheader_filename = "atk/atk.h")]
public class TextRange {
public weak Atk.TextRectangle bounds;
public int start_offset;
public int end_offset;
public weak string content;
}
[CCode (cheader_filename = "atk/atk.h")]
public class TextRectangle {
public int x;
public int y;
public int width;
public int height;
}
[CCode (cheader_filename = "atk/atk.h")]
public class GObjectAccessible : Atk.Object {
public static weak Atk.Object for_object (GLib.Object obj);
public weak GLib.Object get_object ();
public static GLib.Type get_type ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Hyperlink : GLib.Object, Atk.Action {
......@@ -244,38 +288,41 @@ namespace Atk {
public virtual int get_n_anchors ();
public virtual weak Atk.Object get_object (int i);
public virtual int get_start_index ();
public static GLib.Type get_type ();
public virtual weak string get_uri (int i);
public bool is_inline ();
public virtual bool is_selected_link ();
public virtual bool is_valid ();
[NoAccessorMethod]
public weak bool selected_link { get; }
public weak int end_index { get; set; }
[NoAccessorMethod]
public weak int number_of_anchors { get; set; }
[NoAccessorMethod]
public weak int number_of_anchors { get; }
public weak int end_index { get; }
public weak int start_index { get; }
public weak bool selected_link { get; set; }
[NoAccessorMethod]
public weak int start_index { get; set; }
public signal void link_activated ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Misc : GLib.Object {
public static weak Atk.Misc get_instance ();
public static GLib.Type get_type ();
public virtual void threads_enter ();
public virtual void threads_leave ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class NoOpObject : Atk.Object, Atk.Component, Atk.Action, Atk.EditableText, Atk.Image, Atk.Selection, Atk.Table, Atk.Text, Atk.Hypertext, Atk.Value, Atk.Document {
public static GLib.Type get_type ();
public class NoOpObject : Atk.Object, Atk.Table, Atk.Action, Atk.Text, Atk.EditableText, Atk.Selection, Atk.Component, Atk.Document, Atk.Hypertext, Atk.Image, Atk.Value {
public NoOpObject (GLib.Object obj);
}
[CCode (cheader_filename = "atk/atk.h")]
public class NoOpObjectFactory : Atk.ObjectFactory {
public static GLib.Type get_type ();
public NoOpObjectFactory ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Object : GLib.Object {
public weak string description;
public weak string name;
public Atk.Role role;
public weak Atk.RelationSet relation_set;
public Atk.Layer layer;
public bool add_relationship (Atk.RelationType relationship, Atk.Object target);
public virtual uint connect_property_change_handler (Atk.PropertyChangeHandler handler);
public virtual weak GLib.SList get_attributes ();
......@@ -287,7 +334,6 @@ namespace Atk {
public virtual weak string get_name ();
public virtual weak Atk.Object get_parent ();
public virtual Atk.Role get_role ();
public static GLib.Type get_type ();
public virtual void initialize (pointer data);
public void notify_state_change (Atk.State state, bool value);
public weak Atk.Object ref_accessible_child (int i);
......@@ -300,62 +346,62 @@ namespace Atk {
public virtual void set_parent (Atk.Object parent);
public virtual void set_role (Atk.Role role);
[NoAccessorMethod]
public weak string atk_object_name_property_name { get; set; }
public weak int accessible_component_layer { get; set; }
[NoAccessorMethod]
public weak string atk_object_name_property_description { get; set; }
public weak int accessible_component_mdi_zorder { get; set; }
[NoAccessorMethod]
public weak Atk.Object atk_object_name_property_parent { get; set; }
public weak string accessible_description { get; set; }
[NoAccessorMethod]
public weak double atk_object_name_property_value { get; set; }
public weak int accessible_hypertext_nlinks { get; set; }
[NoAccessorMethod]
public weak int atk_object_name_property_role { get; set; }
public weak string accessible_name { get; set; }
[NoAccessorMethod]
public weak int atk_object_name_property_component_layer { get; }
public weak Atk.Object accessible_parent { get; set; }
[NoAccessorMethod]
public weak int atk_object_name_property_component_mdi_zorder { get; }
public weak int accessible_role { get; set; }
[NoAccessorMethod]
public weak string atk_object_name_property_table_caption { get; set; }
public weak string accessible_table_caption { get; set; }
[NoAccessorMethod]
public weak Atk.Object atk_object_name_property_table_column_header { get; set; }
public weak Atk.Object accessible_table_caption_object { get; set; }
[NoAccessorMethod]
public weak string atk_object_name_property_table_column_description { get; set; }
public weak string accessible_table_column_description { get; set; }
[NoAccessorMethod]
public weak Atk.Object atk_object_name_property_table_row_header { get; set; }
public weak Atk.Object accessible_table_column_header { get; set; }
[NoAccessorMethod]
public weak string atk_object_name_property_table_row_description { get; set; }
public weak string accessible_table_row_description { get; set; }
[NoAccessorMethod]
public weak Atk.Object atk_object_name_property_table_summary { get; set; }
public weak Atk.Object accessible_table_row_header { get; set; }
[NoAccessorMethod]
public weak Atk.Object atk_object_name_property_table_caption_object { get; set; }
public weak Atk.Object accessible_table_summary { get; set; }
[NoAccessorMethod]
public weak int atk_object_name_property_hypertext_num_links { get; }
public weak double accessible_value { get; set; }
public signal void active_descendant_changed (pointer child);
public signal void children_changed (uint change_index, pointer changed_child);
public signal void focus_event (bool focus_in);
public signal void property_change (Atk.PropertyValues values);
public signal void property_change (pointer values);
public signal void state_change (string name, bool state_set);
public signal void visible_data_changed ();
public signal void active_descendant_changed (pointer child);
}
[CCode (cheader_filename = "atk/atk.h")]
public class ObjectFactory : GLib.Object {
public virtual weak Atk.Object create_accessible (GLib.Object obj);
public virtual GLib.Type get_accessible_type ();
public static GLib.Type get_type ();
public virtual void invalidate ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Registry : GLib.Object {
public weak GLib.HashTable factory_type_registry;
public weak GLib.HashTable factory_singleton_cache;
public weak Atk.ObjectFactory get_factory (GLib.Type type);
public GLib.Type get_factory_type (GLib.Type type);
public static GLib.Type get_type ();
public void set_factory_type (GLib.Type type, GLib.Type factory_type);
}
[CCode (cheader_filename = "atk/atk.h")]
public class Relation : GLib.Object {
public Atk.RelationType relationship;
public void add_target (Atk.Object target);
public Atk.RelationType get_relation_type ();
public weak GLib.PtrArray get_target ();
public static GLib.Type get_type ();
[NoArrayLength]
public Relation (Atk.Object[] targets, int n_targets, Atk.RelationType relationship);
public static Atk.RelationType type_for_name (string name);
......@@ -368,13 +414,13 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h")]
public class RelationSet : GLib.Object {
public weak GLib.PtrArray relations;
public void add (Atk.Relation relation);
public void add_relation_by_type (Atk.RelationType relationship, Atk.Object target);
public bool contains (Atk.RelationType relationship);
public int get_n_relations ();
public weak Atk.Relation get_relation (int i);
public weak Atk.Relation get_relation_by_type (Atk.RelationType relationship);
public static GLib.Type get_type ();
public RelationSet ();
public void remove (Atk.Relation relation);
}
......@@ -388,7 +434,6 @@ namespace Atk {
public bool contains_state (Atk.StateType type);
[NoArrayLength]
public bool contains_states (Atk.StateType[] types, int n_types);
public static GLib.Type get_type ();
public bool is_empty ();
public StateSet ();
public weak Atk.StateSet or_sets (Atk.StateSet compare_set);
......@@ -397,54 +442,6 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h")]
public class Util : GLib.Object {
public static GLib.Type get_type ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Attribute {
public weak string name;
public weak string value;
public static void set_free (GLib.SList attrib_set);
}
[CCode (cheader_filename = "atk/atk.h")]
public class KeyEventStruct {
public int type;
public uint state;
public uint keyval;
public int length;
public weak string string;
public ushort keycode;
public uint timestamp;
}
[CCode (cheader_filename = "atk/atk.h")]
public class PropertyValues {
public weak string property_name;
public weak GLib.Value old_value;
public weak GLib.Value new_value;
}
[CCode (cheader_filename = "atk/atk.h")]
public class TextRange {
public weak Atk.TextRectangle bounds;
public int start_offset;
public int end_offset;
public weak string content;
}
[CCode (cheader_filename = "atk/atk.h")]
public class TextRectangle {
public int x;
public int y;
public int width;
public int height;
}
[CCode (cheader_filename = "atk/atk.h")]
public class Focus {
public static void tracker_init (Atk.EventListenerInit init);
public static void tracker_notify (Atk.Object object);
}
[CCode (cheader_filename = "atk/atk.h")]
public class State {
public static Atk.StateType type_for_name (string name);
public static weak string type_get_name (Atk.StateType type);
public static Atk.StateType type_register (string name);
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Action {
......@@ -454,7 +451,6 @@ namespace Atk {
public abstract weak string get_localized_name (int i);
public abstract int get_n_actions ();
public abstract weak string get_name (int i);
public static GLib.Type get_type ();
public abstract bool set_description (int i, string desc);
}
[CCode (cheader_filename = "atk/atk.h")]
......@@ -467,7 +463,6 @@ namespace Atk {
public abstract int get_mdi_zorder ();
public abstract void get_position (int x, int y, Atk.CoordType coord_type);
public abstract void get_size (int width, int height);
public static GLib.Type get_type ();
public abstract bool grab_focus ();
public abstract weak Atk.Object ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
public abstract void remove_focus_handler (uint handler_id);
......@@ -483,18 +478,16 @@ namespace Atk {
public abstract pointer get_document ();
public abstract weak string get_document_type ();
public weak string get_locale ();
public static GLib.Type get_type ();
public bool set_attribute_value (string attribute_name, string attribute_value);
public signal void load_complete ();
public signal void reload ();
public signal void load_stopped ();
public signal void reload ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface EditableText {
public abstract void copy_text (int start_pos, int end_pos);
public abstract void cut_text (int start_pos, int end_pos);
public abstract void delete_text (int start_pos, int end_pos);
public static GLib.Type get_type ();
public abstract void insert_text (string string, int length, int position);
public abstract void paste_text (int position);
public abstract bool set_run_attributes (GLib.SList attrib_set, int start_offset, int end_offset);
......@@ -503,14 +496,12 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h")]
public interface HyperlinkImpl {
public abstract weak Atk.Hyperlink get_hyperlink ();
public static GLib.Type get_type ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Hypertext {
public abstract weak Atk.Hyperlink get_link (int link_index);
public abstract int get_link_index (int char_index);
public abstract int get_n_links ();
public static GLib.Type get_type ();
public signal void link_selected (int link_index);
}
[CCode (cheader_filename = "atk/atk.h")]
......@@ -519,12 +510,10 @@ namespace Atk {
public abstract weak string get_image_locale ();
public abstract void get_image_position (int x, int y, Atk.CoordType coord_type);
public abstract void get_image_size (int width, int height);
public static GLib.Type get_type ();
public abstract bool set_image_description (string description);
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Implementor {
public static GLib.Type get_type ();
public abstract weak Atk.Object ref_accessible ();
}
[CCode (cheader_filename = "atk/atk.h")]
......@@ -532,7 +521,6 @@ namespace Atk {
public abstract bool add_selection (int i);
public abstract bool clear_selection ();
public abstract int get_selection_count ();
public static GLib.Type get_type ();
public abstract bool is_child_selected (int i);
public abstract weak Atk.Object ref_selection (int i);
public abstract bool remove_selection (int i);
......@@ -544,7 +532,6 @@ namespace Atk {
public abstract weak string get_mime_type (int i);
public abstract int get_n_mime_types ();
public abstract weak GLib.IOChannel get_stream (string mime_type);
public static GLib.Type get_type ();
public abstract weak string get_uri (string mime_type);
}
[CCode (cheader_filename = "atk/atk.h")]
......@@ -566,7 +553,6 @@ namespace Atk {
public abstract int get_selected_columns (int selected);
public abstract int get_selected_rows (int selected);
public abstract weak Atk.Object get_summary ();
public static GLib.Type get_type ();
public abstract bool is_column_selected (int column);
public abstract bool is_row_selected (int row);
public abstract bool is_selected (int row, int column);
......@@ -579,13 +565,13 @@ namespace Atk {
public abstract void set_row_description (int row, string description);
public abstract void set_row_header (int row, Atk.Object header);
public abstract void set_summary (Atk.Object accessible);
public signal void row_inserted (int row, int num_inserted);
public signal void column_inserted (int column, int num_inserted);
public signal void row_deleted (int row, int num_deleted);
public signal void column_deleted (int column, int num_deleted);
public signal void row_reordered ();
public signal void column_inserted (int column, int num_inserted);
public signal void column_reordered ();
public signal void model_changed ();
public signal void row_deleted (int row, int num_deleted);
public signal void row_inserted (int row, int num_inserted);
public signal void row_reordered ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Text {
......@@ -610,14 +596,13 @@ namespace Atk {
public abstract weak string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
public abstract weak string get_text_at_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
public abstract weak string get_text_before_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
public static GLib.Type get_type ();
public abstract bool remove_selection (int selection_num);
public abstract bool set_caret_offset (int offset);
public abstract bool set_selection (int selection_num, int start_offset, int end_offset);
public signal void text_changed (int position, int length);
public signal void text_attributes_changed ();
public signal void text_caret_moved (int location);
public signal void text_changed (int position, int length);
public signal void text_selection_changed ();
public signal void text_attributes_changed ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Value {
......@@ -625,7 +610,6 @@ namespace Atk {
public abstract void get_maximum_value (GLib.Value value);
public abstract void get_minimum_increment (GLib.Value value);
public abstract void get_minimum_value (GLib.Value value);
public static GLib.Type get_type ();
public abstract bool set_current_value (GLib.Value value);
}
[CCode (cheader_filename = "atk/atk.h")]
......@@ -634,17 +618,18 @@ namespace Atk {
public int y;
public int width;
public int height;
public static GLib.Type get_type ();
}
public static delegate void EventListener (Atk.Object obj);
public static delegate void EventListenerInit ();
public static delegate void FocusHandler (Atk.Object arg1, bool arg2);
public static delegate void FocusHandler (Atk.Object p1, bool p2);
public static delegate bool Function (pointer data);
public static delegate int KeySnoopFunc (Atk.KeyEventStruct event, pointer func_data);
public static delegate void PropertyChangeHandler (Atk.Object arg1, Atk.PropertyValues arg2);
public static delegate void PropertyChangeHandler (Atk.Object p1, Atk.PropertyValues p2);
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
public static uint add_global_event_listener (GLib.SignalEmissionHook listener, string event_type);
public static uint add_key_event_listener (Atk.KeySnoopFunc listener, pointer data);
public static void focus_tracker_init (Atk.EventListenerInit init);
public static void focus_tracker_notify (Atk.Object object);
public static weak Atk.Registry get_default_registry ();
public static weak Atk.Object get_focus_object ();
public static weak Atk.Object get_root ();
......
......@@ -117,15 +117,6 @@ namespace Gdk {
LAST_CURSOR,
CURSOR_IS_PIXMAP,
}
[CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
public enum DragAction {
DEFAULT,
COPY,
MOVE,
LINK,
PRIVATE,
ASK,
}
[CCode (cprefix = "GDK_DRAG_PROTO_", cheader_filename = "gdk/gdk.h")]
public enum DragProtocol {
MOTIF,
......@@ -137,31 +128,6 @@ namespace Gdk {
LOCAL,
}
[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
public enum EventMask {
EXPOSURE_MASK,
POINTER_MOTION_MASK,
POINTER_MOTION_HINT_MASK,
BUTTON_MOTION_MASK,
BUTTON1_MOTION_MASK,
BUTTON2_MOTION_MASK,
BUTTON3_MOTION_MASK,
BUTTON_PRESS_MASK,
BUTTON_RELEASE_MASK,
KEY_PRESS_MASK,
KEY_RELEASE_MASK,
ENTER_NOTIFY_MASK,
LEAVE_NOTIFY_MASK,
FOCUS_CHANGE_MASK,
STRUCTURE_MASK,
PROPERTY_CHANGE_MASK,
VISIBILITY_NOTIFY_MASK,
PROXIMITY_IN_MASK,
PROXIMITY_OUT_MASK,
SUBSTRUCTURE_MASK,
SCROLL_MASK,
ALL_EVENTS_MASK,
}
[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
public enum EventType {
NOTHING,
DELETE,
......@@ -249,27 +215,6 @@ namespace Gdk {
NOR,
SET,
}
[CCode (cprefix = "GDK_GC_", cheader_filename = "gdk/gdk.h")]
public enum GCValuesMask {
FOREGROUND,
BACKGROUND,
FONT,
FUNCTION,
FILL,
TILE,
STIPPLE,
CLIP_MASK,
SUBWINDOW,
TS_X_ORIGIN,
TS_Y_ORIGIN,
CLIP_X_ORIGIN,
CLIP_Y_ORIGIN,
EXPOSURES,
LINE_WIDTH,
LINE_STYLE,
CAP_STYLE,
JOIN_STYLE,
}
[CCode (cprefix = "GDK_GRAB_", cheader_filename = "gdk/gdk.h")]
public enum GrabStatus {
SUCCESS,
......@@ -297,12 +242,6 @@ namespace Gdk {
SHARED,
FASTEST,
}
[CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
public enum InputCondition {
READ,
WRITE,
EXCEPTION,
}
[CCode (cprefix = "GDK_MODE_", cheader_filename = "gdk/gdk.h")]
public enum InputMode {
DISABLED,
......@@ -335,27 +274,6 @@ namespace Gdk {
ON_OFF_DASH,
DOUBLE_DASH,
}
[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
public enum ModifierType {
SHIFT_MASK,
LOCK_MASK,
CONTROL_MASK,
MOD1_MASK,
MOD2_MASK,
MOD3_MASK,
MOD4_MASK,
MOD5_MASK,
BUTTON1_MASK,
BUTTON2_MASK,
BUTTON3_MASK,
BUTTON4_MASK,
BUTTON5_MASK,
SUPER_MASK,
HYPER_MASK,
META_MASK,
RELEASE_MASK,
MODIFIER_MASK,
}
[CCode (cprefix = "GDK_NOTIFY_", cheader_filename = "gdk/gdk.h")]
public enum NotifyType {
ANCESTOR,
......@@ -391,12 +309,6 @@ namespace Gdk {
UNSUPPORTED_OPERATION,
FAILED,
}
[CCode (cprefix = "GDK_PIXBUF_FRAME_", cheader_filename = "gdk/gdk.h")]
public enum PixbufFrameAction {
RETAIN,
DISPOSE,
REVERT,
}
[CCode (cprefix = "GDK_PIXBUF_ROTATE_", cheader_filename = "gdk/gdk.h")]
public enum PixbufRotation {
NONE,
......@@ -484,7 +396,137 @@ namespace Gdk {
TRUE_COLOR,
DIRECT_COLOR,
}
[CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
public enum WindowClass {
OUTPUT,
ONLY,
}
[CCode (cprefix = "GDK_WINDOW_EDGE_", cheader_filename = "gdk/gdk.h")]
public enum WindowEdge {
NORTH_WEST,
NORTH,
NORTH_EAST,
WEST,
EAST,
SOUTH_WEST,
SOUTH,
SOUTH_EAST,
}
[CCode (cprefix = "GDK_WINDOW_", cheader_filename = "gdk/gdk.h")]
public enum WindowType {
ROOT,
TOPLEVEL,
CHILD,
DIALOG,
TEMP,
FOREIGN,
}
[CCode (cprefix = "GDK_WINDOW_TYPE_HINT_", cheader_filename = "gdk/gdk.h")]
public enum WindowTypeHint {
NORMAL,
DIALOG,
MENU,
TOOLBAR,
SPLASHSCREEN,
UTILITY,
DOCK,
DESKTOP,
DROPDOWN_MENU,
POPUP_MENU,
TOOLTIP,
NOTIFICATION,
COMBO,
DND,
}
[CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
[Flags]
public enum DragAction {
DEFAULT,
COPY,
MOVE,
LINK,
PRIVATE,
ASK,
}
[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
[Flags]
public enum EventMask {
EXPOSURE_MASK,
POINTER_MOTION_MASK,
POINTER_MOTION_HINT_MASK,
BUTTON_MOTION_MASK,
BUTTON1_MOTION_MASK,
BUTTON2_MOTION_MASK,
BUTTON3_MOTION_MASK,
BUTTON_PRESS_MASK,
BUTTON_RELEASE_MASK,
KEY_PRESS_MASK,
KEY_RELEASE_MASK,
ENTER_NOTIFY_MASK,
LEAVE_NOTIFY_MASK,
FOCUS_CHANGE_MASK,
STRUCTURE_MASK,
PROPERTY_CHANGE_MASK,
VISIBILITY_NOTIFY_MASK,
PROXIMITY_IN_MASK,
PROXIMITY_OUT_MASK,
SUBSTRUCTURE_MASK,
SCROLL_MASK,
ALL_EVENTS_MASK,
}
[CCode (cprefix = "GDK_GC_", cheader_filename = "gdk/gdk.h")]
[Flags]
public enum GCValuesMask {
FOREGROUND,
BACKGROUND,
FONT,
FUNCTION,
FILL,
TILE,
STIPPLE,
CLIP_MASK,
SUBWINDOW,
TS_X_ORIGIN,
TS_Y_ORIGIN,
CLIP_X_ORIGIN,
CLIP_Y_ORIGIN,
EXPOSURES,
LINE_WIDTH,
LINE_STYLE,
CAP_STYLE,
JOIN_STYLE,
}
[CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
[Flags]
public enum InputCondition {
READ,
WRITE,
EXCEPTION,
}
[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
[Flags]
public enum ModifierType {
SHIFT_MASK,