Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

NativeWindow: number
Selection: Gdk.Atom
SelectionType: Gdk.Atom
Target: Gdk.Atom
WChar: number
XEvent: void

Variables

CURRENT_TIME: number
KEY_0: number
KEY_1: number
KEY_2: number
KEY_3: number
KEY_3270_AltCursor: number
KEY_3270_Attn: number
KEY_3270_BackTab: number
KEY_3270_ChangeScreen: number
KEY_3270_Copy: number
KEY_3270_CursorBlink: number
KEY_3270_CursorSelect: number
KEY_3270_DeleteWord: number
KEY_3270_Duplicate: number
KEY_3270_Enter: number
KEY_3270_EraseEOF: number
KEY_3270_EraseInput: number
KEY_3270_ExSelect: number
KEY_3270_FieldMark: number
KEY_3270_Ident: number
KEY_3270_Jump: number
KEY_3270_KeyClick: number
KEY_3270_Left2: number
KEY_3270_PA1: number
KEY_3270_PA2: number
KEY_3270_PA3: number
KEY_3270_Play: number
KEY_3270_PrintScreen: number
KEY_3270_Quit: number
KEY_3270_Record: number
KEY_3270_Reset: number
KEY_3270_Right2: number
KEY_3270_Rule: number
KEY_3270_Setup: number
KEY_3270_Test: number
KEY_4: number
KEY_5: number
KEY_6: number
KEY_7: number
KEY_8: number
KEY_9: number
KEY_A: number
KEY_AE: number
KEY_Aacute: number
KEY_Abelowdot: number
KEY_Abreve: number
KEY_Abreveacute: number
KEY_Abrevebelowdot: number
KEY_Abrevegrave: number
KEY_Abrevehook: number
KEY_Abrevetilde: number
KEY_AccessX_Enable: number
KEY_AccessX_Feedback_Enable: number
KEY_Acircumflex: number
KEY_Acircumflexacute: number
KEY_Acircumflexbelowdot: number
KEY_Acircumflexgrave: number
KEY_Acircumflexhook: number
KEY_Acircumflextilde: number
KEY_AddFavorite: number
KEY_Adiaeresis: number
KEY_Agrave: number
KEY_Ahook: number
KEY_Alt_L: number
KEY_Alt_R: number
KEY_Amacron: number
KEY_Aogonek: number
KEY_ApplicationLeft: number
KEY_ApplicationRight: number
KEY_Arabic_0: number
KEY_Arabic_1: number
KEY_Arabic_2: number
KEY_Arabic_3: number
KEY_Arabic_4: number
KEY_Arabic_5: number
KEY_Arabic_6: number
KEY_Arabic_7: number
KEY_Arabic_8: number
KEY_Arabic_9: number
KEY_Arabic_ain: number
KEY_Arabic_alef: number
KEY_Arabic_alefmaksura: number
KEY_Arabic_beh: number
KEY_Arabic_comma: number
KEY_Arabic_dad: number
KEY_Arabic_dal: number
KEY_Arabic_damma: number
KEY_Arabic_dammatan: number
KEY_Arabic_ddal: number
KEY_Arabic_farsi_yeh: number
KEY_Arabic_fatha: number
KEY_Arabic_fathatan: number
KEY_Arabic_feh: number
KEY_Arabic_fullstop: number
KEY_Arabic_gaf: number
KEY_Arabic_ghain: number
KEY_Arabic_ha: number
KEY_Arabic_hah: number
KEY_Arabic_hamza: number
KEY_Arabic_hamza_above: number
KEY_Arabic_hamza_below: number
KEY_Arabic_hamzaonalef: number
KEY_Arabic_hamzaonwaw: number
KEY_Arabic_hamzaonyeh: number
KEY_Arabic_hamzaunderalef: number
KEY_Arabic_heh: number
KEY_Arabic_heh_doachashmee: number
KEY_Arabic_heh_goal: number
KEY_Arabic_jeem: number
KEY_Arabic_jeh: number
KEY_Arabic_kaf: number
KEY_Arabic_kasra: number
KEY_Arabic_kasratan: number
KEY_Arabic_keheh: number
KEY_Arabic_khah: number
KEY_Arabic_lam: number
KEY_Arabic_madda_above: number
KEY_Arabic_maddaonalef: number
KEY_Arabic_meem: number
KEY_Arabic_noon: number
KEY_Arabic_noon_ghunna: number
KEY_Arabic_peh: number
KEY_Arabic_percent: number
KEY_Arabic_qaf: number
KEY_Arabic_question_mark: number
KEY_Arabic_ra: number
KEY_Arabic_rreh: number
KEY_Arabic_sad: number
KEY_Arabic_seen: number
KEY_Arabic_semicolon: number
KEY_Arabic_shadda: number
KEY_Arabic_sheen: number
KEY_Arabic_sukun: number
KEY_Arabic_superscript_alef: number
KEY_Arabic_switch: number
KEY_Arabic_tah: number
KEY_Arabic_tatweel: number
KEY_Arabic_tcheh: number
KEY_Arabic_teh: number
KEY_Arabic_tehmarbuta: number
KEY_Arabic_thal: number
KEY_Arabic_theh: number
KEY_Arabic_tteh: number
KEY_Arabic_veh: number
KEY_Arabic_waw: number
KEY_Arabic_yeh: number
KEY_Arabic_yeh_baree: number
KEY_Arabic_zah: number
KEY_Arabic_zain: number
KEY_Aring: number
KEY_Armenian_AT: number
KEY_Armenian_AYB: number
KEY_Armenian_BEN: number
KEY_Armenian_CHA: number
KEY_Armenian_DA: number
KEY_Armenian_DZA: number
KEY_Armenian_E: number
KEY_Armenian_FE: number
KEY_Armenian_GHAT: number
KEY_Armenian_GIM: number
KEY_Armenian_HI: number
KEY_Armenian_HO: number
KEY_Armenian_INI: number
KEY_Armenian_JE: number
KEY_Armenian_KE: number
KEY_Armenian_KEN: number
KEY_Armenian_KHE: number
KEY_Armenian_LYUN: number
KEY_Armenian_MEN: number
KEY_Armenian_NU: number
KEY_Armenian_O: number
KEY_Armenian_PE: number
KEY_Armenian_PYUR: number
KEY_Armenian_RA: number
KEY_Armenian_RE: number
KEY_Armenian_SE: number
KEY_Armenian_SHA: number
KEY_Armenian_TCHE: number
KEY_Armenian_TO: number
KEY_Armenian_TSA: number
KEY_Armenian_TSO: number
KEY_Armenian_TYUN: number
KEY_Armenian_VEV: number
KEY_Armenian_VO: number
KEY_Armenian_VYUN: number
KEY_Armenian_YECH: number
KEY_Armenian_ZA: number
KEY_Armenian_ZHE: number
KEY_Armenian_accent: number
KEY_Armenian_amanak: number
KEY_Armenian_apostrophe: number
KEY_Armenian_at: number
KEY_Armenian_ayb: number
KEY_Armenian_ben: number
KEY_Armenian_but: number
KEY_Armenian_cha: number
KEY_Armenian_da: number
KEY_Armenian_dza: number
KEY_Armenian_e: number
KEY_Armenian_exclam: number
KEY_Armenian_fe: number
KEY_Armenian_full_stop: number
KEY_Armenian_ghat: number
KEY_Armenian_gim: number
KEY_Armenian_hi: number
KEY_Armenian_ho: number
KEY_Armenian_hyphen: number
KEY_Armenian_ini: number
KEY_Armenian_je: number
KEY_Armenian_ke: number
KEY_Armenian_ken: number
KEY_Armenian_khe: number
KEY_Armenian_ligature_ew: number
KEY_Armenian_lyun: number
KEY_Armenian_men: number
KEY_Armenian_nu: number
KEY_Armenian_o: number
KEY_Armenian_paruyk: number
KEY_Armenian_pe: number
KEY_Armenian_pyur: number
KEY_Armenian_question: number
KEY_Armenian_ra: number
KEY_Armenian_re: number
KEY_Armenian_se: number
KEY_Armenian_separation_mark: number
KEY_Armenian_sha: number
KEY_Armenian_shesht: number
KEY_Armenian_tche: number
KEY_Armenian_to: number
KEY_Armenian_tsa: number
KEY_Armenian_tso: number
KEY_Armenian_tyun: number
KEY_Armenian_verjaket: number
KEY_Armenian_vev: number
KEY_Armenian_vo: number
KEY_Armenian_vyun: number
KEY_Armenian_yech: number
KEY_Armenian_yentamna: number
KEY_Armenian_za: number
KEY_Armenian_zhe: number
KEY_Atilde: number
KEY_AudibleBell_Enable: number
KEY_AudioCycleTrack: number
KEY_AudioForward: number
KEY_AudioLowerVolume: number
KEY_AudioMedia: number
KEY_AudioMute: number
KEY_AudioNext: number
KEY_AudioPause: number
KEY_AudioPlay: number
KEY_AudioPrev: number
KEY_AudioRaiseVolume: number
KEY_AudioRandomPlay: number
KEY_AudioRecord: number
KEY_AudioRepeat: number
KEY_AudioRewind: number
KEY_AudioStop: number
KEY_Away: number
KEY_B: number
KEY_Babovedot: number
KEY_Back: number
KEY_BackForward: number
KEY_BackSpace: number
KEY_Battery: number
KEY_Begin: number
KEY_Blue: number
KEY_Bluetooth: number
KEY_Book: number
KEY_BounceKeys_Enable: number
KEY_Break: number
KEY_BrightnessAdjust: number
KEY_Byelorussian_SHORTU: number
KEY_Byelorussian_shortu: number
KEY_C: number
KEY_CD: number
KEY_Cabovedot: number
KEY_Cacute: number
KEY_Calculator: number
KEY_Calendar: number
KEY_Cancel: number
KEY_Caps_Lock: number
KEY_Ccaron: number
KEY_Ccedilla: number
KEY_Ccircumflex: number
KEY_Clear: number
KEY_ClearGrab: number
KEY_Close: number
KEY_Codeinput: number
KEY_ColonSign: number
KEY_Community: number
KEY_ContrastAdjust: number
KEY_Control_L: number
KEY_Control_R: number
KEY_Copy: number
KEY_CruzeiroSign: number
KEY_Cut: number
KEY_CycleAngle: number
KEY_Cyrillic_A: number
KEY_Cyrillic_BE: number
KEY_Cyrillic_CHE: number
KEY_Cyrillic_CHE_descender: number
KEY_Cyrillic_CHE_vertstroke: number
KEY_Cyrillic_DE: number
KEY_Cyrillic_DZHE: number
KEY_Cyrillic_E: number
KEY_Cyrillic_EF: number
KEY_Cyrillic_EL: number
KEY_Cyrillic_EM: number
KEY_Cyrillic_EN: number
KEY_Cyrillic_EN_descender: number
KEY_Cyrillic_ER: number
KEY_Cyrillic_ES: number
KEY_Cyrillic_GHE: number
KEY_Cyrillic_GHE_bar: number
KEY_Cyrillic_HA: number
KEY_Cyrillic_HARDSIGN: number
KEY_Cyrillic_HA_descender: number
KEY_Cyrillic_I: number
KEY_Cyrillic_IE: number
KEY_Cyrillic_IO: number
KEY_Cyrillic_I_macron: number
KEY_Cyrillic_JE: number
KEY_Cyrillic_KA: number
KEY_Cyrillic_KA_descender: number
KEY_Cyrillic_KA_vertstroke: number
KEY_Cyrillic_LJE: number
KEY_Cyrillic_NJE: number
KEY_Cyrillic_O: number
KEY_Cyrillic_O_bar: number
KEY_Cyrillic_PE: number
KEY_Cyrillic_SCHWA: number
KEY_Cyrillic_SHA: number
KEY_Cyrillic_SHCHA: number
KEY_Cyrillic_SHHA: number
KEY_Cyrillic_SHORTI: number
KEY_Cyrillic_SOFTSIGN: number
KEY_Cyrillic_TE: number
KEY_Cyrillic_TSE: number
KEY_Cyrillic_U: number
KEY_Cyrillic_U_macron: number
KEY_Cyrillic_U_straight: number
KEY_Cyrillic_U_straight_bar: number
KEY_Cyrillic_VE: number
KEY_Cyrillic_YA: number
KEY_Cyrillic_YERU: number
KEY_Cyrillic_YU: number
KEY_Cyrillic_ZE: number
KEY_Cyrillic_ZHE: number
KEY_Cyrillic_ZHE_descender: number
KEY_Cyrillic_a: number
KEY_Cyrillic_be: number
KEY_Cyrillic_che: number
KEY_Cyrillic_che_descender: number
KEY_Cyrillic_che_vertstroke: number
KEY_Cyrillic_de: number
KEY_Cyrillic_dzhe: number
KEY_Cyrillic_e: number
KEY_Cyrillic_ef: number
KEY_Cyrillic_el: number
KEY_Cyrillic_em: number
KEY_Cyrillic_en: number
KEY_Cyrillic_en_descender: number
KEY_Cyrillic_er: number
KEY_Cyrillic_es: number
KEY_Cyrillic_ghe: number
KEY_Cyrillic_ghe_bar: number
KEY_Cyrillic_ha: number
KEY_Cyrillic_ha_descender: number
KEY_Cyrillic_hardsign: number
KEY_Cyrillic_i: number
KEY_Cyrillic_i_macron: number
KEY_Cyrillic_ie: number
KEY_Cyrillic_io: number
KEY_Cyrillic_je: number
KEY_Cyrillic_ka: number
KEY_Cyrillic_ka_descender: number
KEY_Cyrillic_ka_vertstroke: number
KEY_Cyrillic_lje: number
KEY_Cyrillic_nje: number
KEY_Cyrillic_o: number
KEY_Cyrillic_o_bar: number
KEY_Cyrillic_pe: number
KEY_Cyrillic_schwa: number
KEY_Cyrillic_sha: number
KEY_Cyrillic_shcha: number
KEY_Cyrillic_shha: number
KEY_Cyrillic_shorti: number
KEY_Cyrillic_softsign: number
KEY_Cyrillic_te: number
KEY_Cyrillic_tse: number
KEY_Cyrillic_u: number
KEY_Cyrillic_u_macron: number
KEY_Cyrillic_u_straight: number
KEY_Cyrillic_u_straight_bar: number
KEY_Cyrillic_ve: number
KEY_Cyrillic_ya: number
KEY_Cyrillic_yeru: number
KEY_Cyrillic_yu: number
KEY_Cyrillic_ze: number
KEY_Cyrillic_zhe: number
KEY_Cyrillic_zhe_descender: number
KEY_D: number
KEY_DOS: number
KEY_Dabovedot: number
KEY_Dcaron: number
KEY_Delete: number
KEY_Display: number
KEY_Documents: number
KEY_DongSign: number
KEY_Down: number
KEY_Dstroke: number
KEY_E: number
KEY_ENG: number
KEY_ETH: number
KEY_Eabovedot: number
KEY_Eacute: number
KEY_Ebelowdot: number
KEY_Ecaron: number
KEY_Ecircumflex: number
KEY_Ecircumflexacute: number
KEY_Ecircumflexbelowdot: number
KEY_Ecircumflexgrave: number
KEY_Ecircumflexhook: number
KEY_Ecircumflextilde: number
KEY_EcuSign: number
KEY_Ediaeresis: number
KEY_Egrave: number
KEY_Ehook: number
KEY_Eisu_Shift: number
KEY_Eisu_toggle: number
KEY_Eject: number
KEY_Emacron: number
KEY_End: number
KEY_Eogonek: number
KEY_Escape: number
KEY_Eth: number
KEY_Etilde: number
KEY_EuroSign: number
KEY_Excel: number
KEY_Execute: number
KEY_Explorer: number
KEY_F: number
KEY_F1: number
KEY_F10: number
KEY_F11: number
KEY_F12: number
KEY_F13: number
KEY_F14: number
KEY_F15: number
KEY_F16: number
KEY_F17: number
KEY_F18: number
KEY_F19: number
KEY_F2: number
KEY_F20: number
KEY_F21: number
KEY_F22: number
KEY_F23: number
KEY_F24: number
KEY_F25: number
KEY_F26: number
KEY_F27: number
KEY_F28: number
KEY_F29: number
KEY_F3: number
KEY_F30: number
KEY_F31: number
KEY_F32: number
KEY_F33: number
KEY_F34: number
KEY_F35: number
KEY_F4: number
KEY_F5: number
KEY_F6: number
KEY_F7: number
KEY_F8: number
KEY_F9: number
KEY_FFrancSign: number
KEY_Fabovedot: number
KEY_Farsi_0: number
KEY_Farsi_1: number
KEY_Farsi_2: number
KEY_Farsi_3: number
KEY_Farsi_4: number
KEY_Farsi_5: number
KEY_Farsi_6: number
KEY_Farsi_7: number
KEY_Farsi_8: number
KEY_Farsi_9: number
KEY_Farsi_yeh: number
KEY_Favorites: number
KEY_Finance: number
KEY_Find: number
KEY_First_Virtual_Screen: number
KEY_Forward: number
KEY_FrameBack: number
KEY_FrameForward: number
KEY_G: number
KEY_Gabovedot: number
KEY_Game: number
KEY_Gbreve: number
KEY_Gcaron: number
KEY_Gcedilla: number
KEY_Gcircumflex: number
KEY_Georgian_an: number
KEY_Georgian_ban: number
KEY_Georgian_can: number
KEY_Georgian_char: number
KEY_Georgian_chin: number
KEY_Georgian_cil: number
KEY_Georgian_don: number
KEY_Georgian_en: number
KEY_Georgian_fi: number
KEY_Georgian_gan: number
KEY_Georgian_ghan: number
KEY_Georgian_hae: number
KEY_Georgian_har: number
KEY_Georgian_he: number
KEY_Georgian_hie: number
KEY_Georgian_hoe: number
KEY_Georgian_in: number
KEY_Georgian_jhan: number
KEY_Georgian_jil: number
KEY_Georgian_kan: number
KEY_Georgian_khar: number
KEY_Georgian_las: number
KEY_Georgian_man: number
KEY_Georgian_nar: number
KEY_Georgian_on: number
KEY_Georgian_par: number
KEY_Georgian_phar: number
KEY_Georgian_qar: number
KEY_Georgian_rae: number
KEY_Georgian_san: number
KEY_Georgian_shin: number
KEY_Georgian_tan: number
KEY_Georgian_tar: number
KEY_Georgian_un: number
KEY_Georgian_vin: number
KEY_Georgian_we: number
KEY_Georgian_xan: number
KEY_Georgian_zen: number
KEY_Georgian_zhar: number
KEY_Go: number
KEY_Greek_ALPHA: number
KEY_Greek_ALPHAaccent: number
KEY_Greek_BETA: number
KEY_Greek_CHI: number
KEY_Greek_DELTA: number
KEY_Greek_EPSILON: number
KEY_Greek_EPSILONaccent: number
KEY_Greek_ETA: number
KEY_Greek_ETAaccent: number
KEY_Greek_GAMMA: number
KEY_Greek_IOTA: number
KEY_Greek_IOTAaccent: number
KEY_Greek_IOTAdiaeresis: number
KEY_Greek_IOTAdieresis: number
KEY_Greek_KAPPA: number
KEY_Greek_LAMBDA: number
KEY_Greek_LAMDA: number
KEY_Greek_MU: number
KEY_Greek_NU: number
KEY_Greek_OMEGA: number
KEY_Greek_OMEGAaccent: number
KEY_Greek_OMICRON: number
KEY_Greek_OMICRONaccent: number
KEY_Greek_PHI: number
KEY_Greek_PI: number
KEY_Greek_PSI: number
KEY_Greek_RHO: number
KEY_Greek_SIGMA: number
KEY_Greek_TAU: number
KEY_Greek_THETA: number
KEY_Greek_UPSILON: number
KEY_Greek_UPSILONaccent: number
KEY_Greek_UPSILONdieresis: number
KEY_Greek_XI: number
KEY_Greek_ZETA: number
KEY_Greek_accentdieresis: number
KEY_Greek_alpha: number
KEY_Greek_alphaaccent: number
KEY_Greek_beta: number
KEY_Greek_chi: number
KEY_Greek_delta: number
KEY_Greek_epsilon: number
KEY_Greek_epsilonaccent: number
KEY_Greek_eta: number
KEY_Greek_etaaccent: number
KEY_Greek_finalsmallsigma: number
KEY_Greek_gamma: number
KEY_Greek_horizbar: number
KEY_Greek_iota: number
KEY_Greek_iotaaccent: number
KEY_Greek_iotaaccentdieresis: number
KEY_Greek_iotadieresis: number
KEY_Greek_kappa: number
KEY_Greek_lambda: number
KEY_Greek_lamda: number
KEY_Greek_mu: number
KEY_Greek_nu: number
KEY_Greek_omega: number
KEY_Greek_omegaaccent: number
KEY_Greek_omicron: number
KEY_Greek_omicronaccent: number
KEY_Greek_phi: number
KEY_Greek_pi: number
KEY_Greek_psi: number
KEY_Greek_rho: number
KEY_Greek_sigma: number
KEY_Greek_switch: number
KEY_Greek_tau: number
KEY_Greek_theta: number
KEY_Greek_upsilon: number
KEY_Greek_upsilonaccent: number
KEY_Greek_upsilonaccentdieresis: number
KEY_Greek_upsilondieresis: number
KEY_Greek_xi: number
KEY_Greek_zeta: number
KEY_Green: number
KEY_H: number
KEY_Hangul: number
KEY_Hangul_A: number
KEY_Hangul_AE: number
KEY_Hangul_AraeA: number
KEY_Hangul_AraeAE: number
KEY_Hangul_Banja: number
KEY_Hangul_Cieuc: number
KEY_Hangul_Codeinput: number
KEY_Hangul_Dikeud: number
KEY_Hangul_E: number
KEY_Hangul_EO: number
KEY_Hangul_EU: number
KEY_Hangul_End: number
KEY_Hangul_Hanja: number
KEY_Hangul_Hieuh: number
KEY_Hangul_I: number
KEY_Hangul_Ieung: number
KEY_Hangul_J_Cieuc: number
KEY_Hangul_J_Dikeud: number
KEY_Hangul_J_Hieuh: number
KEY_Hangul_J_Ieung: number
KEY_Hangul_J_Jieuj: number
KEY_Hangul_J_Khieuq: number
KEY_Hangul_J_Kiyeog: number
KEY_Hangul_J_KiyeogSios: number
KEY_Hangul_J_KkogjiDalrinIeung: number
KEY_Hangul_J_Mieum: number
KEY_Hangul_J_Nieun: number
KEY_Hangul_J_NieunHieuh: number
KEY_Hangul_J_NieunJieuj: number
KEY_Hangul_J_PanSios: number
KEY_Hangul_J_Phieuf: number
KEY_Hangul_J_Pieub: number
KEY_Hangul_J_PieubSios: number
KEY_Hangul_J_Rieul: number
KEY_Hangul_J_RieulHieuh: number
KEY_Hangul_J_RieulKiyeog: number
KEY_Hangul_J_RieulMieum: number
KEY_Hangul_J_RieulPhieuf: number
KEY_Hangul_J_RieulPieub: number
KEY_Hangul_J_RieulSios: number
KEY_Hangul_J_RieulTieut: number
KEY_Hangul_J_Sios: number
KEY_Hangul_J_SsangKiyeog: number
KEY_Hangul_J_SsangSios: number
KEY_Hangul_J_Tieut: number
KEY_Hangul_J_YeorinHieuh: number
KEY_Hangul_Jamo: number
KEY_Hangul_Jeonja: number
KEY_Hangul_Jieuj: number
KEY_Hangul_Khieuq: number
KEY_Hangul_Kiyeog: number
KEY_Hangul_KiyeogSios: number
KEY_Hangul_KkogjiDalrinIeung: number
KEY_Hangul_Mieum: number
KEY_Hangul_MultipleCandidate: number
KEY_Hangul_Nieun: number
KEY_Hangul_NieunHieuh: number
KEY_Hangul_NieunJieuj: number
KEY_Hangul_O: number
KEY_Hangul_OE: number
KEY_Hangul_PanSios: number
KEY_Hangul_Phieuf: number
KEY_Hangul_Pieub: number
KEY_Hangul_PieubSios: number
KEY_Hangul_PostHanja: number
KEY_Hangul_PreHanja: number
KEY_Hangul_PreviousCandidate: number
KEY_Hangul_Rieul: number
KEY_Hangul_RieulHieuh: number
KEY_Hangul_RieulKiyeog: number
KEY_Hangul_RieulMieum: number
KEY_Hangul_RieulPhieuf: number
KEY_Hangul_RieulPieub: number
KEY_Hangul_RieulSios: number
KEY_Hangul_RieulTieut: number
KEY_Hangul_RieulYeorinHieuh: number
KEY_Hangul_Romaja: number
KEY_Hangul_SingleCandidate: number
KEY_Hangul_Sios: number
KEY_Hangul_Special: number
KEY_Hangul_SsangDikeud: number
KEY_Hangul_SsangJieuj: number
KEY_Hangul_SsangKiyeog: number
KEY_Hangul_SsangPieub: number
KEY_Hangul_SsangSios: number
KEY_Hangul_Start: number
KEY_Hangul_SunkyeongeumMieum: number
KEY_Hangul_SunkyeongeumPhieuf: number
KEY_Hangul_SunkyeongeumPieub: number
KEY_Hangul_Tieut: number
KEY_Hangul_U: number
KEY_Hangul_WA: number
KEY_Hangul_WAE: number
KEY_Hangul_WE: number
KEY_Hangul_WEO: number
KEY_Hangul_WI: number
KEY_Hangul_YA: number
KEY_Hangul_YAE: number
KEY_Hangul_YE: number
KEY_Hangul_YEO: number
KEY_Hangul_YI: number
KEY_Hangul_YO: number
KEY_Hangul_YU: number
KEY_Hangul_YeorinHieuh: number
KEY_Hangul_switch: number
KEY_Hankaku: number
KEY_Hcircumflex: number
KEY_Hebrew_switch: number
KEY_Help: number
KEY_Henkan: number
KEY_Henkan_Mode: number
KEY_Hibernate: number
KEY_Hiragana: number
KEY_Hiragana_Katakana: number
KEY_History: number
KEY_Home: number
KEY_HomePage: number
KEY_HotLinks: number
KEY_Hstroke: number
KEY_Hyper_L: number
KEY_Hyper_R: number
KEY_I: number
KEY_ISO_Center_Object: number
KEY_ISO_Continuous_Underline: number
KEY_ISO_Discontinuous_Underline: number
KEY_ISO_Emphasize: number
KEY_ISO_Enter: number
KEY_ISO_Fast_Cursor_Down: number
KEY_ISO_Fast_Cursor_Left: number
KEY_ISO_Fast_Cursor_Right: number
KEY_ISO_Fast_Cursor_Up: number
KEY_ISO_First_Group: number
KEY_ISO_First_Group_Lock: number
KEY_ISO_Group_Latch: number
KEY_ISO_Group_Lock: number
KEY_ISO_Group_Shift: number
KEY_ISO_Last_Group: number
KEY_ISO_Last_Group_Lock: number
KEY_ISO_Left_Tab: number
KEY_ISO_Level2_Latch: number
KEY_ISO_Level3_Latch: number
KEY_ISO_Level3_Lock: number
KEY_ISO_Level3_Shift: number
KEY_ISO_Level5_Latch: number
KEY_ISO_Level5_Lock: number
KEY_ISO_Level5_Shift: number
KEY_ISO_Lock: number
KEY_ISO_Move_Line_Down: number
KEY_ISO_Move_Line_Up: number
KEY_ISO_Next_Group: number
KEY_ISO_Next_Group_Lock: number
KEY_ISO_Partial_Line_Down: number
KEY_ISO_Partial_Line_Up: number
KEY_ISO_Partial_Space_Left: number
KEY_ISO_Partial_Space_Right: number
KEY_ISO_Prev_Group: number
KEY_ISO_Prev_Group_Lock: number
KEY_ISO_Release_Both_Margins: number
KEY_ISO_Release_Margin_Left: number
KEY_ISO_Release_Margin_Right: number
KEY_ISO_Set_Margin_Left: number
KEY_ISO_Set_Margin_Right: number
KEY_Iabovedot: number
KEY_Iacute: number
KEY_Ibelowdot: number
KEY_Ibreve: number
KEY_Icircumflex: number
KEY_Idiaeresis: number
KEY_Igrave: number
KEY_Ihook: number
KEY_Imacron: number
KEY_Insert: number
KEY_Iogonek: number
KEY_Itilde: number
KEY_J: number
KEY_Jcircumflex: number
KEY_K: number
KEY_KP_0: number
KEY_KP_1: number
KEY_KP_2: number
KEY_KP_3: number
KEY_KP_4: number
KEY_KP_5: number
KEY_KP_6: number
KEY_KP_7: number
KEY_KP_8: number
KEY_KP_9: number
KEY_KP_Add: number
KEY_KP_Begin: number
KEY_KP_Decimal: number
KEY_KP_Delete: number
KEY_KP_Divide: number
KEY_KP_Down: number
KEY_KP_End: number
KEY_KP_Enter: number
KEY_KP_Equal: number
KEY_KP_F1: number
KEY_KP_F2: number
KEY_KP_F3: number
KEY_KP_F4: number
KEY_KP_Home: number
KEY_KP_Insert: number
KEY_KP_Left: number
KEY_KP_Multiply: number
KEY_KP_Next: number
KEY_KP_Page_Down: number
KEY_KP_Page_Up: number
KEY_KP_Prior: number
KEY_KP_Right: number
KEY_KP_Separator: number
KEY_KP_Space: number
KEY_KP_Subtract: number
KEY_KP_Tab: number
KEY_KP_Up: number
KEY_Kana_Lock: number
KEY_Kana_Shift: number
KEY_Kanji: number
KEY_Kanji_Bangou: number
KEY_Katakana: number
KEY_KbdBrightnessDown: number
KEY_KbdBrightnessUp: number
KEY_KbdLightOnOff: number
KEY_Kcedilla: number
KEY_Korean_Won: number
KEY_L: number
KEY_L1: number
KEY_L10: number
KEY_L2: number
KEY_L3: number
KEY_L4: number
KEY_L5: number
KEY_L6: number
KEY_L7: number
KEY_L8: number
KEY_L9: number
KEY_Lacute: number
KEY_Last_Virtual_Screen: number
KEY_Launch0: number
KEY_Launch1: number
KEY_Launch2: number
KEY_Launch3: number
KEY_Launch4: number
KEY_Launch5: number
KEY_Launch6: number
KEY_Launch7: number
KEY_Launch8: number
KEY_Launch9: number
KEY_LaunchA: number
KEY_LaunchB: number
KEY_LaunchC: number
KEY_LaunchD: number
KEY_LaunchE: number
KEY_LaunchF: number
KEY_Lbelowdot: number
KEY_Lcaron: number
KEY_Lcedilla: number
KEY_Left: number
KEY_LightBulb: number
KEY_Linefeed: number
KEY_LiraSign: number
KEY_LogOff: number
KEY_Lstroke: number
KEY_M: number
KEY_Mabovedot: number
KEY_Macedonia_DSE: number
KEY_Macedonia_GJE: number
KEY_Macedonia_KJE: number
KEY_Macedonia_dse: number
KEY_Macedonia_gje: number
KEY_Macedonia_kje: number
KEY_Mae_Koho: number
KEY_Mail: number
KEY_MailForward: number
KEY_Market: number
KEY_Massyo: number
KEY_Meeting: number
KEY_Memo: number
KEY_Menu: number
KEY_MenuKB: number
KEY_MenuPB: number
KEY_Messenger: number
KEY_Meta_L: number
KEY_Meta_R: number
KEY_MillSign: number
KEY_ModeLock: number
KEY_Mode_switch: number
KEY_MonBrightnessDown: number
KEY_MonBrightnessUp: number
KEY_MouseKeys_Accel_Enable: number
KEY_MouseKeys_Enable: number
KEY_Muhenkan: number
KEY_Multi_key: number
KEY_MultipleCandidate: number
KEY_Music: number
KEY_MyComputer: number
KEY_MySites: number
KEY_N: number
KEY_Nacute: number
KEY_NairaSign: number
KEY_Ncaron: number
KEY_Ncedilla: number
KEY_New: number
KEY_NewSheqelSign: number
KEY_News: number
KEY_Next: number
KEY_Next_VMode: number
KEY_Next_Virtual_Screen: number
KEY_Ntilde: number
KEY_Num_Lock: number
KEY_O: number
KEY_OE: number
KEY_Oacute: number
KEY_Obarred: number
KEY_Obelowdot: number
KEY_Ocaron: number
KEY_Ocircumflex: number
KEY_Ocircumflexacute: number
KEY_Ocircumflexbelowdot: number
KEY_Ocircumflexgrave: number
KEY_Ocircumflexhook: number
KEY_Ocircumflextilde: number
KEY_Odiaeresis: number
KEY_Odoubleacute: number
KEY_OfficeHome: number
KEY_Ograve: number
KEY_Ohook: number
KEY_Ohorn: number
KEY_Ohornacute: number
KEY_Ohornbelowdot: number
KEY_Ohorngrave: number
KEY_Ohornhook: number
KEY_Ohorntilde: number
KEY_Omacron: number
KEY_Ooblique: number
KEY_Open: number
KEY_OpenURL: number
KEY_Option: number
KEY_Oslash: number
KEY_Otilde: number
KEY_Overlay1_Enable: number
KEY_Overlay2_Enable: number
KEY_P: number
KEY_Pabovedot: number
KEY_Page_Down: number
KEY_Page_Up: number
KEY_Paste: number
KEY_Pause: number
KEY_PesetaSign: number
KEY_Phone: number
KEY_Pictures: number
KEY_Pointer_Accelerate: number
KEY_Pointer_Button1: number
KEY_Pointer_Button2: number
KEY_Pointer_Button3: number
KEY_Pointer_Button4: number
KEY_Pointer_Button5: number
KEY_Pointer_Button_Dflt: number
KEY_Pointer_DblClick1: number
KEY_Pointer_DblClick2: number
KEY_Pointer_DblClick3: number
KEY_Pointer_DblClick4: number
KEY_Pointer_DblClick5: number
KEY_Pointer_DblClick_Dflt: number
KEY_Pointer_DfltBtnNext: number
KEY_Pointer_DfltBtnPrev: number
KEY_Pointer_Down: number
KEY_Pointer_DownLeft: number
KEY_Pointer_DownRight: number
KEY_Pointer_Drag1: number
KEY_Pointer_Drag2: number
KEY_Pointer_Drag3: number
KEY_Pointer_Drag4: number
KEY_Pointer_Drag5: number
KEY_Pointer_Drag_Dflt: number
KEY_Pointer_EnableKeys: number
KEY_Pointer_Left: number
KEY_Pointer_Right: number
KEY_Pointer_Up: number
KEY_Pointer_UpLeft: number
KEY_Pointer_UpRight: number
KEY_PowerDown: number
KEY_PowerOff: number
KEY_Prev_VMode: number
KEY_Prev_Virtual_Screen: number
KEY_PreviousCandidate: number
KEY_Print: number
KEY_Prior: number
KEY_Q: number
KEY_R: number
KEY_R1: number
KEY_R10: number
KEY_R11: number
KEY_R12: number
KEY_R13: number
KEY_R14: number
KEY_R15: number
KEY_R2: number
KEY_R3: number
KEY_R4: number
KEY_R5: number
KEY_R6: number
KEY_R7: number
KEY_R8: number
KEY_R9: number
KEY_Racute: number
KEY_Rcaron: number
KEY_Rcedilla: number
KEY_Red: number
KEY_Redo: number
KEY_Refresh: number
KEY_Reload: number
KEY_RepeatKeys_Enable: number
KEY_Reply: number
KEY_Return: number
KEY_Right: number
KEY_RockerDown: number
KEY_RockerEnter: number
KEY_RockerUp: number
KEY_Romaji: number
KEY_RotateWindows: number
KEY_RotationKB: number
KEY_RotationPB: number
KEY_RupeeSign: number
KEY_S: number
KEY_SCHWA: number
KEY_Sabovedot: number
KEY_Sacute: number
KEY_Save: number
KEY_Scaron: number
KEY_Scedilla: number
KEY_Scircumflex: number
KEY_ScreenSaver: number
KEY_ScrollClick: number
KEY_ScrollDown: number
KEY_ScrollUp: number
KEY_Scroll_Lock: number
KEY_Search: number
KEY_Select: number
KEY_SelectButton: number
KEY_Send: number
KEY_Serbian_DJE: number
KEY_Serbian_DZE: number
KEY_Serbian_JE: number
KEY_Serbian_LJE: number
KEY_Serbian_NJE: number
KEY_Serbian_TSHE: number
KEY_Serbian_dje: number
KEY_Serbian_dze: number
KEY_Serbian_je: number
KEY_Serbian_lje: number
KEY_Serbian_nje: number
KEY_Serbian_tshe: number
KEY_Shift_L: number
KEY_Shift_Lock: number
KEY_Shift_R: number
KEY_Shop: number
KEY_SingleCandidate: number
KEY_Sleep: number
KEY_SlowKeys_Enable: number
KEY_Spell: number
KEY_SplitScreen: number
KEY_Standby: number
KEY_Start: number
KEY_StickyKeys_Enable: number
KEY_Stop: number
KEY_Subtitle: number
KEY_Super_L: number
KEY_Super_R: number
KEY_Support: number
KEY_Suspend: number
KEY_Switch_VT_1: number
KEY_Switch_VT_10: number
KEY_Switch_VT_11: number
KEY_Switch_VT_12: number
KEY_Switch_VT_2: number
KEY_Switch_VT_3: number
KEY_Switch_VT_4: number
KEY_Switch_VT_5: number
KEY_Switch_VT_6: number
KEY_Switch_VT_7: number
KEY_Switch_VT_8: number
KEY_Switch_VT_9: number
KEY_Sys_Req: number
KEY_T: number
KEY_THORN: number
KEY_Tab: number
KEY_Tabovedot: number
KEY_TaskPane: number
KEY_Tcaron: number
KEY_Tcedilla: number
KEY_Terminal: number
KEY_Terminate_Server: number
KEY_Thai_baht: number
KEY_Thai_bobaimai: number
KEY_Thai_chochan: number
KEY_Thai_chochang: number
KEY_Thai_choching: number
KEY_Thai_chochoe: number
KEY_Thai_dochada: number
KEY_Thai_dodek: number
KEY_Thai_fofa: number
KEY_Thai_fofan: number
KEY_Thai_hohip: number
KEY_Thai_honokhuk: number
KEY_Thai_khokhai: number
KEY_Thai_khokhon: number
KEY_Thai_khokhuat: number
KEY_Thai_khokhwai: number
KEY_Thai_khorakhang: number
KEY_Thai_kokai: number
KEY_Thai_lakkhangyao: number
KEY_Thai_lekchet: number
KEY_Thai_lekha: number
KEY_Thai_lekhok: number
KEY_Thai_lekkao: number
KEY_Thai_leknung: number
KEY_Thai_lekpaet: number
KEY_Thai_leksam: number
KEY_Thai_leksi: number
KEY_Thai_leksong: number
KEY_Thai_leksun: number
KEY_Thai_lochula: number
KEY_Thai_loling: number
KEY_Thai_lu: number
KEY_Thai_maichattawa: number
KEY_Thai_maiek: number
KEY_Thai_maihanakat: number
KEY_Thai_maihanakat_maitho: number
KEY_Thai_maitaikhu: number
KEY_Thai_maitho: number
KEY_Thai_maitri: number
KEY_Thai_maiyamok: number
KEY_Thai_moma: number
KEY_Thai_ngongu: number
KEY_Thai_nikhahit: number
KEY_Thai_nonen: number
KEY_Thai_nonu: number
KEY_Thai_oang: number
KEY_Thai_paiyannoi: number
KEY_Thai_phinthu: number
KEY_Thai_phophan: number
KEY_Thai_phophung: number
KEY_Thai_phosamphao: number
KEY_Thai_popla: number
KEY_Thai_rorua: number
KEY_Thai_ru: number
KEY_Thai_saraa: number
KEY_Thai_saraaa: number
KEY_Thai_saraae: number
KEY_Thai_saraaimaimalai: number
KEY_Thai_saraaimaimuan: number
KEY_Thai_saraam: number
KEY_Thai_sarae: number
KEY_Thai_sarai: number
KEY_Thai_saraii: number
KEY_Thai_sarao: number
KEY_Thai_sarau: number
KEY_Thai_saraue: number
KEY_Thai_sarauee: number
KEY_Thai_sarauu: number
KEY_Thai_sorusi: number
KEY_Thai_sosala: number
KEY_Thai_soso: number
KEY_Thai_sosua: number
KEY_Thai_thanthakhat: number
KEY_Thai_thonangmontho: number
KEY_Thai_thophuthao: number
KEY_Thai_thothahan: number
KEY_Thai_thothan: number
KEY_Thai_thothong: number
KEY_Thai_thothung: number
KEY_Thai_topatak: number
KEY_Thai_totao: number
KEY_Thai_wowaen: number
KEY_Thai_yoyak: number
KEY_Thai_yoying: number
KEY_Thorn: number
KEY_Time: number
KEY_ToDoList: number
KEY_Tools: number
KEY_TopMenu: number
KEY_TouchpadToggle: number
KEY_Touroku: number
KEY_Travel: number
KEY_Tslash: number
KEY_U: number
KEY_UWB: number
KEY_Uacute: number
KEY_Ubelowdot: number
KEY_Ubreve: number
KEY_Ucircumflex: number
KEY_Udiaeresis: number
KEY_Udoubleacute: number
KEY_Ugrave: number
KEY_Uhook: number
KEY_Uhorn: number
KEY_Uhornacute: number
KEY_Uhornbelowdot: number
KEY_Uhorngrave: number
KEY_Uhornhook: number
KEY_Uhorntilde: number
KEY_Ukrainian_GHE_WITH_UPTURN: number
KEY_Ukrainian_I: number
KEY_Ukrainian_IE: number
KEY_Ukrainian_YI: number
KEY_Ukrainian_ghe_with_upturn: number
KEY_Ukrainian_i: number
KEY_Ukrainian_ie: number
KEY_Ukrainian_yi: number
KEY_Ukranian_I: number
KEY_Ukranian_JE: number
KEY_Ukranian_YI: number
KEY_Ukranian_i: number
KEY_Ukranian_je: number
KEY_Ukranian_yi: number
KEY_Umacron: number
KEY_Undo: number
KEY_Ungrab: number
KEY_Uogonek: number
KEY_Up: number
KEY_Uring: number
KEY_User1KB: number
KEY_User2KB: number
KEY_UserPB: number
KEY_Utilde: number
KEY_V: number
KEY_VendorHome: number
KEY_Video: number
KEY_View: number
KEY_VoidSymbol: number
KEY_W: number
KEY_WLAN: number
KEY_WWW: number
KEY_Wacute: number
KEY_WakeUp: number
KEY_Wcircumflex: number
KEY_Wdiaeresis: number
KEY_WebCam: number
KEY_Wgrave: number
KEY_WheelButton: number
KEY_WindowClear: number
KEY_WonSign: number
KEY_Word: number
KEY_X: number
KEY_Xabovedot: number
KEY_Xfer: number
KEY_Y: number
KEY_Yacute: number
KEY_Ybelowdot: number
KEY_Ycircumflex: number
KEY_Ydiaeresis: number
KEY_Yellow: number
KEY_Ygrave: number
KEY_Yhook: number
KEY_Ytilde: number
KEY_Z: number
KEY_Zabovedot: number
KEY_Zacute: number
KEY_Zcaron: number
KEY_Zen_Koho: number
KEY_Zenkaku: number
KEY_Zenkaku_Hankaku: number
KEY_ZoomIn: number
KEY_ZoomOut: number
KEY_Zstroke: number
KEY_a: number
KEY_aacute: number
KEY_abelowdot: number
KEY_abovedot: number
KEY_abreve: number
KEY_abreveacute: number
KEY_abrevebelowdot: number
KEY_abrevegrave: number
KEY_abrevehook: number
KEY_abrevetilde: number
KEY_acircumflex: number
KEY_acircumflexacute: number
KEY_acircumflexbelowdot: number
KEY_acircumflexgrave: number
KEY_acircumflexhook: number
KEY_acircumflextilde: number
KEY_acute: number
KEY_adiaeresis: number
KEY_ae: number
KEY_agrave: number
KEY_ahook: number
KEY_amacron: number
KEY_ampersand: number
KEY_aogonek: number
KEY_apostrophe: number
KEY_approxeq: number
KEY_approximate: number
KEY_aring: number
KEY_asciicircum: number
KEY_asciitilde: number
KEY_asterisk: number
KEY_at: number
KEY_atilde: number
KEY_b: number
KEY_babovedot: number
KEY_backslash: number
KEY_ballotcross: number
KEY_bar: number
KEY_because: number
KEY_blank: number
KEY_botintegral: number
KEY_botleftparens: number
KEY_botleftsqbracket: number
KEY_botleftsummation: number
KEY_botrightparens: number
KEY_botrightsqbracket: number
KEY_botrightsummation: number
KEY_bott: number
KEY_botvertsummationconnector: number
KEY_braceleft: number
KEY_braceright: number
KEY_bracketleft: number
KEY_bracketright: number
KEY_braille_blank: number
KEY_braille_dot_1: number
KEY_braille_dot_10: number
KEY_braille_dot_2: number
KEY_braille_dot_3: number
KEY_braille_dot_4: number
KEY_braille_dot_5: number
KEY_braille_dot_6: number
KEY_braille_dot_7: number
KEY_braille_dot_8: number
KEY_braille_dot_9: number
KEY_braille_dots_1: number
KEY_braille_dots_12: number
KEY_braille_dots_123: number
KEY_braille_dots_1234: number
KEY_braille_dots_12345: number
KEY_braille_dots_123456: number
KEY_braille_dots_1234567: number
KEY_braille_dots_12345678: number
KEY_braille_dots_1234568: number
KEY_braille_dots_123457: number
KEY_braille_dots_1234578: number
KEY_braille_dots_123458: number
KEY_braille_dots_12346: number
KEY_braille_dots_123467: number
KEY_braille_dots_1234678: number
KEY_braille_dots_123468: number
KEY_braille_dots_12347: number
KEY_braille_dots_123478: number
KEY_braille_dots_12348: number
KEY_braille_dots_1235: number
KEY_braille_dots_12356: number
KEY_braille_dots_123567: number
KEY_braille_dots_1235678: number
KEY_braille_dots_123568: number
KEY_braille_dots_12357: number
KEY_braille_dots_123578: number
KEY_braille_dots_12358: number
KEY_braille_dots_1236: number
KEY_braille_dots_12367: number
KEY_braille_dots_123678: number
KEY_braille_dots_12368: number
KEY_braille_dots_1237: number
KEY_braille_dots_12378: number
KEY_braille_dots_1238: number
KEY_braille_dots_124: number
KEY_braille_dots_1245: number
KEY_braille_dots_12456: number
KEY_braille_dots_124567: number
KEY_braille_dots_1245678: number
KEY_braille_dots_124568: number
KEY_braille_dots_12457: number
KEY_braille_dots_124578: number
KEY_braille_dots_12458: number
KEY_braille_dots_1246: number
KEY_braille_dots_12467: number
KEY_braille_dots_124678: number
KEY_braille_dots_12468: number
KEY_braille_dots_1247: number
KEY_braille_dots_12478: number
KEY_braille_dots_1248: number
KEY_braille_dots_125: number
KEY_braille_dots_1256: number
KEY_braille_dots_12567: number
KEY_braille_dots_125678: number
KEY_braille_dots_12568: number
KEY_braille_dots_1257: number
KEY_braille_dots_12578: number
KEY_braille_dots_1258: number
KEY_braille_dots_126: number
KEY_braille_dots_1267: number
KEY_braille_dots_12678: number
KEY_braille_dots_1268: number
KEY_braille_dots_127: number
KEY_braille_dots_1278: number
KEY_braille_dots_128: number
KEY_braille_dots_13: number
KEY_braille_dots_134: number
KEY_braille_dots_1345: number
KEY_braille_dots_13456: number
KEY_braille_dots_134567: number
KEY_braille_dots_1345678: number
KEY_braille_dots_134568: number
KEY_braille_dots_13457: number
KEY_braille_dots_134578: number
KEY_braille_dots_13458: number
KEY_braille_dots_1346: number
KEY_braille_dots_13467: number
KEY_braille_dots_134678: number
KEY_braille_dots_13468: number
KEY_braille_dots_1347: number
KEY_braille_dots_13478: number
KEY_braille_dots_1348: number
KEY_braille_dots_135: number
KEY_braille_dots_1356: number
KEY_braille_dots_13567: number
KEY_braille_dots_135678: number
KEY_braille_dots_13568: number
KEY_braille_dots_1357: number
KEY_braille_dots_13578: number
KEY_braille_dots_1358: number
KEY_braille_dots_136: number
KEY_braille_dots_1367: number
KEY_braille_dots_13678: number
KEY_braille_dots_1368: number
KEY_braille_dots_137: number
KEY_braille_dots_1378: number
KEY_braille_dots_138: number
KEY_braille_dots_14: number
KEY_braille_dots_145: number
KEY_braille_dots_1456: number
KEY_braille_dots_14567: number
KEY_braille_dots_145678: number
KEY_braille_dots_14568: number
KEY_braille_dots_1457: number
KEY_braille_dots_14578: number
KEY_braille_dots_1458: number
KEY_braille_dots_146: number
KEY_braille_dots_1467: number
KEY_braille_dots_14678: number
KEY_braille_dots_1468: number
KEY_braille_dots_147: number
KEY_braille_dots_1478: number
KEY_braille_dots_148: number
KEY_braille_dots_15: number
KEY_braille_dots_156: number
KEY_braille_dots_1567: number
KEY_braille_dots_15678: number
KEY_braille_dots_1568: number
KEY_braille_dots_157: number
KEY_braille_dots_1578: number
KEY_braille_dots_158: number
KEY_braille_dots_16: number
KEY_braille_dots_167: number
KEY_braille_dots_1678: number
KEY_braille_dots_168: number
KEY_braille_dots_17: number
KEY_braille_dots_178: number
KEY_braille_dots_18: number
KEY_braille_dots_2: number
KEY_braille_dots_23: number
KEY_braille_dots_234: number
KEY_braille_dots_2345: number
KEY_braille_dots_23456: number
KEY_braille_dots_234567: number
KEY_braille_dots_2345678: number
KEY_braille_dots_234568: number
KEY_braille_dots_23457: number
KEY_braille_dots_234578: number
KEY_braille_dots_23458: number
KEY_braille_dots_2346: number
KEY_braille_dots_23467: number
KEY_braille_dots_234678: number
KEY_braille_dots_23468: number
KEY_braille_dots_2347: number
KEY_braille_dots_23478: number
KEY_braille_dots_2348: number
KEY_braille_dots_235: number
KEY_braille_dots_2356: number
KEY_braille_dots_23567: number
KEY_braille_dots_235678: number
KEY_braille_dots_23568: number
KEY_braille_dots_2357: number
KEY_braille_dots_23578: number
KEY_braille_dots_2358: number
KEY_braille_dots_236: number
KEY_braille_dots_2367: number
KEY_braille_dots_23678: number
KEY_braille_dots_2368: number
KEY_braille_dots_237: number
KEY_braille_dots_2378: number
KEY_braille_dots_238: number
KEY_braille_dots_24: number
KEY_braille_dots_245: number
KEY_braille_dots_2456: number
KEY_braille_dots_24567: number
KEY_braille_dots_245678: number
KEY_braille_dots_24568: number
KEY_braille_dots_2457: number
KEY_braille_dots_24578: number
KEY_braille_dots_2458: number
KEY_braille_dots_246: number
KEY_braille_dots_2467: number
KEY_braille_dots_24678: number
KEY_braille_dots_2468: number
KEY_braille_dots_247: number
KEY_braille_dots_2478: number
KEY_braille_dots_248: number
KEY_braille_dots_25: number
KEY_braille_dots_256: number
KEY_braille_dots_2567: number
KEY_braille_dots_25678: number
KEY_braille_dots_2568: number
KEY_braille_dots_257: number
KEY_braille_dots_2578: number
KEY_braille_dots_258: number
KEY_braille_dots_26: number
KEY_braille_dots_267: number
KEY_braille_dots_2678: number
KEY_braille_dots_268: number
KEY_braille_dots_27: number
KEY_braille_dots_278: number
KEY_braille_dots_28: number
KEY_braille_dots_3: number
KEY_braille_dots_34: number
KEY_braille_dots_345: number
KEY_braille_dots_3456: number
KEY_braille_dots_34567: number
KEY_braille_dots_345678: number
KEY_braille_dots_34568: number
KEY_braille_dots_3457: number
KEY_braille_dots_34578: number
KEY_braille_dots_3458: number
KEY_braille_dots_346: number
KEY_braille_dots_3467: number
KEY_braille_dots_34678: number
KEY_braille_dots_3468: number
KEY_braille_dots_347: number
KEY_braille_dots_3478: number
KEY_braille_dots_348: number
KEY_braille_dots_35: number
KEY_braille_dots_356: number
KEY_braille_dots_3567: number
KEY_braille_dots_35678: number
KEY_braille_dots_3568: number
KEY_braille_dots_357: number
KEY_braille_dots_3578: number
KEY_braille_dots_358: number
KEY_braille_dots_36: number
KEY_braille_dots_367: number
KEY_braille_dots_3678: number
KEY_braille_dots_368: number
KEY_braille_dots_37: number
KEY_braille_dots_378: number
KEY_braille_dots_38: number
KEY_braille_dots_4: number
KEY_braille_dots_45: number
KEY_braille_dots_456: number
KEY_braille_dots_4567: number
KEY_braille_dots_45678: number
KEY_braille_dots_4568: number
KEY_braille_dots_457: number
KEY_braille_dots_4578: number
KEY_braille_dots_458: number
KEY_braille_dots_46: number
KEY_braille_dots_467: number
KEY_braille_dots_4678: number
KEY_braille_dots_468: number
KEY_braille_dots_47: number
KEY_braille_dots_478: number
KEY_braille_dots_48: number
KEY_braille_dots_5: number
KEY_braille_dots_56: number
KEY_braille_dots_567: number
KEY_braille_dots_5678: number
KEY_braille_dots_568: number
KEY_braille_dots_57: number
KEY_braille_dots_578: number
KEY_braille_dots_58: number
KEY_braille_dots_6: number
KEY_braille_dots_67: number
KEY_braille_dots_678: number
KEY_braille_dots_68: number
KEY_braille_dots_7: number
KEY_braille_dots_78: number
KEY_braille_dots_8: number
KEY_breve: number
KEY_brokenbar: number
KEY_c: number
KEY_cabovedot: number
KEY_cacute: number
KEY_careof: number
KEY_caret: number
KEY_caron: number
KEY_ccaron: number
KEY_ccedilla: number
KEY_ccircumflex: number
KEY_cedilla: number
KEY_cent: number
KEY_checkerboard: number
KEY_checkmark: number
KEY_circle: number
KEY_club: number
KEY_colon: number
KEY_comma: number
KEY_containsas: number
KEY_copyright: number
KEY_cr: number
KEY_crossinglines: number
KEY_cuberoot: number
KEY_currency: number
KEY_cursor: number
KEY_d: number
KEY_dabovedot: number
KEY_dagger: number
KEY_dcaron: number
KEY_dead_A: number
KEY_dead_E: number
KEY_dead_I: number
KEY_dead_O: number
KEY_dead_U: number
KEY_dead_a: number
KEY_dead_abovecomma: number
KEY_dead_abovedot: number
KEY_dead_abovereversedcomma: number
KEY_dead_abovering: number
KEY_dead_acute: number
KEY_dead_belowbreve: number
KEY_dead_belowcircumflex: number
KEY_dead_belowcomma: number
KEY_dead_belowdiaeresis: number
KEY_dead_belowdot: number
KEY_dead_belowmacron: number
KEY_dead_belowring: number
KEY_dead_belowtilde: number
KEY_dead_breve: number
KEY_dead_capital_schwa: number
KEY_dead_caron: number
KEY_dead_cedilla: number
KEY_dead_circumflex: number
KEY_dead_currency: number
KEY_dead_dasia: number
KEY_dead_diaeresis: number
KEY_dead_doubleacute: number
KEY_dead_doublegrave: number
KEY_dead_e: number
KEY_dead_grave: number
KEY_dead_hook: number
KEY_dead_horn: number
KEY_dead_i: number
KEY_dead_invertedbreve: number
KEY_dead_iota: number
KEY_dead_macron: number
KEY_dead_o: number
KEY_dead_ogonek: number
KEY_dead_perispomeni: number
KEY_dead_psili: number
KEY_dead_semivoiced_sound: number
KEY_dead_small_schwa: number
KEY_dead_stroke: number
KEY_dead_tilde: number
KEY_dead_u: number
KEY_dead_voiced_sound: number
KEY_decimalpoint: number
KEY_degree: number
KEY_diaeresis: number
KEY_diamond: number
KEY_digitspace: number
KEY_dintegral: number
KEY_division: number
KEY_dollar: number
KEY_doubbaselinedot: number
KEY_doubleacute: number
KEY_doubledagger: number
KEY_doublelowquotemark: number
KEY_downarrow: number
KEY_downcaret: number
KEY_downshoe: number
KEY_downstile: number
KEY_downtack: number
KEY_dstroke: number
KEY_e: number
KEY_eabovedot: number
KEY_eacute: number
KEY_ebelowdot: number
KEY_ecaron: number
KEY_ecircumflex: number
KEY_ecircumflexacute: number
KEY_ecircumflexbelowdot: number
KEY_ecircumflexgrave: number
KEY_ecircumflexhook: number
KEY_ecircumflextilde: number
KEY_ediaeresis: number
KEY_egrave: number
KEY_ehook: number
KEY_eightsubscript: number
KEY_eightsuperior: number
KEY_elementof: number
KEY_ellipsis: number
KEY_em3space: number
KEY_em4space: number
KEY_emacron: number
KEY_emdash: number
KEY_emfilledcircle: number
KEY_emfilledrect: number
KEY_emopencircle: number
KEY_emopenrectangle: number
KEY_emptyset: number
KEY_emspace: number
KEY_endash: number
KEY_enfilledcircbullet: number
KEY_enfilledsqbullet: number
KEY_eng: number
KEY_enopencircbullet: number
KEY_enopensquarebullet: number
KEY_enspace: number
KEY_eogonek: number
KEY_equal: number
KEY_eth: number
KEY_etilde: number
KEY_exclam: number
KEY_exclamdown: number
KEY_f: number
KEY_fabovedot: number
KEY_femalesymbol: number
KEY_ff: number
KEY_figdash: number
KEY_filledlefttribullet: number
KEY_filledrectbullet: number
KEY_filledrighttribullet: number
KEY_filledtribulletdown: number
KEY_filledtribulletup: number
KEY_fiveeighths: number
KEY_fivesixths: number
KEY_fivesubscript: number
KEY_fivesuperior: number
KEY_fourfifths: number
KEY_foursubscript: number
KEY_foursuperior: number
KEY_fourthroot: number
KEY_function: number
KEY_g: number
KEY_gabovedot: number
KEY_gbreve: number
KEY_gcaron: number
KEY_gcedilla: number
KEY_gcircumflex: number
KEY_grave: number
KEY_greater: number
KEY_greaterthanequal: number
KEY_guillemotleft: number
KEY_guillemotright: number
KEY_h: number
KEY_hairspace: number
KEY_hcircumflex: number
KEY_heart: number
KEY_hebrew_aleph: number
KEY_hebrew_ayin: number
KEY_hebrew_bet: number
KEY_hebrew_beth: number
KEY_hebrew_chet: number
KEY_hebrew_dalet: number
KEY_hebrew_daleth: number
KEY_hebrew_doublelowline: number
KEY_hebrew_finalkaph: number
KEY_hebrew_finalmem: number
KEY_hebrew_finalnun: number
KEY_hebrew_finalpe: number
KEY_hebrew_finalzade: number
KEY_hebrew_finalzadi: number
KEY_hebrew_gimel: number
KEY_hebrew_gimmel: number
KEY_hebrew_he: number
KEY_hebrew_het: number
KEY_hebrew_kaph: number
KEY_hebrew_kuf: number
KEY_hebrew_lamed: number
KEY_hebrew_mem: number
KEY_hebrew_nun: number
KEY_hebrew_pe: number
KEY_hebrew_qoph: number
KEY_hebrew_resh: number
KEY_hebrew_samech: number
KEY_hebrew_samekh: number
KEY_hebrew_shin: number
KEY_hebrew_taf: number
KEY_hebrew_taw: number
KEY_hebrew_tet: number
KEY_hebrew_teth: number
KEY_hebrew_waw: number
KEY_hebrew_yod: number
KEY_hebrew_zade: number
KEY_hebrew_zadi: number
KEY_hebrew_zain: number
KEY_hebrew_zayin: number
KEY_hexagram: number
KEY_horizconnector: number
KEY_horizlinescan1: number
KEY_horizlinescan3: number
KEY_horizlinescan5: number
KEY_horizlinescan7: number
KEY_horizlinescan9: number
KEY_hstroke: number
KEY_ht: number
KEY_hyphen: number
KEY_i: number
KEY_iTouch: number
KEY_iacute: number
KEY_ibelowdot: number
KEY_ibreve: number
KEY_icircumflex: number
KEY_identical: number
KEY_idiaeresis: number
KEY_idotless: number
KEY_ifonlyif: number
KEY_igrave: number
KEY_ihook: number
KEY_imacron: number
KEY_implies: number
KEY_includedin: number
KEY_includes: number
KEY_infinity: number
KEY_integral: number
KEY_intersection: number
KEY_iogonek: number
KEY_itilde: number
KEY_j: number
KEY_jcircumflex: number
KEY_jot: number
KEY_k: number
KEY_kana_A: number
KEY_kana_CHI: number
KEY_kana_E: number
KEY_kana_FU: number
KEY_kana_HA: number
KEY_kana_HE: number
KEY_kana_HI: number
KEY_kana_HO: number
KEY_kana_HU: number
KEY_kana_I: number
KEY_kana_KA: number
KEY_kana_KE: number
KEY_kana_KI: number
KEY_kana_KO: number
KEY_kana_KU: number
KEY_kana_MA: number
KEY_kana_ME: number
KEY_kana_MI: number
KEY_kana_MO: number
KEY_kana_MU: number
KEY_kana_N: number
KEY_kana_NA: number
KEY_kana_NE: number
KEY_kana_NI: number
KEY_kana_NO: number
KEY_kana_NU: number
KEY_kana_O: number
KEY_kana_RA: number
KEY_kana_RE: number
KEY_kana_RI: number
KEY_kana_RO: number
KEY_kana_RU: number
KEY_kana_SA: number
KEY_kana_SE: number
KEY_kana_SHI: number
KEY_kana_SO: number
KEY_kana_SU: number
KEY_kana_TA: number
KEY_kana_TE: number
KEY_kana_TI: number
KEY_kana_TO: number
KEY_kana_TSU: number
KEY_kana_TU: number
KEY_kana_U: number
KEY_kana_WA: number
KEY_kana_WO: number
KEY_kana_YA: number
KEY_kana_YO: number
KEY_kana_YU: number
KEY_kana_a: number
KEY_kana_closingbracket: number
KEY_kana_comma: number
KEY_kana_conjunctive: number
KEY_kana_e: number
KEY_kana_fullstop: number
KEY_kana_i: number
KEY_kana_middledot: number
KEY_kana_o: number
KEY_kana_openingbracket: number
KEY_kana_switch: number
KEY_kana_tsu: number
KEY_kana_tu: number
KEY_kana_u: number
KEY_kana_ya: number
KEY_kana_yo: number
KEY_kana_yu: number
KEY_kappa: number
KEY_kcedilla: number
KEY_kra: number
KEY_l: number
KEY_lacute: number
KEY_latincross: number
KEY_lbelowdot: number
KEY_lcaron: number
KEY_lcedilla: number
KEY_leftanglebracket: number
KEY_leftarrow: number
KEY_leftcaret: number
KEY_leftdoublequotemark: number
KEY_leftmiddlecurlybrace: number
KEY_leftopentriangle: number
KEY_leftpointer: number
KEY_leftradical: number
KEY_leftshoe: number
KEY_leftsinglequotemark: number
KEY_leftt: number
KEY_lefttack: number
KEY_less: number
KEY_lessthanequal: number
KEY_lf: number
KEY_logicaland: number
KEY_logicalor: number
KEY_lowleftcorner: number
KEY_lowrightcorner: number
KEY_lstroke: number
KEY_m: number
KEY_mabovedot: number
KEY_macron: number
KEY_malesymbol: number
KEY_maltesecross: number
KEY_marker: number
KEY_masculine: number
KEY_minus: number
KEY_minutes: number
KEY_mu: number
KEY_multiply: number
KEY_musicalflat: number
KEY_musicalsharp: number
KEY_n: number
KEY_nabla: number
KEY_nacute: number
KEY_ncaron: number
KEY_ncedilla: number
KEY_ninesubscript: number
KEY_ninesuperior: number
KEY_nl: number
KEY_nobreakspace: number
KEY_notapproxeq: number
KEY_notelementof: number
KEY_notequal: number
KEY_notidentical: number
KEY_notsign: number
KEY_ntilde: number
KEY_numbersign: number
KEY_numerosign: number
KEY_o: number
KEY_oacute: number
KEY_obarred: number
KEY_obelowdot: number
KEY_ocaron: number
KEY_ocircumflex: number
KEY_ocircumflexacute: number
KEY_ocircumflexbelowdot: number
KEY_ocircumflexgrave: number
KEY_ocircumflexhook: number
KEY_ocircumflextilde: number
KEY_odiaeresis: number
KEY_odoubleacute: number
KEY_oe: number
KEY_ogonek: number
KEY_ograve: number
KEY_ohook: number
KEY_ohorn: number
KEY_ohornacute: number
KEY_ohornbelowdot: number
KEY_ohorngrave: number
KEY_ohornhook: number
KEY_ohorntilde: number
KEY_omacron: number
KEY_oneeighth: number
KEY_onefifth: number
KEY_onehalf: number
KEY_onequarter: number
KEY_onesixth: number
KEY_onesubscript: number
KEY_onesuperior: number
KEY_onethird: number
KEY_ooblique: number
KEY_openrectbullet: number
KEY_openstar: number
KEY_opentribulletdown: number
KEY_opentribulletup: number
KEY_ordfeminine: number
KEY_oslash: number
KEY_otilde: number
KEY_overbar: number
KEY_overline: number
KEY_p: number
KEY_pabovedot: number
KEY_paragraph: number
KEY_parenleft: number
KEY_parenright: number
KEY_partdifferential: number
KEY_partialderivative: number
KEY_percent: number
KEY_period: number
KEY_periodcentered: number
KEY_phonographcopyright: number
KEY_plus: number
KEY_plusminus: number
KEY_prescription: number
KEY_prolongedsound: number
KEY_punctspace: number
KEY_q: number
KEY_quad: number
KEY_question: number
KEY_questiondown: number
KEY_quotedbl: number
KEY_quoteleft: number
KEY_quoteright: number
KEY_r: number
KEY_racute: number
KEY_radical: number
KEY_rcaron: number
KEY_rcedilla: number
KEY_registered: number
KEY_rightanglebracket: number
KEY_rightarrow: number
KEY_rightcaret: number
KEY_rightdoublequotemark: number
KEY_rightmiddlecurlybrace: number
KEY_rightmiddlesummation: number
KEY_rightopentriangle: number
KEY_rightpointer: number
KEY_rightshoe: number
KEY_rightsinglequotemark: number
KEY_rightt: number
KEY_righttack: number
KEY_s: number
KEY_sabovedot: number
KEY_sacute: number
KEY_scaron: number
KEY_scedilla: number
KEY_schwa: number
KEY_scircumflex: number
KEY_script_switch: number
KEY_seconds: number
KEY_section: number
KEY_semicolon: number
KEY_semivoicedsound: number
KEY_seveneighths: number
KEY_sevensubscript: number
KEY_sevensuperior: number
KEY_signaturemark: number
KEY_signifblank: number
KEY_similarequal: number
KEY_singlelowquotemark: number
KEY_sixsubscript: number
KEY_sixsuperior: number
KEY_slash: number
KEY_soliddiamond: number
KEY_space: number
KEY_squareroot: number
KEY_ssharp: number
KEY_sterling: number
KEY_stricteq: number
KEY_t: number
KEY_tabovedot: number
KEY_tcaron: number
KEY_tcedilla: number
KEY_telephone: number
KEY_telephonerecorder: number
KEY_therefore: number
KEY_thinspace: number
KEY_thorn: number
KEY_threeeighths: number
KEY_threefifths: number
KEY_threequarters: number
KEY_threesubscript: number
KEY_threesuperior: number
KEY_tintegral: number
KEY_topintegral: number
KEY_topleftparens: number
KEY_topleftradical: number
KEY_topleftsqbracket: number
KEY_topleftsummation: number
KEY_toprightparens: number
KEY_toprightsqbracket: number
KEY_toprightsummation: number
KEY_topt: number
KEY_topvertsummationconnector: number
KEY_trademark: number
KEY_trademarkincircle: number
KEY_tslash: number
KEY_twofifths: number
KEY_twosubscript: number
KEY_twosuperior: number
KEY_twothirds: number
KEY_u: number
KEY_uacute: number
KEY_ubelowdot: number
KEY_ubreve: number
KEY_ucircumflex: number
KEY_udiaeresis: number
KEY_udoubleacute: number
KEY_ugrave: number
KEY_uhook: number
KEY_uhorn: number
KEY_uhornacute: number
KEY_uhornbelowdot: number
KEY_uhorngrave: number
KEY_uhornhook: number
KEY_uhorntilde: number
KEY_umacron: number
KEY_underbar: number
KEY_underscore: number
KEY_union: number
KEY_uogonek: number
KEY_uparrow: number
KEY_upcaret: number
KEY_upleftcorner: number
KEY_uprightcorner: number
KEY_upshoe: number
KEY_upstile: number
KEY_uptack: number
KEY_uring: number
KEY_utilde: number
KEY_v: number
KEY_variation: number
KEY_vertbar: number
KEY_vertconnector: number
KEY_voicedsound: number
KEY_vt: number
KEY_w: number
KEY_wacute: number
KEY_wcircumflex: number
KEY_wdiaeresis: number
KEY_wgrave: number
KEY_x: number
KEY_xabovedot: number
KEY_y: number
KEY_yacute: number
KEY_ybelowdot: number
KEY_ycircumflex: number
KEY_ydiaeresis: number
KEY_yen: number
KEY_ygrave: number
KEY_yhook: number
KEY_ytilde: number
KEY_z: number
KEY_zabovedot: number
KEY_zacute: number
KEY_zcaron: number
KEY_zerosubscript: number
KEY_zerosuperior: number
KEY_zstroke: number
MAX_TIMECOORD_AXES: number
NO_BG: Gdk.Pixmap
PARENT_RELATIVE: number
PARENT_RELATIVE_BG: Gdk.Pixmap
PRIORITY_REDRAW: number

