Button

Parent: Window

Table of Content


Event

ButtonCheck

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonDown

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonHoldBegin

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonSignal

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonUncheck

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonUp

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

ButtonUpCancel

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • eMouseButton (EMouseButton) - The mouse button being clicked.

Event

QueryBeginDragDrop

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened

Method

AttachWindow()


Method

ChangeArt(strButtonBase)

Description

Updates the art of the button. The art is updated if a button is passed. The button's string is also updated with the passed parameter.

Params

  • strButtonBase (Varies - String or Button)

Method

GetContentId()

Description

Does a lua_pushinteger of the caller's content Id as an integer.


Method

GetContentType()

Description

Does a lua_pushwstring of the caller's content type as a string.


Method

IsChecked()

Description

Does a lua_pushboolean of the caller's IsChecked as a boolean.


Method

SetCheck(bCheck)

Description

Sets the caller's check to bCheck.

Params

  • bCheck (Bool)

Method

SetContentId(nContentId)

Description

Sets the caller's content id to uContentId.

Params

  • nContentId (Integer)

Method

SetContentType(strContentType)

Description

Sets the caller's content type to sContentType.

Params

  • strContentType (String)

Method

SetDisabledTextColor(clr)

Description

Sets the caller's m_crStateText in the BS_Disabled state to clr.

Params


Method

SetFlybyTextColor(clr)

Description

Sets the caller's m_crStateText in the BS_Flyby state to clr.

Params


Method

SetInnerMargin()


Method

SetNormalTextColor(clr)

Description

Sets the caller's m_crStateText in the BS_Normal state to clr.

Params


Method

SetPressedFlybyTextColor(clr)

Description

Sets the caller's m_crStateText in the BS_PressedFlyby state to clr.

Params


Method

SetPressedTextColor(clr)

Description

Sets the caller's m_crStateText in the BS_Pressed state to clr.

Params

results matching ""

    No results matching ""