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

留言

搜尋

本月熱門文章

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

什麼是Sanity test ? 軟體測試常見名詞整理

在QNAP NAS上安裝智慧家庭套件 Home Assistant

水電行介紹---台北市松山區八德路三段12巷51弄5號的昱弘水電冷氣行‎—甚麼都有,水電、廚具、衛浴、冷氣都有服務的水電行

水電行介紹---台北市北投區致遠二路113巷7號的揚明水電行‎—在地老店,水電服務的好鄰居

廚具水電行—呼叫臺北市內湖區民權東路6段56巷1弄2號的永輝水電衛浴廚具行 –有廚浴, 衛浴展示空間喔!

水電行介紹---台北市中正區杭州南路一段 143巷 35號的統賀水電工程行--請上我個人網站找我喔~

日本旅行 去東京可以在哪邊買羽球相關用品?WEMBLEY/WINDSOR/梭家/Victoria/Alpen TOKYO/

水電行介紹---台北市松山區延吉街的廣泰水電行—在地經營水電行,來電預約跨區跑也OK啦~

水電行介紹---台北市大同區重慶北路二段101號的永發水電行---公車直達的水電行!

Agoda

熱門文章

[社會觀察] 一生順遂與命途乖舛

中華民國2024 總統、副總統選舉公告發布 連署參選門檻28萬9667人 可以推薦候選人的政黨包括民進黨、國民黨、民眾黨和時力

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

[FAANG面試] 如何準備Google Technical Program Manager (TPM) 面試

日本旅行 去東京可以在哪邊買羽球相關用品?WEMBLEY/WINDSOR/梭家/Victoria/Alpen TOKYO/

關於中國:202X年

[HMD Global] Nokia 2020 新手機發布 首款 5G 手機 Nokia 8.3 預計夏季開賣 !

[音樂] 霖霖 新單曲:給你了

[表特][Passion Sisters] 中信兄弟PS女孩 浮誇甜心 凱蒂 炸裂全場~ 小許瑋甯

[棒球] 2023 台灣大賽G5 威能帝13K飆破紀錄 猿3轟搶聽牌優勢