Functions

  • add_option_entries_libgtk_only(group: OptionGroup): void
  • Appends gdk option entries to the passed in option group. This is not public API and must not be used by applications.

    Parameters

    Returns void

  • beep(): void
  • Creates a Cairo context for drawing to drawable.

    Note that due to double-buffering, Cairo contexts created in a GTK+ expose event handler cannot be cached and reused between different expose events.

    Parameters

    Returns cairo.Context

  • Resets the clip region for a Cairo context created by gdk_cairo_create().

    This resets the clip region to the "empty" state for the given drawable. This is required for non-native windows since a direct call to cairo_reset_clip() would unset the clip region inherited from the drawable (i.e. the window clip region), and thus let you e.g. draw outside your window.

    This is rarely needed though, since most code just create a new cairo_t using gdk_cairo_create() each time they want to draw something.

    Parameters

    Returns void

  • cairo_set_source_pixbuf(cr: cairo.Context, pixbuf: Pixbuf, pixbuf_x: number, pixbuf_y: number): void
  • Sets the given pixbuf as the source pattern for the Cairo context. The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y

    Parameters

    • cr: cairo.Context

      a #Cairo context

    • pixbuf: Pixbuf

      a #GdkPixbuf

    • pixbuf_x: number

      X coordinate of location to place upper left corner of pixbuf

    • pixbuf_y: number

      Y coordinate of location to place upper left corner of pixbuf

    Returns void

  • Sets the given pixmap as the source pattern for the Cairo context. The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned so that the origin of pixmap is pixmap_x, pixmap_y

    Parameters

    • cr: cairo.Context

      a #Cairo context

    • pixmap: Gdk.Pixmap

      a #GdkPixmap

    • pixmap_x: number

      X coordinate of location to place upper left corner of pixmap

    • pixmap_y: number

      Y coordinate of location to place upper left corner of pixmap

    Returns void

  • Sets the given window as the source pattern for the Cairo context. The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned so that the origin of window is x, y. The window contains all its subwindows when rendering.

    Note that the contents of window are undefined outside of the visible part of window, so use this function with care.

    Parameters

    • cr: cairo.Context

      a #Cairo context

    • window: Gdk.Window

      a #GdkWindow

    • x: number

      X coordinate of location to place upper left corner of window

    • y: number

      Y coordinate of location to place upper left corner of window

    Returns void

  • char_height(font: Gdk.Font, character: number): number
  • Determines the total height of a given character. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_text_extents().

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • character: number

      the character to measure.

    Returns number

  • char_measure(font: Gdk.Font, character: number): number
  • Determines the distance from the origin to the rightmost portion of a character when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces.

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • character: number

      the character to measure.

    Returns number

  • char_width(font: Gdk.Font, character: number): number
  • Determines the width of a given character.

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • character: number

      the character to measure.

    Returns number

  • char_width_wc(font: Gdk.Font, character: number): number
  • Determines the width of a given wide character. (Encoded in the wide-character encoding of the current locale).

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • character: number

      the character to measure.

    Returns number

  • Returns the black color for a given colormap. The resulting value has already been allocated.

    Parameters

    Returns number

  • Changes the value of a color that has already been allocated. If colormap is not a private colormap, then the color must have been allocated using gdk_colormap_alloc_colors() with the writeable set to %TRUE.

    Parameters

    • colormap: Gdk.Colormap

      a #GdkColormap.

    • color: Gdk.Color

      a #GdkColor, with the color to change in the pixel field, and the new value in the remaining fields.

    Returns number

  • color_parse(spec: string): [boolean, Gdk.Color]
  • Parses a textual specification of a color and fill in the red, green, and blue fields of a #GdkColor structure. The color is not allocated, you must call gdk_colormap_alloc_color() yourself. The string can either one of a large set of standard names. (Taken from the X11 rgb.txt file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')

    Parameters

    • spec: string

      the string specifying the color.

    Returns [boolean, Gdk.Color]

  • Returns the white color for a given colormap. The resulting value has already allocated been allocated.

    Parameters

    Returns number

  • colors_alloc(colormap: Gdk.Colormap, contiguous: boolean, planes: number, nplanes: number, pixels: number, npixels: number): number
  • Allocates colors from a colormap. This function is obsolete. See gdk_colormap_alloc_colors(). For full documentation of the fields, see the Xlib documentation for XAllocColorCells().

    Parameters

    • colormap: Gdk.Colormap

      a #GdkColormap.

    • contiguous: boolean

      if %TRUE, the colors should be allocated in contiguous color cells.

    • planes: number

      an array in which to store the plane masks.

    • nplanes: number

      the number of planes to allocate. (Or zero, to indicate that the color allocation should not be planar.)

    • pixels: number

      an array into which to store allocated pixel values.

    • npixels: number

      the number of pixels in each plane to allocate.

    Returns number

  • colors_free(colormap: Gdk.Colormap, pixels: number, npixels: number, planes: number): void
  • Frees colors allocated with gdk_colors_alloc(). This function is obsolete. See gdk_colormap_free_colors().

    Parameters

    • colormap: Gdk.Colormap

      a #GdkColormap.

    • pixels: number

      the pixel values of the colors to free.

    • npixels: number

      the number of values in pixels.

    • planes: number

      the plane masks for all planes to free, OR'd together.

    Returns void

  • Changes the value of the first ncolors colors in a private colormap. This function is obsolete and should not be used. See gdk_color_change().

    Parameters

    • colormap: Gdk.Colormap

      a #GdkColormap.

    • colors: Gdk.Color

      the new color values.

    • ncolors: number

      the number of colors to change.

    Returns void

  • Returns the list of available input devices for the default display. The list is statically allocated and should not be freed.

    Returns Gdk.Device[]

  • Aborts a drag without dropping.

    This function is called by the drag source.

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • time_: number

      the timestamp for this operation.

    Returns void

  • Drops on the current destination.

    This function is called by the drag source.

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • time_: number

      the timestamp for this operation.

    Returns void

  • Returns whether the dropped data has been successfully transferred. This function is intended to be used while handling a %GDK_DROP_FINISHED event, its return value is meaningless at other times.

    Parameters

    Returns boolean

  • Finds the destination window and DND protocol to use at the given pointer position.

    This function is called by the drag source to obtain the dest_window and protocol parameters for gdk_drag_motion().

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • drag_window: Gdk.Window

      a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon.

    • x_root: number

      the x position of the pointer in root coordinates.

    • y_root: number

      the y position of the pointer in root coordinates.

    Returns [Gdk.Window, Gdk.DragProtocol]

  • Finds the destination window and DND protocol to use at the given pointer position.

    This function is called by the drag source to obtain the dest_window and protocol parameters for gdk_drag_motion().

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext

    • drag_window: Gdk.Window

      a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon.

    • screen: Gdk.Screen

      the screen where the destination window is sought.

    • x_root: number

      the x position of the pointer in root coordinates.

    • y_root: number

      the y position of the pointer in root coordinates.

    Returns [Gdk.Window, Gdk.DragProtocol]

  • Finds out the DND protocol supported by a window.

    Parameters

    • display: Gdk.Display

      the #GdkDisplay where the destination window resides

    • xid: number

      the windowing system id of the destination window.

    • protocol: Gdk.DragProtocol

      location where the supported DND protocol is returned.

    Returns NativeWindow

  • Updates the drag context when the pointer moves or the set of actions changes.

    This function is called by the drag source.

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • dest_window: Gdk.Window

      the new destination window, obtained by gdk_drag_find_window().

    • protocol: Gdk.DragProtocol

      the DND protocol in use, obtained by gdk_drag_find_window().

    • x_root: number

      the x position of the pointer in root coordinates.

    • y_root: number

      the y position of the pointer in root coordinates.

    • suggested_action: Gdk.DragAction

      the suggested action.

    • possible_actions: Gdk.DragAction

      the possible actions.

    • time_: number

      the timestamp for this operation.

    Returns boolean

  • Selects one of the actions offered by the drag source.

    This function is called by the drag destination in response to gdk_drag_motion() called by the drag source.

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • action: Gdk.DragAction

      the selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted.

    • time_: number

      the timestamp for this operation.

    Returns void

  • draw_arc(drawable: Gdk.Drawable, gc: Gdk.GC, filled: boolean, x: number, y: number, width: number, height: number, angle1: number, angle2: number): void
  • Draws an arc or a filled 'pie slice'. The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • filled: boolean

      %TRUE if the arc should be filled, producing a 'pie slice'.

    • x: number

      the x coordinate of the left edge of the bounding rectangle.

    • y: number

      the y coordinate of the top edge of the bounding rectangle.

    • width: number

      the width of the bounding rectangle.

    • height: number

      the height of the bounding rectangle.

    • angle1: number

      the start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree.

    • angle2: number

      the end angle of the arc, relative to angle1, in 1/64ths of a degree.

    Returns void

  • draw_drawable(drawable: Gdk.Drawable, gc: Gdk.GC, src: Gdk.Drawable, xsrc: number, ysrc: number, xdest: number, ydest: number, width: number, height: number): void
  • Copies the width x height region of src at coordinates (xsrc, ysrc) to coordinates (xdest, ydest) in drawable. width and/or height may be given as -1, in which case the entire src drawable will be copied.

    Most fields in gc are not used for this operation, but notably the clip mask or clip region will be honored.

    The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as the stipple on the #GdkGC, set the fill mode to %GDK_STIPPLED, and then draw the rectangle.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable

    • gc: Gdk.GC

      a #GdkGC sharing the drawable's visual and colormap

    • src: Gdk.Drawable

      the source #GdkDrawable, which may be the same as drawable

    • xsrc: number

      X position in src of rectangle to draw

    • ysrc: number

      Y position in src of rectangle to draw

    • xdest: number

      X position in drawable where the rectangle should be drawn

    • ydest: number

      Y position in drawable where the rectangle should be drawn

    • width: number

      width of rectangle to draw, or -1 for entire src width

    • height: number

      height of rectangle to draw, or -1 for entire src height

    Returns void

  • This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead.

    A glyph is a single image in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use gdk_draw_layout() instead of this function, gdk_draw_layout() handles the details.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable

    • gc: Gdk.GC

      a #GdkGC

    • font: Pango.Font

      font to be used

    • x: number

      X coordinate of baseline origin

    • y: number

      Y coordinate of baseline origin

    • glyphs: GlyphString

      the glyph string to draw

    Returns void

  • Renders a #PangoGlyphString onto a drawable, possibly transforming the layed-out coordinates through a transformation matrix. Note that the transformation matrix for font is not changed, so to produce correct rendering results, the font must have been loaded using a #PangoContext with an identical transformation matrix to that passed in to this function.

    See also gdk_draw_glyphs(), gdk_draw_layout().

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable

    • gc: Gdk.GC

      a #GdkGC

    • matrix: Pango.Matrix

      a #PangoMatrix, or %NULL to use an identity transformation

    • font: Pango.Font

      the font in which to draw the string

    • x: number

      the x position of the start of the string (in Pango units in user space coordinates)

    • y: number

      the y position of the baseline (in Pango units in user space coordinates)

    • glyphs: GlyphString

      the glyph string to draw

    Returns void

  • draw_gray_image(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, buf: number, rowstride: number): void
  • draw_image(drawable: Gdk.Drawable, gc: Gdk.GC, image: Gdk.Image, xsrc: number, ysrc: number, xdest: number, ydest: number, width: number, height: number): void
  • Draws a #GdkImage onto a drawable. The depth of the #GdkImage must match the depth of the #GdkDrawable.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • image: Gdk.Image

      the #GdkImage to draw.

    • xsrc: number

      the left edge of the source rectangle within image.

    • ysrc: number

      the top of the source rectangle within image.

    • xdest: number

      the x coordinate of the destination within drawable.

    • ydest: number

      the y coordinate of the destination within drawable.

    • width: number

      the width of the area to be copied, or -1 to make the area extend to the right edge of image.

    • height: number

      the height of the area to be copied, or -1 to make the area extend to the bottom edge of image.

    Returns void

  • draw_indexed_image(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, buf: number, rowstride: number, cmap: RgbCmap): void
  • Render a #PangoLayout onto a GDK drawable

    If the layout's #PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout.

    If you're using GTK+, the usual way to obtain a #PangoLayout is gtk_widget_create_pango_layout().

    Parameters

    • drawable: Gdk.Drawable

      the drawable on which to draw string

    • gc: Gdk.GC

      base graphics context to use

    • x: number

      the X position of the left of the layout (in pixels)

    • y: number

      the Y position of the top of the layout (in pixels)

    • layout: Pango.Layout

      a #PangoLayout

    Returns void

  • Render a #PangoLayoutLine onto an GDK drawable

    If the layout's #PangoContext has a transformation matrix set, then x and y specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates.

    Parameters

    • drawable: Gdk.Drawable

      the drawable on which to draw the line

    • gc: Gdk.GC

      base graphics to use

    • x: number

      the x position of start of string (in pixels)

    • y: number

      the y position of baseline (in pixels)

    • line: LayoutLine

      a #PangoLayoutLine

    Returns void

  • Render a #PangoLayoutLine onto a #GdkDrawable, overriding the layout's normal colors with foreground and/or background. foreground and background need not be allocated.

    If the layout's #PangoContext has a transformation matrix set, then x and y specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates.

    Parameters

    • drawable: Gdk.Drawable

      the drawable on which to draw the line

    • gc: Gdk.GC

      base graphics to use

    • x: number

      the x position of start of string (in pixels)

    • y: number

      the y position of baseline (in pixels)

    • line: LayoutLine

      a #PangoLayoutLine

    • foreground: Gdk.Color

      foreground override color, or %NULL for none

    • background: Gdk.Color

      background override color, or %NULL for none

    Returns void

  • Render a #PangoLayout onto a #GdkDrawable, overriding the layout's normal colors with foreground and/or background. foreground and background need not be allocated.

    If the layout's #PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout.

    If you're using GTK+, the ususal way to obtain a #PangoLayout is gtk_widget_create_pango_layout().

    Parameters

    • drawable: Gdk.Drawable

      the drawable on which to draw string

    • gc: Gdk.GC

      base graphics context to use

    • x: number

      the X position of the left of the layout (in pixels)

    • y: number

      the Y position of the top of the layout (in pixels)

    • layout: Pango.Layout

      a #PangoLayout

    • foreground: Gdk.Color

      foreground override color, or %NULL for none

    • background: Gdk.Color

      background override color, or %NULL for none

    Returns void

  • draw_line(drawable: Gdk.Drawable, gc: Gdk.GC, x1_: number, y1_: number, x2_: number, y2_: number): void
  • Draws a line, using the foreground color and other attributes of the #GdkGC.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • x1_: number

      the x coordinate of the start point.

    • y1_: number

      the y coordinate of the start point.

    • x2_: number

      the x coordinate of the end point.

    • y2_: number

      the y coordinate of the end point.

    Returns void

  • Draws a series of lines connecting the given points. The way in which joins between lines are draw is determined by the #GdkCapStyle value in the #GdkGC. This can be set with gdk_gc_set_line_attributes().

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • points: Gdk.Point

      an array of #GdkPoint structures specifying the endpoints of the

    • n_points: number

      the size of the points array.

    Returns void

  • draw_pixbuf(drawable: Gdk.Drawable, gc: Gdk.GC, pixbuf: Pixbuf, src_x: number, src_y: number, dest_x: number, dest_y: number, width: number, height: number, dither: RgbDither, x_dither: number, y_dither: number): void
  • Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-%NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap().

    On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.

    If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable.

    Parameters

    • drawable: Gdk.Drawable

      Destination drawable.

    • gc: Gdk.GC

      a #GdkGC, used for clipping, or %NULL

    • pixbuf: Pixbuf

      a #GdkPixbuf

    • src_x: number

      Source X coordinate within pixbuf.

    • src_y: number

      Source Y coordinates within pixbuf.

    • dest_x: number

      Destination X coordinate within drawable.

    • dest_y: number

      Destination Y coordinate within drawable.

    • width: number

      Width of region to render, in pixels, or -1 to use pixbuf width.

    • height: number

      Height of region to render, in pixels, or -1 to use pixbuf height.

    • dither: RgbDither

      Dithering mode for #GdkRGB.

    • x_dither: number

      X offset for dither.

    • y_dither: number

      Y offset for dither.

    Returns void

  • Draws a point, using the foreground color and other attributes of the #GdkGC.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • x: number

      the x coordinate of the point.

    • y: number

      the y coordinate of the point.

    Returns void

  • Draws a number of points, using the foreground color and other attributes of the #GdkGC.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • points: Gdk.Point

      an array of #GdkPoint structures.

    • n_points: number

      the number of points to be drawn.

    Returns void

  • Draws an outlined or filled polygon.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • filled: boolean

      %TRUE if the polygon should be filled. The polygon is closed automatically, connecting the last point to the first point if necessary.

    • points: Gdk.Point

      an array of #GdkPoint structures specifying the points making up the polygon.

    • n_points: number

      the number of points.

    Returns void

  • draw_rectangle(drawable: Gdk.Drawable, gc: Gdk.GC, filled: boolean, x: number, y: number, width: number, height: number): void
  • Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the #GdkGC.

    A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling gdk_draw_rectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling gdk_draw_rectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • filled: boolean

      %TRUE if the rectangle should be filled.

    • x: number

      the x coordinate of the left edge of the rectangle.

    • y: number

      the y coordinate of the top edge of the rectangle.

    • width: number

      the width of the rectangle.

    • height: number

      the height of the rectangle.

    Returns void

  • draw_rgb_32_image(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, buf: number, rowstride: number): void
  • draw_rgb_32_image_dithalign(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, buf: number, rowstride: number, xdith: number, ydith: number): void
  • Like gdk_draw_rgb_32_image(), but allows you to specify the dither offsets. See gdk_draw_rgb_image_dithalign() for more details.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable

    • gc: Gdk.GC

      a #GdkGC

    • x: number

      X coordinate on drawable where image should go

    • y: number

      Y coordinate on drawable where image should go

    • width: number

      width of area of image to draw

    • height: number

      height of area of image to draw

    • dith: RgbDither

      dithering mode

    • buf: number

      RGB image data

    • rowstride: number

      rowstride of RGB image data

    • xdith: number

      X dither offset

    • ydith: number

      Y dither offset

    Returns void

  • draw_rgb_image(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, rgb_buf: number, rowstride: number): void
  • draw_rgb_image_dithalign(drawable: Gdk.Drawable, gc: Gdk.GC, x: number, y: number, width: number, height: number, dith: RgbDither, rgb_buf: number, rowstride: number, xdith: number, ydith: number): void
  • Draws a number of unconnected lines.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • gc: Gdk.GC

      a #GdkGC.

    • segs: Gdk.Segment

      an array of #GdkSegment structures specifying the start and end points of the lines to be drawn.

    • n_segs: number

      the number of line segments to draw, i.e. the size of the segs array.

    Returns void

  • Draws a string of characters in the given font or fontset.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • font: Gdk.Font

      a #GdkFont.

    • gc: Gdk.GC

      a #GdkGC.

    • x: number

      the x coordinate of the left edge of the text.

    • y: number

      the y coordinate of the baseline of the text.

    • string: string

      the string of characters to draw.

    Returns void

  • draw_text(drawable: Gdk.Drawable, font: Gdk.Font, gc: Gdk.GC, x: number, y: number, text: string, text_length: number): void
  • Draws a number of characters in the given font or fontset.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • font: Gdk.Font

      a #GdkFont.

    • gc: Gdk.GC

      a #GdkGC.

    • x: number

      the x coordinate of the left edge of the text.

    • y: number

      the y coordinate of the baseline of the text.

    • text: string

      the characters to draw.

    • text_length: number

      the number of characters of text to draw.

    Returns void

  • draw_text_wc(drawable: Gdk.Drawable, font: Gdk.Font, gc: Gdk.GC, x: number, y: number, text: number, text_length: number): void
  • Draws a number of wide characters using the given font of fontset. If the font is a 1-byte font, the string is converted into 1-byte characters (discarding the high bytes) before output.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable (a #GdkWindow or a #GdkPixmap).

    • font: Gdk.Font

      a #GdkFont.

    • gc: Gdk.GC

      a #GdkGC.

    • x: number

      the x coordinate of the left edge of the text.

    • y: number

      the y coordinate of the baseline of the text.

    • text: number

      the wide characters to draw.

    • text_length: number

      the number of characters to draw.

    Returns void

  • Draws a set of anti-aliased trapezoids. The trapezoids are combined using saturation addition, then drawn over the background as a set. This is low level functionality used internally to implement rotated underlines and backgrouds when rendering a PangoLayout and is likely not useful for applications.

    Parameters

    • drawable: Gdk.Drawable

      a #GdkDrawable

    • gc: Gdk.GC

      a #GdkGC

    • trapezoids: Trapezoid

      an array of #GdkTrapezoid structures

    • n_trapezoids: number

      the number of trapezoids to draw

    Returns void

  • drop_finish(context: Gdk.DragContext, success: boolean, time_: number): void
  • Ends the drag operation after a drop.

    This function is called by the drag destination.

    Parameters

    • context: Gdk.DragContext

      a #GtkDragContext.

    • success: boolean

      %TRUE if the data was successfully received.

    • time_: number

      the timestamp for this operation.

    Returns void

  • drop_reply(context: Gdk.DragContext, ok: boolean, time_: number): void
  • Accepts or rejects a drop.

    This function is called by the drag destination in response to a drop initiated by the drag source.

    Parameters

    • context: Gdk.DragContext

      a #GdkDragContext.

    • ok: boolean

      %TRUE if the drop is accepted.

    • time_: number

      the timestamp for this operation.

    Returns void

  • error_trap_pop(): number
  • error_trap_push(): void
  • Checks all open displays for a #GdkEvent to process,to be processed on, fetching events from the windowing system if necessary. See gdk_display_get_event().

    Returns Gdk.Event

  • Sets the function to call to handle all events from GDK.

    Note that GTK+ uses this to install its own event handler, so it is usually not useful for GTK+ applications. (Although an application can call this function then call gtk_main_do_event() to pass events to GTK+.)

    Parameters

    • func: Gdk.EventFunc

      the function to call to handle events from GDK.

    Returns void

  • Request more motion notifies if event is a motion notify hint event. This function should be used instead of gdk_window_get_pointer() to request further motion notifies, because it also works for extension events where motion notifies are provided for devices other than the core pointer. Coordinate extraction, processing and requesting more motion events from a %GDK_MOTION_NOTIFY event usually works like this:

    |[ { /* motion_event handler */ x = motion_event->x; y = motion_event->y; /* handle (x,y) motion */ gdk_event_request_motions (motion_event); /* handles is_hint events */ }


    @param event a valid #GdkEvent

    Parameters

    Returns void

  • event_send_client_message_for_display(display: Gdk.Display, event: Gdk.Event, winid: number): boolean
  • events_pending(): boolean
  • exit(error_code: number): void
  • flush(): void
  • Load a #GdkFont based on a Pango font description. This font will only be an approximation of the Pango font, and internationalization will not be handled correctly. This function should only be used for legacy code that cannot be easily converted to use Pango. Using Pango directly will produce better results.

    Parameters

    Returns Gdk.Font

  • font_load(font_name: string): Gdk.Font
  • Loads a font.

    The font may be newly loaded or looked up the font in a cache. You should make no assumptions about the initial reference count.

    Parameters

    • font_name: string

      a XLFD describing the font to load.

    Returns Gdk.Font

  • fontset_load(fontset_name: string): Gdk.Font
  • free_compound_text(ctext: number): void
  • free_text_list(list: string): void
  • get_display(): string
  • get_display_arg_name(): string
  • Gets the display name specified in the command line arguments passed to gdk_init() or gdk_parse_args(), if any.

    Returns string

  • get_program_class(): string
  • get_show_events(): boolean
  • get_use_xshm(): boolean
  • init(argv: string[]): string[]
  • init_check(argv: string[]): [boolean, string[]]
  • Initialize the library for use.

    Arguments: "argc" is the number of arguments. "argv" is an array of strings.

    Results: "argc" and "argv" are modified to reflect any arguments which were not handled. (Such arguments should either be handled by the application or dismissed). If initialization fails, returns FALSE, otherwise TRUE.

    Side effects: The library is initialized.


    Parameters

    • argv: string[]

    Returns [boolean, string[]]

  • input_remove(tag: number): void
  • keyboard_grab_info_libgtk_only(display: Gdk.Display, grab_window: Gdk.Window, owner_events: boolean): boolean
  • Determines information about the current keyboard grab. This is not public API and must not be used by applications.

    Parameters

    • display: Gdk.Display

      the display for which to get the grab information

    • grab_window: Gdk.Window

      location to store current grab window

    • owner_events: boolean

      location to store boolean indicating whether the owner_events flag to gdk_keyboard_grab() was %TRUE.

    Returns boolean

  • keyboard_ungrab(time_: number): void
  • Ungrabs the keyboard on the default display, if it is grabbed by this application.

    Parameters

    • time_: number

      a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no timestamp is available.

    Returns void

  • keyval_convert_case(symbol: number): [number, number]
  • Obtains the upper- and lower-case versions of the keyval symbol. Examples of keyvals are #GDK_a, #GDK_Enter, #GDK_F1, etc.

    Parameters

    • symbol: number

      a keyval

    Returns [number, number]

  • keyval_from_name(keyval_name: string): number
  • Converts a key name to a key value.

    The names are the same as those in the <gdk/gdkkeysyms.h> header file but without the leading "GDK_KEY_".

    Parameters

    • keyval_name: string

      a key name

    Returns number

  • keyval_is_lower(keyval: number): boolean
  • keyval_is_upper(keyval: number): boolean
  • keyval_name(keyval: number): string
  • Converts a key value into a symbolic name.

    The names are the same as those in the <gdk/gdkkeysyms.h> header file but without the leading "GDK_KEY_".

    Parameters

    • keyval: number

      a key value

    Returns string

  • keyval_to_lower(keyval: number): number
  • keyval_to_unicode(keyval: number): number
  • Convert from a GDK key symbol to the corresponding ISO10646 (Unicode) character.

    Parameters

    • keyval: number

      a GDK key symbol

    Returns number

  • keyval_to_upper(keyval: number): number
  • Lists the available visuals for the default screen. (See gdk_screen_list_visuals()) A visual describes a hardware image data format. For example, a visual might support 24-bit color, or 8-bit color, and might expect pixels to be in a certain format.

    Call g_list_free() on the return value when you're finished with it.

    Returns Gdk.Visual[]

  • mbstowcs(dest: number, src: string, dest_max: number): number
  • Converts a multi-byte string to a wide character string. (The function name comes from an acronym of 'Multi-Byte String TO Wide Character String').

    Parameters

    • dest: number

      the space to place the converted wide character string into.

    • src: string

      the multi-byte string to convert, which must be nul-terminated.

    • dest_max: number

      the maximum number of wide characters to place in dest.

    Returns number

  • notify_startup_complete(): void
  • Indicates to the GUI environment that the application has finished loading. If the applications opens windows, this function is normally called after opening the application's initial set of windows.

    GTK+ will call this function automatically after opening the first #GtkWindow unless gtk_window_set_auto_startup_notification() is called to disable that feature.

    Returns void

  • notify_startup_complete_with_id(startup_id: string): void
  • Indicates to the GUI environment that the application has finished loading, using a given identifier.

    GTK+ will call this function automatically for #GtkWindow with custom startup-notification identifier unless gtk_window_set_auto_startup_notification() is called to disable that feature.

    Parameters

    • startup_id: string

      a startup-notification identifier, for which notification process should be completed

    Returns void

  • Sets window to be embedded in embedder.

    To fully embed an offscreen window, in addition to calling this function, it is also necessary to handle the #GdkWindow::pick-embedded-child signal on the embedder and the #GdkWindow::to-embedder and #GdkWindow::from-embedder signals on window.

    Parameters

    • window: Gdk.Window

      a #GdkWindow

    • embedder: Gdk.Window

      the #GdkWindow that window gets embedded in

    Returns void

  • This function used to set the colormap to be used for drawing with context. The colormap is now always derived from the graphics context used for drawing, so calling this function is no longer necessary.

    Parameters

    Returns void

  • parse_args(argv: string[]): string[]
  • Parse command line arguments, and store for future use by calls to gdk_display_open().

    Any arguments used by GDK are removed from the array and argc and argv are updated accordingly.

    You shouldn't call this function explicitely if you are using gtk_init(), gtk_init_check(), gdk_init(), or gdk_init_check().

    Parameters

    • argv: string[]

      the array of command line arguments.

    Returns string[]

  • pixbuf_render_pixmap_and_mask(pixbuf: Pixbuf, pixmap_return: Gdk.Pixmap, mask_return: Gdk.Bitmap, alpha_threshold: number): void
  • Creates a pixmap and a mask bitmap which are returned in the pixmap_return and mask_return arguments, respectively, and renders a pixbuf and its corresponding thresholded alpha mask to them. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use gdk_draw_pixbuf() and gdk_pixbuf_render_threshold_alpha().

    The pixmap that is created is created for the colormap returned by gdk_rgb_get_colormap(). You normally will want to instead use the actual colormap for a widget, and use gdk_pixbuf_render_pixmap_and_mask_for_colormap().

    If the pixbuf does not have an alpha channel, then *mask_return will be set to %NULL.

    Parameters

    • pixbuf: Pixbuf

      A pixbuf.

    • pixmap_return: Gdk.Pixmap

      Location to store a pointer to the created pixmap, or %NULL if the pixmap is not needed.

    • mask_return: Gdk.Bitmap

      Location to store a pointer to the created mask, or %NULL if the mask is not needed.

    • alpha_threshold: number

      Threshold value for opacity values.

    Returns void

  • Creates a pixmap and a mask bitmap which are returned in the pixmap_return and mask_return arguments, respectively, and renders a pixbuf and its corresponding tresholded alpha mask to them. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use gdk_draw_pixbuf(), and gdk_pixbuf_render_threshold_alpha().

    The pixmap that is created uses the #GdkColormap specified by colormap. This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result.

    If the pixbuf does not have an alpha channel, then *mask_return will be set to %NULL.

    Parameters

    • pixbuf: Pixbuf

      A pixbuf.

    • colormap: Gdk.Colormap

      A #GdkColormap

    • pixmap_return: Gdk.Pixmap

      Location to store a pointer to the created pixmap, or %NULL if the pixmap is not needed.

    • mask_return: Gdk.Bitmap

      Location to store a pointer to the created mask, or %NULL if the mask is not needed.

    • alpha_threshold: number

      Threshold value for opacity values.

    Returns void

  • pixbuf_render_threshold_alpha(pixbuf: Pixbuf, bitmap: Gdk.Bitmap, src_x: number, src_y: number, dest_x: number, dest_y: number, width: number, height: number, alpha_threshold: number): void
  • Takes the opacity values in a rectangular portion of a pixbuf and thresholds them to produce a bi-level alpha mask that can be used as a clipping mask for a drawable.

    Parameters

    • pixbuf: Pixbuf

      A pixbuf.

    • bitmap: Gdk.Bitmap

      Bitmap where the bilevel mask will be painted to.

    • src_x: number

      Source X coordinate.

    • src_y: number

      source Y coordinate.

    • dest_x: number

      Destination X coordinate.

    • dest_y: number

      Destination Y coordinate.

    • width: number

      Width of region to threshold, or -1 to use pixbuf width

    • height: number

      Height of region to threshold, or -1 to use pixbuf height

    • alpha_threshold: number

      Opacity values below this will be painted as zero; all other values will be painted as one.

    Returns void

  • pixbuf_render_to_drawable(pixbuf: Pixbuf, drawable: Gdk.Drawable, gc: Gdk.GC, src_x: number, src_y: number, dest_x: number, dest_y: number, width: number, height: number, dither: RgbDither, x_dither: number, y_dither: number): void
  • Renders a rectangular portion of a pixbuf to a drawable while using the specified GC. This is done using GdkRGB, so the specified drawable must have the GdkRGB visual and colormap. Note that this function will ignore the opacity information for images with an alpha channel; the GC must already have the clipping mask set if you want transparent regions to show through.

    For an explanation of dither offsets, see the GdkRGB documentation. In brief, the dither offset is important when re-rendering partial regions of an image to a rendered version of the full image, or for when the offsets to a base position change, as in scrolling. The dither matrix has to be shifted for consistent visual results. If you do not have any of these cases, the dither offsets can be both zero.

    Parameters

    • pixbuf: Pixbuf

      A pixbuf.

    • drawable: Gdk.Drawable

      Destination drawable.

    • gc: Gdk.GC

      GC used for rendering.

    • src_x: number

      Source X coordinate within pixbuf.

    • src_y: number

      Source Y coordinate within pixbuf.

    • dest_x: number

      Destination X coordinate within drawable.

    • dest_y: number

      Destination Y coordinate within drawable.

    • width: number

      Width of region to render, in pixels, or -1 to use pixbuf width

    • height: number

      Height of region to render, in pixels, or -1 to use pixbuf height

    • dither: RgbDither

      Dithering mode for GdkRGB.

    • x_dither: number

      X offset for dither.

    • y_dither: number

      Y offset for dither.

    Returns void

  • pixbuf_render_to_drawable_alpha(pixbuf: Pixbuf, drawable: Gdk.Drawable, src_x: number, src_y: number, dest_x: number, dest_y: number, width: number, height: number, alpha_mode: PixbufAlphaMode, alpha_threshold: number, dither: RgbDither, x_dither: number, y_dither: number): void
  • Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-%NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap.

    On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.

    Parameters

    • pixbuf: Pixbuf

      A pixbuf.

    • drawable: Gdk.Drawable

      Destination drawable.

    • src_x: number

      Source X coordinate within pixbuf.

    • src_y: number

      Source Y coordinates within pixbuf.

    • dest_x: number

      Destination X coordinate within drawable.

    • dest_y: number

      Destination Y coordinate within drawable.

    • width: number

      Width of region to render, in pixels, or -1 to use pixbuf width.

    • height: number

      Height of region to render, in pixels, or -1 to use pixbuf height.

    • alpha_mode: PixbufAlphaMode

      Ignored. Present for backwards compatibility.

    • alpha_threshold: number

      Ignored. Present for backwards compatibility

    • dither: RgbDither

      Dithering mode for GdkRGB.

    • x_dither: number

      X offset for dither.

    • y_dither: number

      Y offset for dither.

    Returns void

  • pointer_grab_info_libgtk_only(display: Gdk.Display, grab_window: Gdk.Window, owner_events: boolean): boolean
  • Determines information about the current pointer grab. This is not public API and must not be used by applications.

    Parameters

    • display: Gdk.Display

      the #GdkDisplay for which to get the grab information

    • grab_window: Gdk.Window

      location to store current grab window

    • owner_events: boolean

      location to store boolean indicating whether the owner_events flag to gdk_pointer_grab() was %TRUE.

    Returns boolean

  • pointer_is_grabbed(): boolean
  • Returns %TRUE if the pointer on the default display is currently grabbed by this application.

    Note that this does not take the inmplicit pointer grab on button presses into account.

    Returns boolean

  • pointer_ungrab(time_: number): void
  • Ungrabs the pointer on the default display, if it is grabbed by this application.

    Parameters

    • time_: number

      a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no timestamp is available.

    Returns void

  • pre_parse_libgtk_only(): void
  • property_get(window: Gdk.Window, property: Gdk.Atom, type: Gdk.Atom, offset: number, length: number, pdelete: number, actual_property_type: Gdk.Atom, actual_format: number, actual_length: number, data: number): boolean
  • query_depths(): [number[], number]
  • This function returns the available bit depths for the default screen. It's equivalent to listing the visuals (gdk_list_visuals()) and then looking at the depth field in each visual, removing duplicates.

    The array returned by this function should not be freed.

    Returns [number[], number]

  • query_visual_types(visual_types: Gdk.VisualType, count: number): void
  • This function returns the available visual types for the default screen. It's equivalent to listing the visuals (gdk_list_visuals()) and then looking at the type field in each visual, removing duplicates.

    The array returned by this function should not be freed.

    Parameters

    • visual_types: Gdk.VisualType

      return location for the available visual types

    • count: number

      return location for the number of available visual types

    Returns void

  • rgb_ditherable(): boolean
  • colormap should be the colormap for the graphics context and drawable you're using to draw. If you're drawing to a #GtkWidget, call gtk_widget_get_colormap().

    color should have its %red, %green, and %blue fields initialized; gdk_rgb_find_color() will fill in the %pixel field with the best matching pixel from a color cube. The color is then ready to be used for drawing, e.g. you can call gdk_gc_set_foreground() which expects %pixel to be initialized.

    In many cases, you can avoid this whole issue by calling gdk_gc_set_rgb_fg_color() or gdk_gc_set_rgb_bg_color(), which do not expect %pixel to be initialized in advance. If you use those functions, there's no need for gdk_rgb_find_color().

    Parameters

    Returns void

  • rgb_gc_set_background(gc: Gdk.GC, rgb: number): void
  • rgb_gc_set_foreground(gc: Gdk.GC, rgb: number): void
  • Get the preferred colormap for rendering image data. Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function.

    Returns Gdk.Colormap

  • Gets a "preferred visual" chosen by GdkRGB for rendering image data on the default screen. In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual.

    Returns Gdk.Visual

  • rgb_init(): void
  • rgb_set_install(install: boolean): void
  • rgb_set_min_colors(min_colors: number): void
  • rgb_set_verbose(verbose: boolean): void
  • rgb_xpixel_from_rgb(rgb: number): number
  • selection_owner_set(owner: Gdk.Window, selection: Gdk.Atom, time_: number, send_event: boolean): boolean
  • selection_owner_set_for_display(display: Gdk.Display, owner: Gdk.Window, selection: Gdk.Atom, time_: number, send_event: boolean): boolean
  • Sets the #GdkWindow owner as the current owner of the selection selection.

    Parameters

    • display: Gdk.Display

      the #GdkDisplay.

    • owner: Gdk.Window

      a #GdkWindow or %NULL to indicate that the owner for the given should be unset.

    • selection: Gdk.Atom

      an atom identifying a selection.

    • time_: number

      timestamp to use when setting the selection. If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored.

    • send_event: boolean

      if %TRUE, and the new owner is different from the current owner, the current owner will be sent a SelectionClear event.

    Returns boolean

  • selection_property_get(requestor: Gdk.Window, data: number, prop_type: Gdk.Atom, prop_format: number): number
  • Retrieves selection data that was stored by the selection data in response to a call to gdk_selection_convert(). This function will not be used by applications, who should use the #GtkClipboard API instead.

    Parameters

    • requestor: Gdk.Window

      the window on which the data is stored

    • data: number

      location to store a pointer to the retrieved data. If the retrieval failed, %NULL we be stored here, otherwise, it will be non-%NULL and the returned data should be freed with g_free() when you are finished using it. The length of the allocated memory is one more than the length of the returned data, and the final byte will always be zero, to ensure nul-termination of strings.

    • prop_type: Gdk.Atom

      location to store the type of the property.

    • prop_format: number

      location to store the format of the property.

    Returns number

  • selection_send_notify(requestor: number, selection: Gdk.Atom, target: Gdk.Atom, property: Gdk.Atom, time_: number): void
  • Send a response to SelectionRequest event.

    Parameters

    • display: Gdk.Display

      the #GdkDisplay where requestor is realized

    • requestor: number

      window to which to deliver response.

    • selection: Gdk.Atom

      selection that was requested.

    • target: Gdk.Atom

      target that was selected.

    • property: Gdk.Atom

      property in which the selection owner stored the data, or %GDK_NONE to indicate that the request was rejected.

    • time_: number

      timestamp.

    Returns void

  • set_double_click_time(msec: number): void
  • Set the double click time for the default display. See gdk_display_set_double_click_time(). See also gdk_display_set_double_click_distance(). Applications should not set this, it is a global user-configured setting.

    Parameters

    • msec: number

      double click time in milliseconds (thousandths of a second)

    Returns void

  • set_locale(): string
  • set_program_class(program_class: string): void
  • set_show_events(show_events: boolean): void
  • Sets whether a trace of received events is output. Note that GTK+ must be compiled with debugging (that is, configured using the option) to use this option.

    Parameters

    • show_events: boolean

      %TRUE to output event debugging information.

    Returns void

  • set_sm_client_id(sm_client_id: string): void
  • Sets the SM_CLIENT_ID property on the application's leader window so that the window manager can save the application's state using the X11R6 ICCCM session management protocol.

    See the X Session Management Library documentation for more information on session management and the Inter-Client Communication Conventions Manual (ICCCM) for information on the WM_CLIENT_LEADER property. (Both documents are part of the X Window System distribution.)

    Parameters

    • sm_client_id: string

      the client id assigned by the session manager when the connection was opened, or %NULL to remove the property.

    Returns void

  • set_use_xshm(use_xshm: boolean): void
  • setting_get(name: string, value: any): boolean
  • Obtains a desktop-wide setting, such as the double-click time, for the default screen. See gdk_screen_get_setting().

    Parameters

    • name: string

      the name of the setting.

    • value: any

      location to store the value of the setting.

    Returns boolean

  • spawn_command_line_on_screen(screen: Gdk.Screen, command_line: string): boolean
  • Like g_spawn_command_line_async(), except the child process is spawned in such an environment that on calling gdk_display_open() it would be returned a #GdkDisplay with screen as the default screen.

    This is useful for applications which wish to launch an application on a specific screen.

    Parameters

    • screen: Gdk.Screen

      a #GdkScreen

    • command_line: string

      a command line

    Returns boolean

  • string_extents(font: Gdk.Font, string: string, lbearing: number, rbearing: number, width: number, ascent: number, descent: number): void
  • Gets the metrics of a nul-terminated string.

    Parameters

    • font: Gdk.Font

      a #GdkFont.

    • string: string

      the nul-terminated string to measure.

    • lbearing: number

      the left bearing of the string.

    • rbearing: number

      the right bearing of the string.

    • width: number

      the width of the string.

    • ascent: number

      the ascent of the string.

    • descent: number

      the descent of the string.

    Returns void

  • string_height(font: Gdk.Font, string: string): number
  • Determines the total height of a given nul-terminated string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_string_extents().

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • string: string

      the nul-terminated string to measure.

    Returns number

  • string_measure(font: Gdk.Font, string: string): number
  • Determines the distance from the origin to the rightmost portion of a nul-terminated string when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. See gdk_string_width().

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • string: string

      the nul-terminated string to measure.

    Returns number

  • string_to_compound_text(str: string, encoding: Gdk.Atom, format: number, ctext: number, length: number): number
  • string_to_compound_text_for_display(display: Gdk.Display, str: string, encoding: Gdk.Atom, format: number, ctext: number, length: number): number
  • Convert a string from the encoding of the current locale into a form suitable for storing in a window property.

    Parameters

    • display: Gdk.Display

      the #GdkDisplay where the encoding is defined.

    • str: string

      a nul-terminated string.

    • encoding: Gdk.Atom

      location to store the encoding atom (to be used as the type for the property).

    • format: number

      location to store the format of the property

    • ctext: number

      location to store newly allocated data for the property.

    • length: number

      the length of text, in bytes

    Returns number

  • string_width(font: Gdk.Font, string: string): number
  • Determines the width of a nul-terminated string. (The distance from the origin of the string to the point where the next string in a sequence of strings should be drawn)

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • string: string

      the nul-terminated string to measure

    Returns number

  • This function retrieves a pixel from window to force the windowing system to carry out any pending rendering commands. This function is intended to be used to syncronize with rendering pipelines, to benchmark windowing system rendering operations.

    Parameters

    Returns void

  • This function is intended to be used in GTK+ test programs. It will warp the mouse pointer to the given (x,``y) corrdinates within window and simulate a button press or release event. Because the mouse pointer needs to be warped to the target location, use of this function outside of test programs that run in their own virtual windowing system (e.g. Xvfb) is not recommended.

    Also, gtk_test_simulate_button() is a fairly low level function, for most testing purposes, gtk_test_widget_click() is the right function to call which will generate a button press event followed by its accompanying button release event.

    Parameters

    • window: Gdk.Window

      a #GdkWindow to simulate a button event for.

    • x: number

      x coordinate within window for the button event.

    • y: number

      y coordinate within window for the button event.

    • button: number

      Number of the pointer button for the event, usually 1, 2 or 3.

    • modifiers: Gdk.ModifierType

      Keyboard modifiers the event is setup with.

    • button_pressrelease: Gdk.EventType

      either %GDK_BUTTON_PRESS or %GDK_BUTTON_RELEASE

    Returns boolean

  • This function is intended to be used in GTK+ test programs. If (x,``y) are > (-1,-1), it will warp the mouse pointer to the given (x,``y) corrdinates within window and simulate a key press or release event.

    When the mouse pointer is warped to the target location, use of this function outside of test programs that run in their own virtual windowing system (e.g. Xvfb) is not recommended. If (x,``y) are passed as (-1,-1), the mouse pointer will not be warped and window origin will be used as mouse pointer location for the event.

    Also, gtk_test_simulate_key() is a fairly low level function, for most testing purposes, gtk_test_widget_send_key() is the right function to call which will generate a key press event followed by its accompanying key release event.

    Parameters

    • window: Gdk.Window

      a #GdkWindow to simulate a key event for.

    • x: number

      x coordinate within window for the key event.

    • y: number

      y coordinate within window for the key event.

    • keyval: number

      A GDK keyboard value.

    • modifiers: Gdk.ModifierType

      Keyboard modifiers the event is setup with.

    • key_pressrelease: Gdk.EventType

      either %GDK_KEY_PRESS or %GDK_KEY_RELEASE

    Returns boolean

  • text_extents(font: Gdk.Font, text: string, text_length: number, lbearing: number, rbearing: number, width: number, ascent: number, descent: number): void
  • Parameters

    • font: Gdk.Font
    • text: string
    • text_length: number
    • lbearing: number
    • rbearing: number
    • width: number
    • ascent: number
    • descent: number

    Returns void

  • text_extents_wc(font: Gdk.Font, text: number, text_length: number, lbearing: number, rbearing: number, width: number, ascent: number, descent: number): void
  • Parameters

    • font: Gdk.Font
    • text: number
    • text_length: number
    • lbearing: number
    • rbearing: number
    • width: number
    • ascent: number
    • descent: number

    Returns void

  • text_height(font: Gdk.Font, text: string, text_length: number): number
  • Determines the total height of a given string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_text_extents().

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • text: string

      the text to measure.

    • text_length: number

      the length of the text in bytes.

    Returns number

  • text_measure(font: Gdk.Font, text: string, text_length: number): number
  • Determines the distance from the origin to the rightmost portion of a string when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. See gdk_text_width().

    Parameters

    • font: Gdk.Font

      a #GdkFont

    • text: string

      the text to measure.

    • text_length: number

      the length of the text in bytes.

    Returns number

  • text_property_to_text_list(encoding: Gdk.Atom, format: number, text: number, length: number, list: string): number
  • text_property_to_text_list_for_display(display: Gdk.Display, encoding: Gdk.Atom, format: number, text: number, length: number, list: string): number
  • Convert a text string from the encoding as it is stored in a property into an array of strings in the encoding of the current locale. (The elements of the array represent the nul-separated elements of the original text string.)

    Parameters

    • display: Gdk.Display

      The #GdkDisplay where the encoding is defined.

    • encoding: Gdk.Atom

      an atom representing the encoding. The most common values for this are STRING, or COMPOUND_TEXT. This is value used as the type for the property.

    • format: number

      the format of the property.

    • text: number

      The text data.

    • length: number

      The number of items to transform.

    • list: string

      location to store a terminated array of strings in the encoding of the current locale. This array should be freed using gdk_free_text_list().

    Returns number

  • text_property_to_utf8_list(encoding: Gdk.Atom, format: number, text: number, length: number, list: string): number
  • Convert a text property in the giving encoding to a list of UTF-8 strings.

    Parameters

    • encoding: Gdk.Atom

      an atom representing the encoding of the text

    • format: number

      the format of the property

    • text: number

      the text to convert

    • length: number

      the length of text, in bytes

    • list: string

      location to store the list of strings or %NULL. The list should be freed with g_strfreev().

    Returns number

  • text_property_to_utf8_list_for_display(display: Gdk.Display, encoding: Gdk.Atom, format: number, text: number, length: number, list: string): number
  • Converts a text property in the given encoding to a list of UTF-8 strings.

    Parameters

    • display: Gdk.Display

      a #GdkDisplay

    • encoding: Gdk.Atom

      an atom representing the encoding of the text

    • format: number

      the format of the property

    • text: number

      the text to convert

    • length: number

      the length of text, in bytes

    • list: string

      location to store the list of strings or %NULL. The list should be freed with g_strfreev().

    Returns number

  • text_width(font: Gdk.Font, text: string, text_length: number): number
  • text_width_wc(font: Gdk.Font, text: number, text_length: number): number
  • threads_add_idle_full(priority: number, function_: SourceFunc): number
  • Adds a function to be called whenever there are no higher priority events pending. If the function returns %FALSE it is automatically removed from the list of event sources and will not be called again.

    This variant of g_idle_add_full() calls function with the GDK lock held. It can be thought of a MT-safe version for GTK+ widgets for the following use case, where you have to worry about idle_callback() running in thread A and accessing self after it has been finalized in thread B:

    |[ static gboolean idle_callback (gpointer data) { /* gdk_threads_enter(); would be needed for g_idle_add() */

    SomeWidget *self = data; /* do stuff with self */

    self->idle_id = 0;

    /* gdk_threads_leave(); would be needed for g_idle_add() */ return FALSE; }

    static void some_widget_do_stuff_later (SomeWidget *self) { self->idle_id = gdk_threads_add_idle (idle_callback, self) /* using g_idle_add() here would require thread protection in the callback */ }

    static void some_widget_finalize (GObject *object) { SomeWidget *self = SOME_WIDGET (object); if (self->idle_id) g_source_remove (self->idle_id); G_OBJECT_CLASS (parent_class)->finalize (object); }


    @param priority the priority of the idle source. Typically this will be in the range btweeen #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE
    @param function_ function to call

    Parameters

    Returns number

  • threads_add_timeout_full(priority: number, interval: number, function_: SourceFunc): number
  • Sets a function to be called at regular intervals holding the GDK lock, with the given priority. The function is called repeatedly until it returns %FALSE, at which point the timeout is automatically destroyed and the function will not be called again. The notify function is called when the timeout is destroyed. The first call to the function will be at the end of the first interval.

    Note that timeout functions may be delayed, due to the processing of other event sources. Thus they should not be relied on for precise timing. After each call to the timeout function, the time of the next timeout is recalculated based on the current time and the given interval (it does not try to 'catch up' time lost in delays).

    This variant of g_timeout_add_full() can be thought of a MT-safe version for GTK+ widgets for the following use case:

    |[ static gboolean timeout_callback (gpointer data) { SomeWidget *self = data;

    /* do stuff with self */

    self->timeout_id = 0;

    return FALSE; }

    static void some_widget_do_stuff_later (SomeWidget *self) { self->timeout_id = g_timeout_add (timeout_callback, self) }

    static void some_widget_finalize (GObject *object) { SomeWidget *self = SOME_WIDGET (object);

    if (self->timeout_id) g_source_remove (self->timeout_id);

    G_OBJECT_CLASS (parent_class)->finalize (object); }


    @param priority the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.
    @param interval the time between calls to the function, in milliseconds (1/1000ths of a second)
    @param function_ function to call

    Parameters

    • priority: number
    • interval: number
    • function_: SourceFunc

    Returns number

  • threads_add_timeout_seconds_full(priority: number, interval: number, function_: SourceFunc): number
  • A variant of gdk_threads_add_timout_full() with second-granularity. See g_timeout_add_seconds_full() for a discussion of why it is a good idea to use this function if you don't need finer granularity.

    Return value: the ID (greater than 0) of the event source.

    Parameters

    • priority: number

      the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.

    • interval: number

      the time between calls to the function, in seconds

    • function_: SourceFunc

      function to call

    Returns number

  • threads_enter(): void
  • threads_init(): void
  • Initializes GDK so that it can be used from multiple threads in conjunction with gdk_threads_enter() and gdk_threads_leave(). g_thread_init() must be called previous to this function.

    This call must be made before any use of the main loop from GTK+; to be safe, call it before gtk_init().

    Returns void

  • threads_leave(): void
  • unicode_to_keyval(wc: number): number
  • Convert from a ISO10646 character to a key symbol.

    Parameters

    • wc: number

      a ISO10646 encoded character

    Returns number

  • utf8_to_compound_text(str: string, encoding: Gdk.Atom, format: number, ctext: number, length: number): boolean
  • Convert from UTF-8 to compound text.

    Parameters

    • str: string

      a UTF-8 string

    • encoding: Gdk.Atom

      location to store resulting encoding

    • format: number

      location to store format of the result

    • ctext: number

      location to store the data of the result

    • length: number

      location to store the length of the data stored in ctext

    Returns boolean

  • utf8_to_compound_text_for_display(display: Gdk.Display, str: string, encoding: Gdk.Atom, format: number, ctext: number, length: number): boolean
  • Converts from UTF-8 to compound text.

    Parameters

    • display: Gdk.Display

      a #GdkDisplay

    • str: string

      a UTF-8 string

    • encoding: Gdk.Atom

      location to store resulting encoding

    • format: number

      location to store format of the result

    • ctext: number

      location to store the data of the result

    • length: number

      location to store the length of the data stored in ctext

    Returns boolean

  • utf8_to_string_target(str: string): string
  • Converts an UTF-8 string into the best possible representation as a STRING. The representation of characters not in STRING is not specified; it may be as pseudo-escape sequences \x{ABCD}, or it may be in some other form of approximation.

    Parameters

    • str: string

      a UTF-8 string

    Returns string

  • wcstombs(src: number): string
  • Converts a wide character string to a multi-byte string. (The function name comes from an acronym of 'Wide Character String TO Multi-Byte String').

    Parameters

    • src: number

      a wide character string.

    Returns string

  • window_at_pointer(): [Gdk.Window, number, number]
  • Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y. Returns %NULL if the window under the mouse pointer is not known to GDK (if the window belongs to another application and a #GdkWindow hasn't been created for it with gdk_window_foreign_new())

    NOTE: For multihead-aware widgets or applications use gdk_display_get_window_at_pointer() instead.

    Returns [Gdk.Window, number, number]

  • window_constrain_size(geometry: Gdk.Geometry, flags: number, width: number, height: number): [number, number]
  • Constrains a desired width and height according to a set of geometry hints (such as minimum and maximum size).

    Parameters

    • geometry: Gdk.Geometry

      a #GdkGeometry structure

    • flags: number

      a mask indicating what portions of geometry are set

    • width: number

      desired width of window

    • height: number

      desired height of the window

    Returns [number, number]

  • window_process_all_updates(): void
  • Calls gdk_window_process_updates() for all windows (see #GdkWindow) in the application.

    Returns void

  • window_set_debug_updates(setting: boolean): void
  • With update debugging enabled, calls to gdk_window_invalidate_region() clear the invalidated region of the screen to a noticeable color, and GDK pauses for a short time before sending exposes to windows during gdk_window_process_updates(). The net effect is that you can see the invalid region for each window and watch redraws as they occur. This allows you to diagnose inefficiencies in your application.

    In essence, because the GDK rendering model prevents all flicker, if you are redrawing the same region 400 times you may never notice, aside from noticing a speed problem. Enabling update debugging causes GTK to flicker slowly and noticeably, so you can see exactly what's being redrawn when, in what order.

    The --gtk-debug=updates command line option passed to GTK+ programs enables this debug option at application startup time. That's usually more useful than calling gdk_window_set_debug_updates() yourself, though you might want to use this function to enable updates sometime after application startup time.

    Parameters

    • setting: boolean

      %TRUE to turn on update debugging

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method