AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ADropdownList Class Reference

A button with dropdown list.

#include <AUI/View/ADropdownList.h>

Member Function Documentation

> All members, including inherited

◆ getContentMinimumWidth()

int ADropdownList::getContentMinimumWidth ( )
overridevirtual
Returns
minimal content-area width.

Reimplemented from AAbstractLabel.

◆ onPointerReleased()

void ADropdownList::onPointerReleased ( const APointerReleasedEvent & event)
overridevirtual
Parameters
eventevent
Note
To handle clicks, you should use AView::clicked signal instead. View still receives pointer move and released events even if cursor goes outside the view boundaries, or other exclusive event appeared (i.e. scrollarea scroll). AView::clicked emitted only if release event occurred inside view and no other event has prevented click gesture. See APointerReleasedEvent::triggerClick.

Reimplemented from AView.

◆ render()

void ADropdownList::render ( ARenderContext ctx)
overridevirtual
See also
AView::drawView

AView::render is not guaranteed to be called on per-frame basis. Moreover, this method can be called multiple times if render-to-texture caching decides to do so.

Reimplemented from AAbstractLabel.