Yes, it is.
The code is similar to the code in org.eclipse.swt.internal.gtk.OS.