Obtain a method of the interface type given a @name. %NULL will be returned if there's no method available with that name.
Free the struct by calling g_base_info_unref() when done.