// Sets the menu to be activated when a secondary activation event (i.e middle-click) is emitted over the indicator icon/label. // This is the C version of the function and should only be used it not using GoGtk. func (indicator *AppIndicator) C_SetSecondaryActivateTarget(menu unsafe.Pointer) { C.app_indicator_set_secondary_activate_target((*C.AppIndicator)(indicator.IndicatorPtr), (*C.GtkWidget)(menu)) }
func (indicator *AppIndicatorGotk3) SetSecondaryActivateTarget(menuItem *gtk.Widget) { C.app_indicator_set_secondary_activate_target((*C.AppIndicator)(indicator.IndicatorPtr), (*C.GtkWidget)(unsafe.Pointer(menuItem.Native()))) }