Runs the initializer as far as allocating the Qt C++ instance. Then use a throw to jump back to here with the C++ instance wrapped in a new ruby variable of type T_DATA
Source Code
# File qt/qtruby4.rb, line 2196 def Internal.try_initialize(instance, *args) initializer = instance.method(:initialize) catch "newqt" do initializer.call(*args) end end
<code/>and<pre/>for code samples.