This callback is fired when a property page is opened (inspected).
Use this callback to initialize a property page. To access the property page, use the PPG object in your OnInit callback.
Custom Properties implemented in a scripting language.
function <property_name>_OnInit()
{
...
}
|
def <property_name>_OnInit( in_context ):
...
|
Function <property_name>_OnInit( in_context )
...
End Function
|
sub <property_name>_OnInit
{
my $in_context = shift;
}
|
<property_name> is the name specified in the call to PluginRegistrar.RegisterProperty, with any spaces converted to underscores. For example, if you register a property with the name "My Property", the callback function names start with "My_Property".