GtkContainer 概念介紹



GtkContainer: "gtk_container_get_focus_vadjustment ()

GtkAdjustment* gtk_container_get_focus_vadjustment (GtkContainer *container);

Retrieves the vertical focus adjustment for the container. See gtk_container_set_focus_vadjustment().

container : a GtkContainer
Returns : the vertical focus adjustment, or NULL if none has been set.
gtk_container_set_focus_vadjustment ()

void gtk_container_set_focus_vadjustment (GtkContainer *container,
GtkAdjustment *adjustment);

Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the vertical alignment. See gtk_scrolled_window_get_vadjustment() for a typical way of obtaining the adjustment and gtk_container_set_focus_hadjustment() for setting the horizontal adjustment.

The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.

container : a GtkContainer
adjustment : an adjustment which should be adjusted when the focus is moved among the descendents of container"

留言

Google Search

推薦內容橫式

本月熱門文章

什麼是 OTA ?

【大安區水電推薦】泰順水電廚具行:廚房翻修、家庭水電維修與五金材料販售

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

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

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

轉錄 「隔壁老王」在蔣經國日記扮演的角色 話說到了2022 九月 總算有蔣家子孫願意跟章孝嚴或是蔣萬安驗DNA了 !!

工業物聯網 OPC UA 學習筆記

威視電影【孤味】同名主題曲MV (全台感動熱映中)

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

這個網誌中的熱門文章

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