UE3:UTUIButtonBarButton (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UIButton >> UILabelButton >> UTUIButtonBarButton
Package:
UTGame
Implemented interfaces:
UIDataStorePublisher
This class in other games:

Modified version of label button that doesn't accept focus on console.

Default values

Property Value
BackgroundImageComponent UIComp_DrawImage'ButtonBarBackgroundImageTemplate'
StringRenderComponent UIComp_DrawString'ButtonBarStringRenderer'

Subobjects

ButtonBarBackgroundImageTemplate

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'UTButtonBarButtonBG'
StyleResolverTag 'Background Image Style'

ButtonBarStringRenderer

Class: Engine.UIComp_DrawString

Property Value
AutoSizeParameters[0]
Member Value
bAutoSizeEnabled True
StringStyle
Member Value
DefaultStyleTag 'UTButtonBarButtonCaption'
StyleResolverTag 'Caption Style'

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UILabelButton.WidgetEventComponent

No new values.

Native functions

CanAcceptFocus

native function bool CanAcceptFocus (optional int PlayerIndex, optional bool bIncludeParentVisibility) const

Overrides: UIObject.CanAcceptFocus

Determines whether this widget can become the focused control.

Parameters:

  • PlayerIndex - the index [into the Engine.GamePlayers array] for the player to check focus availability
  • bIncludeParentVisibility - indicates whether the widget should consider the visibility of its parent widgets when determining whether it is eligible to receive focus. Only needed when building navigation networks, where the widget might start out hidden (such as UITabPanel).

Returns:

TRUE if this widget (or any of its children) is capable of becoming the focused control.