checkPtrType(w, klass = "GtkWidget", nullOk = FALSE, critical = TRUE)
implements(obj, interface)NULL.obj is expected to implement.checkPtrType function is most useful to the user when it is not known if an object is of
the required type. A good example is the user data argument of a callback function.
To see if a GObject implements a certain interface, use implements.