NewsDialog

From Vendetta Lua
Jump to navigationJump to search

Dialog that shows the last requested news article. Always display with ShowDialog. Created with CreateNewsMenu

The container is registered with the events: UPDATE_NEWS

Functions

OnEvent

Definition:
OnEvent(userdata self) -> nil

Description:
Eventhandler

Arguments:
self this dialog

SetHeader

Definition:
SetHeader(userdata self, string header) -> nil

Description:
Change the headline above the article.

Arguments:
self this dialog
header headline