Mercurial > projects > dwt-linux
diff dwt/internal/gtk/OS.d @ 59:8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 12 Jan 2008 08:44:23 +0100 |
parents | 8f049b136add |
children | 6537a52fde85 |
line wrap: on
line diff
--- a/dwt/internal/gtk/OS.d Sat Jan 12 07:02:08 2008 +0100 +++ b/dwt/internal/gtk/OS.d Sat Jan 12 08:44:23 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. * The contents of this file are made available under the terms * of the GNU Lesser General Public License (LGPL) Version 2.1 that @@ -245,470 +245,470 @@ public class OS : Platform { /** OS Constants */ - public static /*const*/ bool IsAIX, IsSunOS, IsLinux, IsHPUX; - public static void static_this() { - /* Initialize the OS flags and locale constants */ - char[] osName = "Linux";//System.getProperty ("os.name"); - bool isAIX = false, isSunOS = false, isLinux = false, isHPUX = false; - if (osName == "Linux") isLinux = true; - if (osName == "AIX") isAIX = true; - if (osName == "Solaris") isSunOS = true; - if (osName == "SunOS") isSunOS = true; - if (osName == "HP-UX") isHPUX = true; - IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; + public static /*const*/ bool IsAIX, IsSunOS, IsLinux, IsHPUX; + public static void static_this() { + /* Initialize the OS flags and locale constants */ + char[] osName = "Linux";//System.getProperty ("os.name"); + bool isAIX = false, isSunOS = false, isLinux = false, isHPUX = false; + if (osName == "Linux") isLinux = true; + if (osName == "AIX") isAIX = true; + if (osName == "Solaris") isSunOS = true; + if (osName == "SunOS") isSunOS = true; + if (osName == "HP-UX") isHPUX = true; + IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; //PORTING_LEFT GTK_VERSION = buildVERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version()); - } + } - /** Constants */ - public static const int ATK_RELATION_LABELLED_BY = 4; - public static const int G_SIGNAL_MATCH_DATA = 1 << 4; - public static const int G_SIGNAL_MATCH_ID = 1 << 0; - public static const int GDK_2BUTTON_PRESS = 0x5; - public static const int GDK_3BUTTON_PRESS = 0x6; - public static const int GDK_ACTION_COPY = 1 << 1; - public static const int GDK_ACTION_MOVE = 1 << 2; - public static const int GDK_ACTION_LINK = 1 << 3; - public static const int GDK_Alt_L = 0xffe9; - public static const int GDK_Alt_R = 0xffea; - public static const int GDK_AND = 4; - public static const int GDK_BackSpace = 0xff08; - public static const int GDK_BOTTOM_LEFT_CORNER = 0xc; - public static const int GDK_BOTTOM_RIGHT_CORNER = 0xe; - public static const int GDK_BOTTOM_SIDE = 0x10; - public static const int GDK_BUTTON1_MASK = 0x100; - public static const int GDK_BUTTON2_MASK = 0x200; - public static const int GDK_BUTTON3_MASK = 0x400; - public static const int GDK_BUTTON_MOTION_MASK = 1 << 4; - public static const int GDK_BUTTON1_MOTION_MASK = 1 << 5; - public static const int GDK_BUTTON2_MOTION_MASK = 1 << 6; - public static const int GDK_BUTTON3_MOTION_MASK = 1 << 7; - public static const int GDK_BUTTON_PRESS = 0x4; - public static const int GDK_BUTTON_PRESS_MASK = 0x100; - public static const int GDK_BUTTON_RELEASE = 0x7; - public static const int GDK_BUTTON_RELEASE_MASK = 0x200; - public static const int GDK_CAP_BUTT = 0x1; - public static const int GDK_CAP_PROJECTING = 3; - public static const int GDK_CAP_ROUND = 0x2; - public static const int GDK_COLORSPACE_RGB = 0; - public static const int GDK_CONFIGURE = 13; - public static const int GDK_CONTROL_MASK = 0x4; - public static const int GDK_COPY = 0x0; - public static const int GDK_CROSS = 0x1e; - public static const int GDK_CROSSING_NORMAL = 0; - public static const int GDK_CROSSING_GRAB = 1; - public static const int GDK_CROSSING_UNGRAB = 2; - public static const int GDK_Break = 0xff6b; - public static const int GDK_Cancel = 0xff69; - public static const int GDK_Caps_Lock = 0xffE5; - public static const int GDK_Clear = 0xff0B; - public static const int GDK_Control_L = 0xffe3; - public static const int GDK_Control_R = 0xffe4; - public static const int GDK_CURRENT_TIME = 0x0; - public static const int GDK_DECOR_BORDER = 0x2; - public static const int GDK_DECOR_MAXIMIZE = 0x40; - public static const int GDK_DECOR_MENU = 0x10; - public static const int GDK_DECOR_MINIMIZE = 0x20; - public static const int GDK_DECOR_RESIZEH = 0x4; - public static const int GDK_DECOR_TITLE = 0x8; - public static const int GDK_DOUBLE_ARROW = 0x2a; - public static const int GDK_Delete = 0xffff; - public static const int GDK_Down = 0xff54; - public static const int GDK_ENTER_NOTIFY_MASK = 0x1000; - public static const int GDK_ENTER_NOTIFY = 10; - public static const int GDK_EVEN_ODD_RULE = 0; - public static const int GTK_EXPANDER_COLAPSED = 0; - public static const int GTK_EXPANDER_SEMI_COLLAPSED = 1; - public static const int GTK_EXPANDER_SEMI_EXPANDED = 2; - public static const int GTK_EXPANDER_EXPANDED = 3; - public static const int GDK_EXPOSE = 2; - public static const int GDK_EXPOSURE_MASK = 0x2; - public static const int GDK_End = 0xff57; - public static const int GDK_Escape = 0xff1b; - public static const int GDK_F1 = 0xffbe; - public static const int GDK_F10 = 0xffc7; - public static const int GDK_F11 = 0xffc8; - public static const int GDK_F12 = 0xffc9; - public static const int GDK_F13 = 0xffca; - public static const int GDK_F14 = 0xffcb; - public static const int GDK_F15 = 0xffcc; - public static const int GDK_F2 = 0xffbf; - public static const int GDK_F3 = 0xffc0; - public static const int GDK_F4 = 0xffc1; - public static const int GDK_F5 = 0xffc2; - public static const int GDK_F6 = 0xffc3; - public static const int GDK_F7 = 0xffc4; - public static const int GDK_F8 = 0xffc5; - public static const int GDK_F9 = 0xffc6; - public static const int GDK_FLEUR = 0x34; - public static const int GDK_FOCUS_CHANGE = 0xc; - public static const int GDK_FOCUS_CHANGE_MASK = 0x4000; - public static const int GDK_GC_CLIP_MASK = 0x80; - public static const int GDK_GC_CLIP_X_ORIGIN = 0x800; - public static const int GDK_GC_CLIP_Y_ORIGIN = 0x1000; - public static const int GDK_GRAB_SUCCESS = 0x0; - public static const int GDK_HAND2 = 0x3c; - public static const int GDK_Help = 0xFF6A; - public static const int GDK_HINT_MIN_SIZE = 1 << 1; - public static const int GDK_Home = 0xff50; - public static const int GDK_INCLUDE_INFERIORS = 0x1; - public static const int GDK_INPUT_ONLY = 1; - public static const int GDK_INTERP_BILINEAR = 0x2; - public static const int GDK_Insert = 0xff63; - public static const int GDK_ISO_Left_Tab = 0xfe20; - public static const int GDK_JOIN_MITER = 0x0; - public static const int GDK_JOIN_ROUND = 0x1; - public static const int GDK_JOIN_BEVEL = 0x2; - public static const int GDK_KEY_PRESS = 0x8; - public static const int GDK_KEY_PRESS_MASK = 0x400; - public static const int GDK_KEY_RELEASE = 0x9; - public static const int GDK_KEY_RELEASE_MASK = 0x800; - public static const int GDK_KP_0 = 0xffb0; - public static const int GDK_KP_1 = 0xffb1; - public static const int GDK_KP_2 = 0xffb2; - public static const int GDK_KP_3 = 0xffb3; - public static const int GDK_KP_4 = 0xffb4; - public static const int GDK_KP_5 = 0xffb5; - public static const int GDK_KP_6 = 0xffb6; - public static const int GDK_KP_7 = 0xffb7; - public static const int GDK_KP_8 = 0xffb8; - public static const int GDK_KP_9 = 0xffb9; - public static const int GDK_KP_Add = 0xffab; - public static const int GDK_KP_Decimal = 0xffae; - public static const int GDK_KP_Delete = 0xFF9F; - public static const int GDK_KP_Divide = 0xffaf; - public static const int GDK_KP_Down = 0xFF99; - public static const int GDK_KP_End = 0xFF9C; - public static const int GDK_KP_Enter = 0xff8d; - public static const int GDK_KP_Equal = 0xffbd; - public static const int GDK_KP_Home = 0xFF95; - public static const int GDK_KP_Insert = 0xFF9E; - public static const int GDK_KP_Left = 0xFF96; - public static const int GDK_KP_Multiply = 0xffaa; - public static const int GDK_KP_Page_Down = 0xFF9B; - public static const int GDK_KP_Page_Up = 0xFF9A; - public static const int GDK_KP_Right = 0xFF98; - public static const int GDK_KP_Subtract = 0xffad; - public static const int GDK_KP_Up = 0xFF97; - public static const int GDK_LEAVE_NOTIFY = 11; - public static const int GDK_LEAVE_NOTIFY_MASK = 0x2000; - public static const int GDK_LEFT_PTR = 0x44; - public static const int GDK_LEFT_SIDE = 0x46; - public static const int GDK_LINE_ON_OFF_DASH = 0x1; - public static const int GDK_LINE_SOLID = 0x0; - public static const int GDK_Linefeed = 0xff0A; - public static const int GDK_LSB_FIRST = 0x0; - public static const int GDK_Left = 0xff51; - public static const int GDK_Meta_L = 0xFFE7; - public static const int GDK_Meta_R = 0xFFE8; - public static const int GDK_MAP = 14; - public static const int GDK_MOD1_MASK = 0x8; - public static const int GDK_MOTION_NOTIFY = 0x3; - public static const int GDK_NO_EXPOSE = 30; - public static const int GDK_NONE = 0; - public static const int GDK_NOTIFY_INFERIOR = 2; - public static const int GDK_Num_Lock = 0xFF7F; - public static const int GDK_OVERLAP_RECTANGLE_OUT = 0x1; - public static const int GDK_PIXBUF_ALPHA_BILEVEL = 0x0; - public static const int GDK_POINTER_MOTION_HINT_MASK = 0x8; - public static const int GDK_POINTER_MOTION_MASK = 0x4; - public static const int GDK_PROPERTY_NOTIFY = 16; - public static const int GDK_Page_Down = 0xff56; - public static const int GDK_Page_Up = 0xff55; - public static const int GDK_Pause = 0xff13; - public static const int GDK_Print = 0xff61; - public static const int GDK_QUESTION_ARROW = 0x5c; - public static const int GDK_RGB_DITHER_NORMAL = 0x1; - public static const int GDK_RIGHT_SIDE = 0x60; - public static const int GDK_Return = 0xff0d; - public static const int GDK_Right = 0xff53; - public static const int GDK_space = 0x20; - public static const int GDK_SB_H_DOUBLE_ARROW = 0x6c; - public static const int GDK_SB_UP_ARROW = 0x72; - public static const int GDK_SB_V_DOUBLE_ARROW = 0x74; - public static const int GDK_SCROLL_UP = 0; - public static const int GDK_SCROLL_DOWN = 1; - public static const int GDK_SCROLL_LEFT = 2; - public static const int GDK_SCROLL_RIGHT = 3; - public static const int GDK_SELECTION_CLEAR = 17; - public static const int GDK_SELECTION_NOTIFY = 19; - public static const int GDK_SELECTION_REQUEST = 18; - public static const int GDK_SHIFT_MASK = 0x1; - public static const int GDK_SIZING = 0x78; - public static const int GDK_STIPPLED = 0x2; - public static const int GDK_TILED = 0x1; - public static const int GDK_Shift_L = 0xffe1; - public static const int GDK_Shift_R = 0xffe2; - public static const int GDK_SCROLL = 31; - public static const int GDK_Scroll_Lock = 0xff14; - public static const int GDK_TOP_LEFT_CORNER = 0x86; - public static const int GDK_TOP_RIGHT_CORNER = 0x88; - public static const int GDK_TOP_SIDE = 0x8a; - public static const int GDK_Tab = 0xff09; - public static const int GDK_Up = 0xff52; - public static const int GDK_WATCH = 0x96; - public static const int GDK_XOR = 0x2; - public static const int GDK_XTERM = 0x98; - public static const int GDK_X_CURSOR = 0x0; - public static const int GDK_VISIBILITY_FULLY_OBSCURED = 2; - public static const int GDK_VISIBILITY_NOTIFY_MASK = 1 << 17; - public static const int GDK_WINDOW_CHILD = 2; - public static const int GDK_WINDOW_STATE_ICONIFIED = 1 << 1; - public static const int GDK_WINDOW_STATE_MAXIMIZED = 1 << 2; - public static const int GTK_ACCEL_VISIBLE = 0x1; - public static const int GTK_ARROW_DOWN = 0x1; - public static const int GTK_ARROW_LEFT = 0x2; - public static const int GTK_ARROW_RIGHT = 0x3; - public static const int GTK_ARROW_UP = 0x0; - public static const int GTK_CALENDAR_SHOW_HEADING = 1 << 0; - public static const int GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1; - public static const int GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2; - public static const int GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3; - public static const int GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4; - public static const int GTK_CAN_DEFAULT = 0x2000; - public static const int GTK_CAN_FOCUS = 0x800; - public static const int GTK_CELL_RENDERER_MODE_ACTIVATABLE = 1; - public static const int GTK_CELL_RENDERER_SELECTED = 1 << 0; - public static const int GTK_CELL_RENDERER_FOCUSED = 1 << 4; - public static const int GTK_CLIST_SHOW_TITLES = 0x4; - public static const int GTK_CORNER_TOP_LEFT = 0x0; - public static const int GTK_CORNER_TOP_RIGHT = 0x2; - public static const int GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1; - public static const int GTK_DIALOG_MODAL = 1 << 0; - public static const int GTK_DIR_TAB_FORWARD = 0; - public static const int GTK_DIR_TAB_BACKWARD = 1; - public static const int GTK_FILE_CHOOSER_ACTION_OPEN = 0; - public static const int GTK_FILE_CHOOSER_ACTION_SAVE = 1; - public static const int GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER = 2; - public static const int GTK_HAS_FOCUS = 1 << 12; - public static const int GTK_ICON_SIZE_MENU = 1; - public static const int GTK_ICON_SIZE_SMALL_TOOLBAR = 2; - public static const int GTK_ICON_SIZE_LARGE_TOOLBAR = 3; - public static const int GTK_ICON_SIZE_DIALOG = 6; - public static const int GTK_JUSTIFY_CENTER = 0x2; - public static const int GTK_JUSTIFY_LEFT = 0x0; - public static const int GTK_JUSTIFY_RIGHT = 0x1; - public static const int GTK_MAPPED = 1 << 7; - public static const int GTK_MESSAGE_INFO = 0; - public static const int GTK_MESSAGE_WARNING = 1; - public static const int GTK_MESSAGE_QUESTION = 2; - public static const int GTK_MESSAGE_ERROR = 3; - public static const int GTK_NO_WINDOW = 1 << 5; - public static const int GTK_ORIENTATION_HORIZONTAL = 0x0; - public static const int GTK_ORIENTATION_VERTICAL = 0x1; - public static const int GTK_PACK_END = 1; - public static const int GTK_PACK_START = 0; - public static const int GTK_POLICY_ALWAYS = 0x0; - public static const int GTK_POLICY_AUTOMATIC = 0x1; - public static const int GTK_POLICY_NEVER = 0x2; - public static const int GTK_POS_TOP = 0x2; - public static const int GTK_POS_BOTTOM = 0x3; - public static const int GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0; - public static const int GTK_PRINT_CAPABILITY_COPIES = 1 << 1; - public static const int GTK_PRINT_CAPABILITY_COLLATE = 1 << 2; - public static const int GTK_PRINT_CAPABILITY_REVERSE = 1 << 3; - public static const int GTK_PRINT_CAPABILITY_SCALE = 1 << 4; - public static const int GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5; - public static const int GTK_PRINT_CAPABILITY_GENERATE_PS = 1 << 6; - public static const int GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7; - public static const int GTK_PRINT_PAGES_ALL = 0; - public static const int GTK_PRINT_PAGES_CURRENT = 1; - public static const int GTK_PRINT_PAGES_RANGES = 2; - public static const int GTK_PROGRESS_CONTINUOUS = 0x0; - public static const int GTK_PROGRESS_DISCRETE = 0x1; - public static const int GTK_PROGRESS_LEFT_TO_RIGHT = 0x0; - public static const int GTK_PROGRESS_BOTTOM_TO_TOP = 0x2; - public static const int GTK_REALIZED = 1 << 6; - public static const int GTK_RELIEF_NONE = 0x2; - public static const int GTK_RELIEF_NORMAL = 0; - public static const int GTK_RC_BG = 1 << 1; - public static const int GTK_RC_FG = 1 << 0; - public static const int GTK_RC_TEXT = 1 << 2; - public static const int GTK_RC_BASE = 1 << 3; - public static const int GTK_RESPONSE_APPLY = 0xfffffff6; - public static const int GTK_RESPONSE_CANCEL = 0xfffffffa; - public static const int GTK_RESPONSE_OK = 0xfffffffb; - public static const int GTK_SCROLL_NONE = 0; - public static const int GTK_SCROLL_JUMP = 1; - public static const int GTK_SCROLL_STEP_BACKWARD = 2; - public static const int GTK_SCROLL_STEP_FORWARD = 3; - public static const int GTK_SCROLL_PAGE_BACKWARD = 4; - public static const int GTK_SCROLL_PAGE_FORWARD = 5; - public static const int GTK_SCROLL_STEP_UP = 6; - public static const int GTK_SCROLL_STEP_DOWN = 7; - public static const int GTK_SCROLL_PAGE_UP = 8; - public static const int GTK_SCROLL_PAGE_DOWN = 9; - public static const int GTK_SCROLL_STEP_LEFT = 10; - public static const int GTK_SCROLL_STEP_RIGHT = 11; - public static const int GTK_SCROLL_PAGE_LEFT = 12; - public static const int GTK_SCROLL_PAGE_RIGHT = 13; - public static const int GTK_SCROLL_START = 14; - public static const int GTK_SCROLL_END = 15; - public static const int GTK_SELECTION_BROWSE = 0x2; - public static const int GTK_SELECTION_MULTIPLE = 0x3; - public static const int GTK_SENSITIVE = 0x200; - public static const int GTK_SHADOW_ETCHED_IN = 0x3; - public static const int GTK_SHADOW_ETCHED_OUT = 0x4; - public static const int GTK_SHADOW_IN = 0x1; - public static const int GTK_SHADOW_NONE = 0x0; - public static const int GTK_SHADOW_OUT = 0x2; - public static const int GTK_STATE_ACTIVE = 0x1; - public static const int GTK_STATE_INSENSITIVE = 0x4; - public static const int GTK_STATE_NORMAL = 0x0; - public static const int GTK_STATE_PRELIGHT = 0x2; - public static const int GTK_STATE_SELECTED = 0x3; - public static const int GTK_TEXT_DIR_LTR = 1; - public static const int GTK_TEXT_DIR_NONE = 0 ; - public static const int GTK_TEXT_DIR_RTL = 2; - public static const int GTK_TEXT_WINDOW_TEXT = 2; - public static const int GTK_TOOLBAR_CHILD_BUTTON = 0x1; - public static const int GTK_TOOLBAR_CHILD_RADIOBUTTON = 0x3; - public static const int GTK_TOOLBAR_CHILD_TOGGLEBUTTON = 0x2; - public static const int GTK_TREE_VIEW_COLUMN_GROW_ONLY = 0; - public static const int GTK_TREE_VIEW_COLUMN_AUTOSIZE = 1; - public static const int GTK_TREE_VIEW_COLUMN_FIXED = 2; - public static const int GTK_TREE_VIEW_DROP_BEFORE = 0; - public static const int GTK_TREE_VIEW_DROP_AFTER = 1; - public static const int GTK_TREE_VIEW_DROP_INTO_OR_BEFORE = 2; - public static const int GTK_TREE_VIEW_DROP_INTO_OR_AFTER = 3; - public static const int GDK_UNMAP = 15; - public static const int GTK_UNIT_PIXEL = 0; - public static const int GTK_UNIT_POINTS = 1; - public static const int GTK_UNIT_INCH = 2; - public static const int GTK_UNIT_MM = 3; - public static const int GTK_VISIBILITY_FULL = 0x2; - public static const int GTK_VISIBILITY_NONE = 0x0; - public static const int GTK_VISIBLE = 0x100; - public static const int GDK_WA_X = 1 << 2; - public static const int GDK_WA_Y = 1 << 3; - public static const int GDK_WA_VISUAL = 1 << 6; - public static const int GTK_WINDOW_POPUP = 0x1; - public static const int GTK_WINDOW_TOPLEVEL = 0x0; - public static const int GDK_WINDOW_TYPE_HINT_DIALOG = 1; - public static const int GTK_WRAP_NONE = 0; - public static const int GTK_WRAP_WORD = 2; - public static const int G_LOG_FLAG_FATAL = 0x2; - public static const int G_LOG_FLAG_RECURSION = 0x1; - public static const int G_LOG_LEVEL_MASK = 0xfffffffc; - public static const int None = 0; - public static const int PANGO_ALIGN_LEFT = 0; - public static const int PANGO_ALIGN_CENTER = 1; - public static const int PANGO_ALIGN_RIGHT = 2; - public static const int PANGO_DIRECTION_LTR = 0; - public static const int PANGO_DIRECTION_RTL = 1; - public static const int PANGO_SCALE = 1024; - public static const int PANGO_STRETCH_NORMAL = 0x4; - public static const int PANGO_STYLE_ITALIC = 0x2; - public static const int PANGO_STYLE_NORMAL = 0x0; - public static const int PANGO_STYLE_OBLIQUE = 0x1; - public static const int PANGO_TAB_LEFT = 0; - public static const int PANGO_UNDERLINE_LOW = 3; - public static const int PANGO_UNDERLINE_SINGLE = 1; - public static const int PANGO_WEIGHT_BOLD = 0x2bc; - public static const int PANGO_WEIGHT_NORMAL = 0x190; - public static const int PANGO_WRAP_WORD = 0; - public static const int PANGO_WRAP_WORD_CHAR = 2; - public static const int RTLD_LAZY = 1; - public static const int XA_CARDINAL = 6; - public static const int XA_WINDOW = 33; + /** Constants */ + public static const int ATK_RELATION_LABELLED_BY = 4; + public static const int G_SIGNAL_MATCH_DATA = 1 << 4; + public static const int G_SIGNAL_MATCH_ID = 1 << 0; + public static const int GDK_2BUTTON_PRESS = 0x5; + public static const int GDK_3BUTTON_PRESS = 0x6; + public static const int GDK_ACTION_COPY = 1 << 1; + public static const int GDK_ACTION_MOVE = 1 << 2; + public static const int GDK_ACTION_LINK = 1 << 3; + public static const int GDK_Alt_L = 0xffe9; + public static const int GDK_Alt_R = 0xffea; + public static const int GDK_AND = 4; + public static const int GDK_BackSpace = 0xff08; + public static const int GDK_BOTTOM_LEFT_CORNER = 0xc; + public static const int GDK_BOTTOM_RIGHT_CORNER = 0xe; + public static const int GDK_BOTTOM_SIDE = 0x10; + public static const int GDK_BUTTON1_MASK = 0x100; + public static const int GDK_BUTTON2_MASK = 0x200; + public static const int GDK_BUTTON3_MASK = 0x400; + public static const int GDK_BUTTON_MOTION_MASK = 1 << 4; + public static const int GDK_BUTTON1_MOTION_MASK = 1 << 5; + public static const int GDK_BUTTON2_MOTION_MASK = 1 << 6; + public static const int GDK_BUTTON3_MOTION_MASK = 1 << 7; + public static const int GDK_BUTTON_PRESS = 0x4; + public static const int GDK_BUTTON_PRESS_MASK = 0x100; + public static const int GDK_BUTTON_RELEASE = 0x7; + public static const int GDK_BUTTON_RELEASE_MASK = 0x200; + public static const int GDK_CAP_BUTT = 0x1; + public static const int GDK_CAP_PROJECTING = 3; + public static const int GDK_CAP_ROUND = 0x2; + public static const int GDK_COLORSPACE_RGB = 0; + public static const int GDK_CONFIGURE = 13; + public static const int GDK_CONTROL_MASK = 0x4; + public static const int GDK_COPY = 0x0; + public static const int GDK_CROSS = 0x1e; + public static const int GDK_CROSSING_NORMAL = 0; + public static const int GDK_CROSSING_GRAB = 1; + public static const int GDK_CROSSING_UNGRAB = 2; + public static const int GDK_Break = 0xff6b; + public static const int GDK_Cancel = 0xff69; + public static const int GDK_Caps_Lock = 0xffE5; + public static const int GDK_Clear = 0xff0B; + public static const int GDK_Control_L = 0xffe3; + public static const int GDK_Control_R = 0xffe4; + public static const int GDK_CURRENT_TIME = 0x0; + public static const int GDK_DECOR_BORDER = 0x2; + public static const int GDK_DECOR_MAXIMIZE = 0x40; + public static const int GDK_DECOR_MENU = 0x10; + public static const int GDK_DECOR_MINIMIZE = 0x20; + public static const int GDK_DECOR_RESIZEH = 0x4; + public static const int GDK_DECOR_TITLE = 0x8; + public static const int GDK_DOUBLE_ARROW = 0x2a; + public static const int GDK_Delete = 0xffff; + public static const int GDK_Down = 0xff54; + public static const int GDK_ENTER_NOTIFY_MASK = 0x1000; + public static const int GDK_ENTER_NOTIFY = 10; + public static const int GDK_EVEN_ODD_RULE = 0; + public static const int GTK_EXPANDER_COLAPSED = 0; + public static const int GTK_EXPANDER_SEMI_COLLAPSED = 1; + public static const int GTK_EXPANDER_SEMI_EXPANDED = 2; + public static const int GTK_EXPANDER_EXPANDED = 3; + public static const int GDK_EXPOSE = 2; + public static const int GDK_EXPOSURE_MASK = 0x2; + public static const int GDK_End = 0xff57; + public static const int GDK_Escape = 0xff1b; + public static const int GDK_F1 = 0xffbe; + public static const int GDK_F10 = 0xffc7; + public static const int GDK_F11 = 0xffc8; + public static const int GDK_F12 = 0xffc9; + public static const int GDK_F13 = 0xffca; + public static const int GDK_F14 = 0xffcb; + public static const int GDK_F15 = 0xffcc; + public static const int GDK_F2 = 0xffbf; + public static const int GDK_F3 = 0xffc0; + public static const int GDK_F4 = 0xffc1; + public static const int GDK_F5 = 0xffc2; + public static const int GDK_F6 = 0xffc3; + public static const int GDK_F7 = 0xffc4; + public static const int GDK_F8 = 0xffc5; + public static const int GDK_F9 = 0xffc6; + public static const int GDK_FLEUR = 0x34; + public static const int GDK_FOCUS_CHANGE = 0xc; + public static const int GDK_FOCUS_CHANGE_MASK = 0x4000; + public static const int GDK_GC_CLIP_MASK = 0x80; + public static const int GDK_GC_CLIP_X_ORIGIN = 0x800; + public static const int GDK_GC_CLIP_Y_ORIGIN = 0x1000; + public static const int GDK_GRAB_SUCCESS = 0x0; + public static const int GDK_HAND2 = 0x3c; + public static const int GDK_Help = 0xFF6A; + public static const int GDK_HINT_MIN_SIZE = 1 << 1; + public static const int GDK_Home = 0xff50; + public static const int GDK_INCLUDE_INFERIORS = 0x1; + public static const int GDK_INPUT_ONLY = 1; + public static const int GDK_INTERP_BILINEAR = 0x2; + public static const int GDK_Insert = 0xff63; + public static const int GDK_ISO_Left_Tab = 0xfe20; + public static const int GDK_JOIN_MITER = 0x0; + public static const int GDK_JOIN_ROUND = 0x1; + public static const int GDK_JOIN_BEVEL = 0x2; + public static const int GDK_KEY_PRESS = 0x8; + public static const int GDK_KEY_PRESS_MASK = 0x400; + public static const int GDK_KEY_RELEASE = 0x9; + public static const int GDK_KEY_RELEASE_MASK = 0x800; + public static const int GDK_KP_0 = 0xffb0; + public static const int GDK_KP_1 = 0xffb1; + public static const int GDK_KP_2 = 0xffb2; + public static const int GDK_KP_3 = 0xffb3; + public static const int GDK_KP_4 = 0xffb4; + public static const int GDK_KP_5 = 0xffb5; + public static const int GDK_KP_6 = 0xffb6; + public static const int GDK_KP_7 = 0xffb7; + public static const int GDK_KP_8 = 0xffb8; + public static const int GDK_KP_9 = 0xffb9; + public static const int GDK_KP_Add = 0xffab; + public static const int GDK_KP_Decimal = 0xffae; + public static const int GDK_KP_Delete = 0xFF9F; + public static const int GDK_KP_Divide = 0xffaf; + public static const int GDK_KP_Down = 0xFF99; + public static const int GDK_KP_End = 0xFF9C; + public static const int GDK_KP_Enter = 0xff8d; + public static const int GDK_KP_Equal = 0xffbd; + public static const int GDK_KP_Home = 0xFF95; + public static const int GDK_KP_Insert = 0xFF9E; + public static const int GDK_KP_Left = 0xFF96; + public static const int GDK_KP_Multiply = 0xffaa; + public static const int GDK_KP_Page_Down = 0xFF9B; + public static const int GDK_KP_Page_Up = 0xFF9A; + public static const int GDK_KP_Right = 0xFF98; + public static const int GDK_KP_Subtract = 0xffad; + public static const int GDK_KP_Up = 0xFF97; + public static const int GDK_LEAVE_NOTIFY = 11; + public static const int GDK_LEAVE_NOTIFY_MASK = 0x2000; + public static const int GDK_LEFT_PTR = 0x44; + public static const int GDK_LEFT_SIDE = 0x46; + public static const int GDK_LINE_ON_OFF_DASH = 0x1; + public static const int GDK_LINE_SOLID = 0x0; + public static const int GDK_Linefeed = 0xff0A; + public static const int GDK_LSB_FIRST = 0x0; + public static const int GDK_Left = 0xff51; + public static const int GDK_Meta_L = 0xFFE7; + public static const int GDK_Meta_R = 0xFFE8; + public static const int GDK_MAP = 14; + public static const int GDK_MOD1_MASK = 0x8; + public static const int GDK_MOTION_NOTIFY = 0x3; + public static const int GDK_NO_EXPOSE = 30; + public static const int GDK_NONE = 0; + public static const int GDK_NOTIFY_INFERIOR = 2; + public static const int GDK_Num_Lock = 0xFF7F; + public static const int GDK_OVERLAP_RECTANGLE_OUT = 0x1; + public static const int GDK_PIXBUF_ALPHA_BILEVEL = 0x0; + public static const int GDK_POINTER_MOTION_HINT_MASK = 0x8; + public static const int GDK_POINTER_MOTION_MASK = 0x4; + public static const int GDK_PROPERTY_NOTIFY = 16; + public static const int GDK_Page_Down = 0xff56; + public static const int GDK_Page_Up = 0xff55; + public static const int GDK_Pause = 0xff13; + public static const int GDK_Print = 0xff61; + public static const int GDK_QUESTION_ARROW = 0x5c; + public static const int GDK_RGB_DITHER_NORMAL = 0x1; + public static const int GDK_RIGHT_SIDE = 0x60; + public static const int GDK_Return = 0xff0d; + public static const int GDK_Right = 0xff53; + public static const int GDK_space = 0x20; + public static const int GDK_SB_H_DOUBLE_ARROW = 0x6c; + public static const int GDK_SB_UP_ARROW = 0x72; + public static const int GDK_SB_V_DOUBLE_ARROW = 0x74; + public static const int GDK_SCROLL_UP = 0; + public static const int GDK_SCROLL_DOWN = 1; + public static const int GDK_SCROLL_LEFT = 2; + public static const int GDK_SCROLL_RIGHT = 3; + public static const int GDK_SELECTION_CLEAR = 17; + public static const int GDK_SELECTION_NOTIFY = 19; + public static const int GDK_SELECTION_REQUEST = 18; + public static const int GDK_SHIFT_MASK = 0x1; + public static const int GDK_SIZING = 0x78; + public static const int GDK_STIPPLED = 0x2; + public static const int GDK_TILED = 0x1; + public static const int GDK_Shift_L = 0xffe1; + public static const int GDK_Shift_R = 0xffe2; + public static const int GDK_SCROLL = 31; + public static const int GDK_Scroll_Lock = 0xff14; + public static const int GDK_TOP_LEFT_CORNER = 0x86; + public static const int GDK_TOP_RIGHT_CORNER = 0x88; + public static const int GDK_TOP_SIDE = 0x8a; + public static const int GDK_Tab = 0xff09; + public static const int GDK_Up = 0xff52; + public static const int GDK_WATCH = 0x96; + public static const int GDK_XOR = 0x2; + public static const int GDK_XTERM = 0x98; + public static const int GDK_X_CURSOR = 0x0; + public static const int GDK_VISIBILITY_FULLY_OBSCURED = 2; + public static const int GDK_VISIBILITY_NOTIFY_MASK = 1 << 17; + public static const int GDK_WINDOW_CHILD = 2; + public static const int GDK_WINDOW_STATE_ICONIFIED = 1 << 1; + public static const int GDK_WINDOW_STATE_MAXIMIZED = 1 << 2; + public static const int GTK_ACCEL_VISIBLE = 0x1; + public static const int GTK_ARROW_DOWN = 0x1; + public static const int GTK_ARROW_LEFT = 0x2; + public static const int GTK_ARROW_RIGHT = 0x3; + public static const int GTK_ARROW_UP = 0x0; + public static const int GTK_CALENDAR_SHOW_HEADING = 1 << 0; + public static const int GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1; + public static const int GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2; + public static const int GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3; + public static const int GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4; + public static const int GTK_CAN_DEFAULT = 0x2000; + public static const int GTK_CAN_FOCUS = 0x800; + public static const int GTK_CELL_RENDERER_MODE_ACTIVATABLE = 1; + public static const int GTK_CELL_RENDERER_SELECTED = 1 << 0; + public static const int GTK_CELL_RENDERER_FOCUSED = 1 << 4; + public static const int GTK_CLIST_SHOW_TITLES = 0x4; + public static const int GTK_CORNER_TOP_LEFT = 0x0; + public static const int GTK_CORNER_TOP_RIGHT = 0x2; + public static const int GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1; + public static const int GTK_DIALOG_MODAL = 1 << 0; + public static const int GTK_DIR_TAB_FORWARD = 0; + public static const int GTK_DIR_TAB_BACKWARD = 1; + public static const int GTK_FILE_CHOOSER_ACTION_OPEN = 0; + public static const int GTK_FILE_CHOOSER_ACTION_SAVE = 1; + public static const int GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER = 2; + public static const int GTK_HAS_FOCUS = 1 << 12; + public static const int GTK_ICON_SIZE_MENU = 1; + public static const int GTK_ICON_SIZE_SMALL_TOOLBAR = 2; + public static const int GTK_ICON_SIZE_LARGE_TOOLBAR = 3; + public static const int GTK_ICON_SIZE_DIALOG = 6; + public static const int GTK_JUSTIFY_CENTER = 0x2; + public static const int GTK_JUSTIFY_LEFT = 0x0; + public static const int GTK_JUSTIFY_RIGHT = 0x1; + public static const int GTK_MAPPED = 1 << 7; + public static const int GTK_MESSAGE_INFO = 0; + public static const int GTK_MESSAGE_WARNING = 1; + public static const int GTK_MESSAGE_QUESTION = 2; + public static const int GTK_MESSAGE_ERROR = 3; + public static const int GTK_NO_WINDOW = 1 << 5; + public static const int GTK_ORIENTATION_HORIZONTAL = 0x0; + public static const int GTK_ORIENTATION_VERTICAL = 0x1; + public static const int GTK_PACK_END = 1; + public static const int GTK_PACK_START = 0; + public static const int GTK_POLICY_ALWAYS = 0x0; + public static const int GTK_POLICY_AUTOMATIC = 0x1; + public static const int GTK_POLICY_NEVER = 0x2; + public static const int GTK_POS_TOP = 0x2; + public static const int GTK_POS_BOTTOM = 0x3; + public static const int GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0; + public static const int GTK_PRINT_CAPABILITY_COPIES = 1 << 1; + public static const int GTK_PRINT_CAPABILITY_COLLATE = 1 << 2; + public static const int GTK_PRINT_CAPABILITY_REVERSE = 1 << 3; + public static const int GTK_PRINT_CAPABILITY_SCALE = 1 << 4; + public static const int GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5; + public static const int GTK_PRINT_CAPABILITY_GENERATE_PS = 1 << 6; + public static const int GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7; + public static const int GTK_PRINT_PAGES_ALL = 0; + public static const int GTK_PRINT_PAGES_CURRENT = 1; + public static const int GTK_PRINT_PAGES_RANGES = 2; + public static const int GTK_PROGRESS_CONTINUOUS = 0x0; + public static const int GTK_PROGRESS_DISCRETE = 0x1; + public static const int GTK_PROGRESS_LEFT_TO_RIGHT = 0x0; + public static const int GTK_PROGRESS_BOTTOM_TO_TOP = 0x2; + public static const int GTK_REALIZED = 1 << 6; + public static const int GTK_RELIEF_NONE = 0x2; + public static const int GTK_RELIEF_NORMAL = 0; + public static const int GTK_RC_BG = 1 << 1; + public static const int GTK_RC_FG = 1 << 0; + public static const int GTK_RC_TEXT = 1 << 2; + public static const int GTK_RC_BASE = 1 << 3; + public static const int GTK_RESPONSE_APPLY = 0xfffffff6; + public static const int GTK_RESPONSE_CANCEL = 0xfffffffa; + public static const int GTK_RESPONSE_OK = 0xfffffffb; + public static const int GTK_SCROLL_NONE = 0; + public static const int GTK_SCROLL_JUMP = 1; + public static const int GTK_SCROLL_STEP_BACKWARD = 2; + public static const int GTK_SCROLL_STEP_FORWARD = 3; + public static const int GTK_SCROLL_PAGE_BACKWARD = 4; + public static const int GTK_SCROLL_PAGE_FORWARD = 5; + public static const int GTK_SCROLL_STEP_UP = 6; + public static const int GTK_SCROLL_STEP_DOWN = 7; + public static const int GTK_SCROLL_PAGE_UP = 8; + public static const int GTK_SCROLL_PAGE_DOWN = 9; + public static const int GTK_SCROLL_STEP_LEFT = 10; + public static const int GTK_SCROLL_STEP_RIGHT = 11; + public static const int GTK_SCROLL_PAGE_LEFT = 12; + public static const int GTK_SCROLL_PAGE_RIGHT = 13; + public static const int GTK_SCROLL_START = 14; + public static const int GTK_SCROLL_END = 15; + public static const int GTK_SELECTION_BROWSE = 0x2; + public static const int GTK_SELECTION_MULTIPLE = 0x3; + public static const int GTK_SENSITIVE = 0x200; + public static const int GTK_SHADOW_ETCHED_IN = 0x3; + public static const int GTK_SHADOW_ETCHED_OUT = 0x4; + public static const int GTK_SHADOW_IN = 0x1; + public static const int GTK_SHADOW_NONE = 0x0; + public static const int GTK_SHADOW_OUT = 0x2; + public static const int GTK_STATE_ACTIVE = 0x1; + public static const int GTK_STATE_INSENSITIVE = 0x4; + public static const int GTK_STATE_NORMAL = 0x0; + public static const int GTK_STATE_PRELIGHT = 0x2; + public static const int GTK_STATE_SELECTED = 0x3; + public static const int GTK_TEXT_DIR_LTR = 1; + public static const int GTK_TEXT_DIR_NONE = 0 ; + public static const int GTK_TEXT_DIR_RTL = 2; + public static const int GTK_TEXT_WINDOW_TEXT = 2; + public static const int GTK_TOOLBAR_CHILD_BUTTON = 0x1; + public static const int GTK_TOOLBAR_CHILD_RADIOBUTTON = 0x3; + public static const int GTK_TOOLBAR_CHILD_TOGGLEBUTTON = 0x2; + public static const int GTK_TREE_VIEW_COLUMN_GROW_ONLY = 0; + public static const int GTK_TREE_VIEW_COLUMN_AUTOSIZE = 1; + public static const int GTK_TREE_VIEW_COLUMN_FIXED = 2; + public static const int GTK_TREE_VIEW_DROP_BEFORE = 0; + public static const int GTK_TREE_VIEW_DROP_AFTER = 1; + public static const int GTK_TREE_VIEW_DROP_INTO_OR_BEFORE = 2; + public static const int GTK_TREE_VIEW_DROP_INTO_OR_AFTER = 3; + public static const int GDK_UNMAP = 15; + public static const int GTK_UNIT_PIXEL = 0; + public static const int GTK_UNIT_POINTS = 1; + public static const int GTK_UNIT_INCH = 2; + public static const int GTK_UNIT_MM = 3; + public static const int GTK_VISIBILITY_FULL = 0x2; + public static const int GTK_VISIBILITY_NONE = 0x0; + public static const int GTK_VISIBLE = 0x100; + public static const int GDK_WA_X = 1 << 2; + public static const int GDK_WA_Y = 1 << 3; + public static const int GDK_WA_VISUAL = 1 << 6; + public static const int GTK_WINDOW_POPUP = 0x1; + public static const int GTK_WINDOW_TOPLEVEL = 0x0; + public static const int GDK_WINDOW_TYPE_HINT_DIALOG = 1; + public static const int GTK_WRAP_NONE = 0; + public static const int GTK_WRAP_WORD = 2; + public static const int G_LOG_FLAG_FATAL = 0x2; + public static const int G_LOG_FLAG_RECURSION = 0x1; + public static const int G_LOG_LEVEL_MASK = 0xfffffffc; + public static const int None = 0; + public static const int PANGO_ALIGN_LEFT = 0; + public static const int PANGO_ALIGN_CENTER = 1; + public static const int PANGO_ALIGN_RIGHT = 2; + public static const int PANGO_DIRECTION_LTR = 0; + public static const int PANGO_DIRECTION_RTL = 1; + public static const int PANGO_SCALE = 1024; + public static const int PANGO_STRETCH_NORMAL = 0x4; + public static const int PANGO_STYLE_ITALIC = 0x2; + public static const int PANGO_STYLE_NORMAL = 0x0; + public static const int PANGO_STYLE_OBLIQUE = 0x1; + public static const int PANGO_TAB_LEFT = 0; + public static const int PANGO_UNDERLINE_LOW = 3; + public static const int PANGO_UNDERLINE_SINGLE = 1; + public static const int PANGO_WEIGHT_BOLD = 0x2bc; + public static const int PANGO_WEIGHT_NORMAL = 0x190; + public static const int PANGO_WRAP_WORD = 0; + public static const int PANGO_WRAP_WORD_CHAR = 2; + public static const int RTLD_LAZY = 1; + public static const int XA_CARDINAL = 6; + public static const int XA_WINDOW = 33; - /** Signals */ - public static const char[] activate = "activate"; - public static const char[] button_press_event = "button-press-event"; - public static const char[] button_release_event = "button-release-event"; - public static const char[] changed = "changed"; - public static const char[] change_current_page = "change-current-page"; - public static const char[] change_value = "change-value"; - public static const char[] clicked = "clicked"; - public static const char[] commit = "commit"; - public static const char[] configure_event = "configure-event"; - public static const char[] delete_event = "delete-event"; - public static const char[] day_selected = "day-selected"; - public static const char[] delete_range = "delete-range"; - public static const char[] delete_text = "delete-text"; - public static const char[] drag_data_delete = "drag_data_delete"; - public static const char[] drag_data_get = "drag_data_get"; - public static const char[] drag_data_received = "drag_data_received"; - public static const char[] drag_drop = "drag_drop"; - public static const char[] drag_end = "drag_end"; - public static const char[] drag_leave = "drag_leave"; - public static const char[] drag_motion = "drag_motion"; - public static const char[] enter_notify_event = "enter-notify-event"; - public static const char[] event = "event"; - public static const char[] event_after = "event-after"; - public static const char[] expand_collapse_cursor_row = "expand-collapse-cursor-row"; - public static const char[] expose_event = "expose-event"; - public static const char[] focus = "focus"; - public static const char[] focus_in_event = "focus-in-event"; - public static const char[] focus_out_event = "focus-out-event"; - public static const char[] grab_focus = "grab-focus"; - public static const char[] hide = "hide"; - public static const char[] input = "input"; - public static const char[] insert_text = "insert-text"; - public static const char[] key_press_event = "key-press-event"; - public static const char[] key_release_event = "key-release-event"; - public static const char[] leave_notify_event = "leave-notify-event"; - public static const char[] map = "map"; - public static const char[] map_event = "map-event"; - public static const char[] mnemonic_activate = "mnemonic-activate"; - public static const char[] month_changed = "month-changed"; - public static const char[] motion_notify_event = "motion-notify-event"; - public static const char[] move_focus = "move-focus"; - public static const char[] output = "output"; - public static const char[] popup_menu = "popup-menu"; - public static const char[] preedit_changed = "preedit-changed"; - public static const char[] realize = "realize"; - public static const char[] row_activated = "row-activated"; - public static const char[] row_changed = "row-changed"; - public static const char[] scroll_child = "scroll-child"; - public static const char[] scroll_event = "scroll-event"; - public static const char[] select = "select"; - public static const char[] show = "show"; - public static const char[] show_help = "show-help"; - public static const char[] size_allocate = "size-allocate"; - public static const char[] size_request = "size-request"; - public static const char[] style_set = "style-set"; - public static const char[] switch_page = "switch-page"; - public static const char[] test_collapse_row = "test-collapse-row"; - public static const char[] test_expand_row = "test-expand-row"; - public static const char[] toggled = "toggled"; - public static const char[] unmap = "unmap"; - public static const char[] unmap_event = "unmap-event"; - public static const char[] unrealize = "unrealize"; - public static const char[] value_changed = "value-changed"; - public static const char[] visibility_notify_event = "visibility-notify-event"; - public static const char[] window_state_event = "window-state-event"; + /** Signals */ + public static const char[] activate = "activate"; + public static const char[] button_press_event = "button-press-event"; + public static const char[] button_release_event = "button-release-event"; + public static const char[] changed = "changed"; + public static const char[] change_current_page = "change-current-page"; + public static const char[] change_value = "change-value"; + public static const char[] clicked = "clicked"; + public static const char[] commit = "commit"; + public static const char[] configure_event = "configure-event"; + public static const char[] delete_event = "delete-event"; + public static const char[] day_selected = "day-selected"; + public static const char[] delete_range = "delete-range"; + public static const char[] delete_text = "delete-text"; + public static const char[] drag_data_delete = "drag_data_delete"; + public static const char[] drag_data_get = "drag_data_get"; + public static const char[] drag_data_received = "drag_data_received"; + public static const char[] drag_drop = "drag_drop"; + public static const char[] drag_end = "drag_end"; + public static const char[] drag_leave = "drag_leave"; + public static const char[] drag_motion = "drag_motion"; + public static const char[] enter_notify_event = "enter-notify-event"; + public static const char[] event = "event"; + public static const char[] event_after = "event-after"; + public static const char[] expand_collapse_cursor_row = "expand-collapse-cursor-row"; + public static const char[] expose_event = "expose-event"; + public static const char[] focus = "focus"; + public static const char[] focus_in_event = "focus-in-event"; + public static const char[] focus_out_event = "focus-out-event"; + public static const char[] grab_focus = "grab-focus"; + public static const char[] hide = "hide"; + public static const char[] input = "input"; + public static const char[] insert_text = "insert-text"; + public static const char[] key_press_event = "key-press-event"; + public static const char[] key_release_event = "key-release-event"; + public static const char[] leave_notify_event = "leave-notify-event"; + public static const char[] map = "map"; + public static const char[] map_event = "map-event"; + public static const char[] mnemonic_activate = "mnemonic-activate"; + public static const char[] month_changed = "month-changed"; + public static const char[] motion_notify_event = "motion-notify-event"; + public static const char[] move_focus = "move-focus"; + public static const char[] output = "output"; + public static const char[] popup_menu = "popup-menu"; + public static const char[] preedit_changed = "preedit-changed"; + public static const char[] realize = "realize"; + public static const char[] row_activated = "row-activated"; + public static const char[] row_changed = "row-changed"; + public static const char[] scroll_child = "scroll-child"; + public static const char[] scroll_event = "scroll-event"; + public static const char[] select = "select"; + public static const char[] show = "show"; + public static const char[] show_help = "show-help"; + public static const char[] size_allocate = "size-allocate"; + public static const char[] size_request = "size-request"; + public static const char[] style_set = "style-set"; + public static const char[] switch_page = "switch-page"; + public static const char[] test_collapse_row = "test-collapse-row"; + public static const char[] test_expand_row = "test-expand-row"; + public static const char[] toggled = "toggled"; + public static const char[] unmap = "unmap"; + public static const char[] unmap_event = "unmap-event"; + public static const char[] unrealize = "unrealize"; + public static const char[] value_changed = "value-changed"; + public static const char[] visibility_notify_event = "visibility-notify-event"; + public static const char[] window_state_event = "window-state-event"; - /** Properties */ - public static const char[] active = "active"; - public static const char[] background_gdk = "background-gdk"; - public static const char[] button_relief = "button-relief"; - public static const char[] cell_background_gdk = "cell-background-gdk"; - public static const char[] default_border = "default-border"; - public static const char[] expander_size = "expander-size"; - public static const char[] fixed_height_mode = "fixed-height-mode"; - public static const char[] focus_line_width = "focus-line-width"; - public static const char[] font_desc = "font-desc"; - public static const char[] foreground_gdk = "foreground-gdk"; - public static const char[] gtk_cursor_blink = "gtk-cursor-blink"; - public static const char[] gtk_cursor_blink_time = "gtk-cursor-blink-time"; - public static const char[] gtk_double_click_time = "gtk-double-click-time"; - public static const char[] gtk_entry_select_on_focus = "gtk-entry-select-on-focus"; - public static const char[] horizontal_separator = "horizontal-separator"; - public static const char[] inconsistent = "inconsistent"; - public static const char[] interior_focus = "interior-focus"; - public static const char[] mode = "mode"; - public static const char[] pixbuf = "pixbuf"; - public static const char[] text = "text"; - public static const char[] xalign = "xalign"; - public static const char[] ypad = "ypad"; - public static const char[] GTK_PRINT_SETTINGS_OUTPUT_URI = "output-uri"; + /** Properties */ + public static const char[] active = "active"; + public static const char[] background_gdk = "background-gdk"; + public static const char[] button_relief = "button-relief"; + public static const char[] cell_background_gdk = "cell-background-gdk"; + public static const char[] default_border = "default-border"; + public static const char[] expander_size = "expander-size"; + public static const char[] fixed_height_mode = "fixed-height-mode"; + public static const char[] focus_line_width = "focus-line-width"; + public static const char[] font_desc = "font-desc"; + public static const char[] foreground_gdk = "foreground-gdk"; + public static const char[] gtk_cursor_blink = "gtk-cursor-blink"; + public static const char[] gtk_cursor_blink_time = "gtk-cursor-blink-time"; + public static const char[] gtk_double_click_time = "gtk-double-click-time"; + public static const char[] gtk_entry_select_on_focus = "gtk-entry-select-on-focus"; + public static const char[] horizontal_separator = "horizontal-separator"; + public static const char[] inconsistent = "inconsistent"; + public static const char[] interior_focus = "interior-focus"; + public static const char[] mode = "mode"; + public static const char[] pixbuf = "pixbuf"; + public static const char[] text = "text"; + public static const char[] xalign = "xalign"; + public static const char[] ypad = "ypad"; + public static const char[] GTK_PRINT_SETTINGS_OUTPUT_URI = "output-uri"; - public static /*const*/ int GTK_VERSION;// see static ctor = buildVERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version()); + public static /*const*/ int GTK_VERSION;// see static ctor = buildVERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version()); public static int buildVERSION(int major, int minor, int micro) { - return (major << 16) + (minor << 8) + micro; + return (major << 16) + (minor << 8) + micro; } /++ @@ -908,7 +908,7 @@ mixin ForwardGtkOsCFunc!(.g_malloc); mixin ForwardGtkOsCFunc!(.g_object_get1); mixin ForwardGtkOsCFunc!(.g_object_get_qdata); - mixin ForwardGtkOsCFunc!(.g_object_new ); + mixin ForwardGtkOsCFunc!(.g_object_new); mixin ForwardGtkOsCFunc!(.g_object_ref); mixin ForwardGtkOsCFunc!(.g_object_set); mixin ForwardGtkOsCFunc!(.g_object_set); @@ -2084,7 +2084,7 @@ { lock.lock(); scope(exit) lock.unlock(); - return cast(bool)g_type_check_instance_is_a( arg0, gtk_button_get_type() ); + return cast(bool)g_type_check_instance_is_a( arg0, gtk_button_get_type() ); } static bool GTK_IS_WINDOW( GTypeInstance* arg0 )