pub fn on_tooltip_text(&self) -> &ToolTipTextData {
        match self {
            EventData::OnTooltipText(d) => d,
            d => panic!("Wrong data type: {:?}", d)
        }
    }
/// Unwraps event data into a `&ToolTipTextData`. Panics if it's not the right type.
Unwraps event data into a `&ToolTipTextData`. Panics if it's not the right type.
Unwraps event data into a ` &ToolTipTextData ` . Panics if it ' s not the right type .
pub fn on_tooltip_text(&self) -> &ToolTipTextData {
        match self {
            EventData::OnTooltipText(d) => d,
            d => panic!("Wrong data type: {:?}", d)
        }
    }
pub fn on_tooltip_text ( & self ) -> & ToolTipTextData { match self { EventData :: OnTooltipText ( d ) => d , d => panic ! ( " " d ) } }
Unwraps event data into a `&ToolTipTextData`.
Unwraps event data into a ` &ToolTipTextData ` .
&self