方法
GioMenuinsert_section
自:2.32
声明 [源]
void
g_menu_insert_section (
GMenu* menu,
gint position,
const gchar* label,
GMenuModel* section
)
参数
位置-
类型:
gint要插入项的位置。
标签-
类型:
const gchar*章节标签,或
NULL。该参数可以是 NULL。数据由方法的调用者所有。 值是一个以NUL结尾的UTF-8字符串。 章节-
类型:
GMenuModel包含章节项的
GMenuModel。数据由方法的调用者所有。