示例#1
0
// Append is a wrapper around gtk_menu_shell_append().
func (v *MenuShell) Append(child IMenuItem) {
	C.gtk_menu_shell_append(v.native(), child.toWidget())
}
示例#2
0
文件: linux_gtk.go 项目: axet/desktop
func gtk_menu_shell_append(menu GtkWidget, item GtkWidget) {
	C.gtk_menu_shell_append(Arg(menu), Arg(item))
}