Displaying 7 results from an estimated 7 matches for "load_fram".
Did you mean:
load_from
2007 Apr 13
0
[962] branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl: Fixed the documentation for load_*_subclass, where * is [Dialog, Panel, Frame].
...lResource_loadbitmap
</span><span class="cx"> * "XmlResource#load_dialog":#XmlResource_loaddialog
</span><ins>+* "XmlResource#load_dialog_subclass":#XmlResource_loaddialogsubclass
</ins><span class="cx"> * "XmlResource#load_frame":#XmlResource_loadframe
</span><ins>+* "XmlResource#load_frame_subclass":#XmlResource_loadframesubclass
</ins><span class="cx"> * "XmlResource#load_icon":#XmlResource_loadicon
</span><span class="cx"> * "XmlResou...
2007 Apr 28
6
XRC Problem
...9;
rescue LoadError
raise no_wx_err
end
end
module XrcEnabled
def getXrcControl(id)
return find_window_by_id( Wx::xrcid(id) )
end
end
class ContactList < Wx::Frame
include XrcEnabled
def initialize()
super(nil,-1,"RubyIM")
$xml.load_frame_subclass(self,nil,"ContactList")
# Grab all the controls for what I''m creating
end
end
class RubyIMApp < Wx::App
def on_init
$xml = Wx::XmlResource.get();
$xml.init_all_handlers();
xrc_file = File.join( File.dirname(__FILE__), "xr...
2005 Aug 16
9
Patch and files to add Listbook
I added the Listbook class (basically the same as the Notebook class
with some name changes). I also took the time to write a sample that
uses it. The sample interface uses XRC and is slightly more advanced
than the current XRC sample.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that
consists of a very simple wxWizard. I have exported the
project to XRC and am trying to get XRCise to process it.
XRCise produces the message "Cannot create wrapper for
subclass of wxWizard".
Is this a symptom of the XPath parsing in Ruby 1.8.6 bug?
Or am I doing something wrong?
My env:
ruby 1.8.6 (2007-03-13 patchlevel 0)
2004 Nov 13
2
wxRuby and XRC via wxGlade
...>
</resource>
-------------- next part --------------
#!/usr/local/bin/ruby
require "wxruby"
class Foo < Wx::App
def on_init
Wx::init_all_image_handlers()
$xml = Wx::XmlResource.get();
$xml.init_all_handlers();
$xml.load("foo.xrc")
$main = $xml.load_frame(self, "frame_1")
$main.show(true)
end
end
Foo.new.main_loop
2007 Apr 14
0
[965] branches/wxruby2/wxwidgets_282/doc/textile: Misc.
...alog. _dlg_ points to parent window (if any).
</span><span class="cx">
</span><span class="lines">@@ -200,13 +200,13 @@
</span><span class="cx">
</span><span class="cx"> h3(#XmlResource_loadframe). XmlResource#load_frame
</span><span class="cx">
</span><del>- "Frame":frame.html *load_frame*(%(arg-type)Window% parent, %(arg-type)String% name)
</del><ins>+ "Frame":frame.html *load_frame*(%(arg-type)Window% parent, %(arg-type)String% name)
</ins&g...
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource