unreal.MenuPlacement

class unreal.MenuPlacement

Bases: unreal.EnumBase

Enumerates possible placements for pop-up menus.

C++ Source:

  • Module: SlateCore

  • File: SlateEnums.h

MENU_PLACEMENT_ABOVE_ANCHOR

Place the menu immediately above the anchor, no transition effect

Type

6

MENU_PLACEMENT_ABOVE_RIGHT_ANCHOR

Place the menu immediately above the anchor aligned to the right of the content

Type

8

MENU_PLACEMENT_BELOW_ANCHOR

Place the menu immediately below the anchor

Type

0

MENU_PLACEMENT_BELOW_RIGHT_ANCHOR

Place the menu immediately below the anchor aligned to the right of the content

Type

2

MENU_PLACEMENT_CENTER

Place the menu’s center on top of the menu anchor’s center point

Type

10

MENU_PLACEMENT_CENTERED_ABOVE_ANCHOR

Place the menu immediately centered above the anchor, no transition effect

Type

7

MENU_PLACEMENT_CENTERED_BELOW_ANCHOR

Place the menu immediately centered below the anchor

Type

1

MENU_PLACEMENT_COMBO_BOX

Place the menu immediately below the anchor and match is width to the anchor’s content

Type

3

MENU_PLACEMENT_COMBO_BOX_RIGHT

Place the menu immediately below the anchor and match is width to the anchor’s content. If the width overflows, align with the right edge of the anchor.

Type

4

MENU_PLACEMENT_MATCH_BOTTOM_LEFT

Place the menu’s bottom left corner directly on top of the menu anchor’s bottom left corner

Type

12

MENU_PLACEMENT_MENU_LEFT

Place the menu to the left of the anchor

Type

9

MENU_PLACEMENT_MENU_RIGHT

Place the menu to the right of the anchor

Type

5

MENU_PLACEMENT_RIGHT_LEFT_CENTER

Place the menu’s vertical center on the left side at the menu anchor’s vertical center on the right side

Type

11