User Tools

Site Tools


api:dk11:python:tatukgis_pdk.igis_subscribe

Table of Contents



IGIS_Subscribe class

Interface for objects that receive viewer subscription notifications.

Syntax

# Python
class IGIS_Subscribe:

Methods

Inherited Overrides Protected
Name Visibility Description
SubscribedEvent public Handles a viewer subscription notification.

Remarks

PURPOSE: Implement this interface in controls or helper objects that need to react to viewer state changes and refresh their own presentation or cached information.

BEHAVIOR: Subscribers receive notifications through SubscribedEvent with the sender, event identifier, and optional context object supplied by the viewer. This interface is used by components such as TGIS_ControlLegend and TGIS_ControlScale.

USAGE: Implement the callback and subscribe the object to the viewer.

subscriber = CustomSubscriber()       viewer.Subscribe(subscriber)

2026/10/31 22:49

Page Tools