MCPcopy Create free account
hub / github.com/SpartanJ/eepp / createTooltip

Method createTooltip

src/eepp/ui/uiwidget.cpp:365–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365UITooltip* UIWidget::createTooltip() {
366 if ( NULL != mTooltip )
367 return mTooltip;
368
369 mTooltip = UITooltip::New();
370 mTooltip->setVisible( false )->setEnabled( false );
371 mTooltip->setTooltipOf( this );
372 if ( !mTooltipText.empty() )
373 mTooltip->setText( mTooltipText );
374 return mTooltip;
375}
376
377void UIWidget::onChildCountChange( Node* child, const bool& removed ) {
378 UINode::onChildCountChange( child, removed );

Callers 3

displayTooltipMethod · 0.80
onMouseMoveMethod · 0.80
displayTooltipMethod · 0.80

Calls 6

setTooltipOfMethod · 0.80
NewFunction · 0.50
setEnabledMethod · 0.45
setVisibleMethod · 0.45
emptyMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected