Einhugur macOS Bridge plugin. |
|
NSSegmentedControl.FromIntegerPtr Method
Constructs NSSegmentedControl object from Integer handle coming from declares or 3rd party plugin.
shared FromIntegerPtr(
imageIntPtr
as Integer)
as EinhugurMacOSBridge.NSSegmentedControl
Parameters
- imageIntPtr
- Integer handle coming from declare or 3rd party plugin that points to live NSSegmentedControl object.
Returns
- EinhugurMacOSBridge.NSSegmentedControl
Remarks
Do not pass integer in here that is not actually NSSegmentedControl handle, doing so would generate crash.
The NSSegmentedControl class will handle retaining the object once and releasing once the object once the NSSegmentedControl class is no longer used.
See Also
NSSegmentedControl Class