Example #1
0
func (menu *Menu) ItemCount() int {
	return int(C.item_count((*C.MENU)(menu)))
}
Example #2
0
// Count returns the number of MenuItems in the Menu
func (m *Menu) Count() int {
	return int(C.item_count(m.menu))
}