A button that, when clicked, brings up a popup.
更多...
#include <SComboButton.h>
|
| void | Construct (const FArguments &InArgs) |
| | Construct the widget from a declaration 更多...
|
| |
| virtual void | SetMenuContent (TSharedRef< SWidget > InContent) override |
| | The visual style of the button (overrides ComboButtonStyle) 更多...
|
| |
|
void | SetOnGetMenuContent (FOnGetContent InOnGetMenuContent) |
| | See the OnGetMenuContent event
|
| |
|
|
virtual FReply | OnButtonClicked () |
| | Handle the button being clicked by summoning the ComboButton.
|
| |
|
|
bool | bIsFocusable |
| | Can this button be focused?
|
| |
|
SHorizontalBox::FSlot * | ButtonContentSlot |
| | Area where the button's content resides
|
| |
|
TWeakPtr< SWidget > | ContentWidgetPtr |
| | The content widget, if any, set by the user on creation
|
| |
|
const FSlateBrush * | MenuBorderBrush |
| | Brush to use to add a "menu border" around the drop-down content
|
| |
|
FMargin | MenuBorderPadding |
| | Padding to use to add a "menu border" around the drop-down content
|
| |
|
FOnComboBoxOpened | OnComboBoxOpened |
| | Delegate to execute when the combo list is opened
|
| |
A button that, when clicked, brings up a popup.
◆ Construct()
| void SComboButton::Construct |
( |
const FArguments & |
InArgs | ) |
|
Construct the widget from a declaration
- 参数
-
| InArgs | The declaration from which to construct |
◆ SetMenuContent()
The visual style of the button (overrides ComboButtonStyle)
Optional static menu content. If the menu content needs to be dynamically built, use the OnGetMenuContent event Sets an event handler to generate a widget dynamically when the menu is needed. Spawn a new window or reuse current window for this combo True if this combo's menu should be collapsed when our parent receives focus, false (default) otherwise
该类的文档由以下文件生成: