get_primary_menu


Description:

[ CCode ( cname = "xapp_status_icon_get_primary_menu" ) ]
[ Version ( since = "1.6" ) ]
public unowned Widget get_primary_menu ()

Returns a pointer to a Menu that was set previously for the primary mouse button.

If no menu was set, this returns null.

Parameters:

this

an StatusIcon

Returns:

the Menu or null if none was set.