STextComboBox

A combo box that shows text content.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/STextComboBox.h

Include

#include "Widgets/Input/STextComboBox.h"

Syntax

class STextComboBox : public SCompoundWidget

Remarks

A combo box that shows text content.

Functions

Name Description

Public function

void

 

ClearSelection()

Clears the selected item in the text combo

Public function

void

 

Construct

(
    const FArguments & InArgs
)

Public function

TSharedPtr < ...

 

GetSelectedItem()

Returns the currently selected text string

Public function

TSharedRef < ...

 

MakeItemWidget

(
    TSharedPtr < FString > StringItem
)

Called to create a widget for each string

Public function

void

 

RefreshOptions()

Request to reload the text options in the combobox from the OptionsSource attribute

Public function

void

 

SetSelectedItem

(
    TSharedPtr < FString > NewSelection
)

Classes

Name

Description

Public struct

FArguments

Typedefs

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback