I'm converting a Objective-C program to PyObjC and lack experience in both.
Here is the Objective-C portion
WebPreferences *p = [webview preferences];
if([p respondsToSelector:@selector(setWebGLEnabled:)]){
[p performSelector:@selector(setWebGLEnabled:) withObject:[NSNumber numberWithBool:YES]];
}
This is basically an undocumented method (yes I know I can't submit to app store) to enable WebGL in the WebView
I can't figure out how to translate this portion to PyObjC