Sets the has-tooltip property on @widget to @has_tooltip.
whether or not @widget has a tooltip.
See Implementation
Sets the has-tooltip property on @widget to @has_tooltip.