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

本月熱門文章

堅持5個月!反送中示威者六大特色 6 features of Hong Kong Anti-ELAB Protesters│老外看香港│郝毅博 Ben Hedges│新唐人電視台

香港朋友,真的對唔住,台灣出了這種中共的幫兇!

新北市幼稚園餵藥案問題?沒有找到答案!需要神探侯友宜市長而非吉的堡公關侯友宜

熱門文章

企鵝妹/柳允進 史上最暈的TT三分鐘完整版一次看個夠

陳昇 Bobby Chen【把悲傷留給自己 I left sadness to myself】Official Music Video

裝潢師傅貼圖來了唷

香港朋友,真的對唔住,台灣出了這種中共的幫兇!

新手自建監控雲最快的方式:推薦QNAP NAS 搭配QVR Pro

2020 中華民國 台灣 失業補助申請方式 失業給付申請

香港朋友看服貿 - 嗨,我是香港人,一個CEPA的受害者。

堅持5個月!反送中示威者六大特色 6 features of Hong Kong Anti-ELAB Protesters│老外看香港│郝毅博 Ben Hedges│新唐人電視台