Example #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))
}
Example #2
0
func (item *Item) Value() bool {
	return intToBool(C.item_value((*C.ITEM)(item)))
}
Example #3
0
func (i *Item) Value() bool {
	if C.item_value(i.item) == C.TRUE {
		return true
	}
	return false
}