GTK中對於Key Values的解釋

GTK中對於Key Values的解釋

Key Values: "gdk_keymap_get_entries_for_keyval ()

gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
guint keyval,
GdkKeymapKey **keys,
gint *n_keys);


Obtains a list of keycode/group/level combinations that will generate keyval. Groups and levels are two kinds of keyboard mode; in general, the level determines whether the top or bottom symbol on a key is used, and the group determines whether the left or right symbol is used. On US keyboards, the shift key changes the keyboard level, and there are no groups. A group switch key might convert a keyboard between Hebrew to English modes, for example. GdkEventKey contains a group field that indicates the active keyboard group. The level is computed from the modifier mask. The returned array should be freed with g_free().

keymap : a GdkKeymap, or NULL to use the default keymap
keyval : a keyval, such as GDK_a, GDK_Up, GDK_Return, etc.
keys : return location for an array of GdkKeymapKey
n_keys : return location"


--

Undergoing MyBlogLog Verification

留言

Google Search

推薦內容橫式

本月熱門文章

什麼是 OTA ?

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

許多深藍人士懷念的兩蔣時代

[隨筆] 也太多陰錯陽差的眼淚

瘟疫之中被犧牲的,往往是貧窮人。 台灣政黨政治中 被犧牲的卻是高雄人 跟香港一比較 高雄還有機會 !!

如何在QNAP NAS上利用Container Station 安裝MTK MCS Lite 架設物聯網雲服務

【臉書無法登入】Facebook帳號卡安全檢查?無預警被停用與英文回報申訴教學

如何在QNAP NAS上連動Apple HomeKit ? A: 安裝 HomeBridge !

823炮戰紀念日前夕 馬英九提出 中國/中共 常說謊的人不見得永遠不會說真話 ... 相信狼的羊?

這個網誌中的熱門文章

Android應用開發豆知識:利用 adb 安裝 apk 到裝置上

【臉書無法登入】Facebook帳號卡安全檢查?無預警被停用與英文回報申訴教學

Android 中文輸入法 官方版 ! Gboard - Google 鍵盤 開始支援注音輸入啦

Google Play 推薦Android app 誠徵App排行榜

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

[家教][社會觀察] 建中教我的事 沒上建中被父母親折磨? 在建中到底是如何 ...

[FAANG面試] Amazon/AWS 領導力準則 14 Amazon Leadership Principles

[品質控制] 什麼是Sanity test ? 軟體測試常見名詞整理 包含不同部門的測試人員負責範圍

Acer ICONIA Smart S300 更新後越來越好 Acer也有出手機?!

[新鮮人找工作] 職場名詞解釋 AE FAE Pre-sales Post-sales