Exemplo n.º 1
0
// Value returns true if menu item is toggled/active, otherwise false
func (mi *MenuItem) Value() bool {
	return bool(C.item_value(mi.item))
}
Exemplo n.º 2
0
func (item *Item) Value() bool {
	return intToBool(C.item_value((*C.ITEM)(item)))
}
Exemplo n.º 3
0
func (i *Item) Value() bool {
	if C.item_value(i.item) == C.TRUE {
		return true
	}
	return false
}