方法
GtkListBoxinsert
声明 [源]
void
gtk_list_box_insert (
GtkListBox* box,
GtkWidget* child,
int position
)
描述 [源]
将 child 插入到 box 的 position 位置。
如果设置了排序函数,小部件实际上会被插入到计算出的位置。
如果 position 是 -1 或大于 box 中的项目总数,则 child 将被追加到末尾。
参数
child-
类型:
GtkWidget要添加的
GtkWidget。数据由方法的调用者拥有。 position-
类型:
intchild插入的位置。