Class MarkerTemplate : onInterfaceUpdate Event


void onInterfaceUpdate( UIUpdate ui, Marker marker, Programme programme )

Summary

Called when DigiGuide is needs to update the interface relating to Markers


Parameters

ParameterDescription
UIUpdate ui The interface being updated.
Marker marker The marker for this event
Programme programme The Programme object


Examples

Code below taken from the Video Marker.

Essentially it tests to see if the marker is valid and also whether the programme has already been shown...because you can't video something that has been shown already

template.onInterfaceUpdate = function( ui, marker, programme )
{
if( marker )
{
ui.check( true );
}
else
{
ui.check( false );
}
if( programme.isOld() )
{
ui.enable( false );
}
else
{
ui.enable( true );
}
}


See Also

  • UIUpdate


    Requirements

    Build 1062