similar to: MiniFrame.i

Displaying 20 results from an estimated 300 matches similar to: "MiniFrame.i"

2006 Jul 25
6
Wizards
Hi Please find attached a set of patches and swig files to implement Wizards for wxruby. Also a brief sample. Quick q - the C declarations of evt_xxx_xxx methods and their attaching to Ruby classes seems to be duplicated across Events.i and EvtHandler.i - is one of these the right place to be adding them? or both? Thanks alex _______________________________________________
2004 May 03
1
Sub-menus?
Hey guys, I have been trying unsuccessfully to create a menu that holds "sub-menus". To clarify, I want something along the lines of when you click on a File menu, then see the "New" menu, which you can click on to open a new layer of menus. Is this supported yet in WxRuby? Robert _________________________________________________________________ Getting married? Find
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2004 May 22
4
couple of questions
Hi folks A couple of questions: 1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox and ListBox when the MDI child frame containing it is first painted (see attached - it should be two-root treeview, unopened). I''m not sure if it''s related to being in a MDI, but the controls sample looks OK. The artifacts are cleared up when it''s repainted or
2006 Sep 15
1
wxMiniFrame
This implements a MiniFrame example. Not very exciting, but there you go. We need to figure out why center_on_parent isn''t working. Maybe I''ll tackle that next. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 25
0
Frame and MiniFrame
In my builds on my system I cannot run both the MiniFrame and Frame examples in BigDemo one after the other. Does this happen for anyone else with the current checked-in code? I''m not sure if it''s my SWIG or recent changes. I get the following error: superclass mismatch for class MyFrame Anyone?
2006 Sep 26
1
Frame and MiniFrame patch
This patch allows them to both work. Basically, I renamed the class for the MiniFrame sample. I was under the mistaken impression that Ruby let you redefine a class. Anyone know how to do that? The wxFrame.rbw patch just centers the window for looks. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Dec 10
3
Popup Window
Hey! I would need a popup window like this (not necessarily associated to a taskbaricon): http://www.venraiker.com/wp-content/uploads/2006/03/libnotifyvx.png I should be possible to show such a window for a certain time, displaying a certain message. Is a similar thing possible with wx? Are there oder options? thx ck -- Posted via http://www.ruby-forum.com/.
2004 Dec 22
2
(no subject)
Hi, While running the sample application controls/control.rbw I encountered the following error: controls.rbw:1064:in `onAbout'': undefined method `free'' for #<Wx::BusyCursor:0x2 827db0> (NoMethodError) from controls.rbw:1039:in `initialize'' from controls.rbw:1039:in `call'' from controls.rbw:1164:in `main_loop''
2005 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of the wxPython demo/sample. I hoped to include it in wxruby2, but it relies on SplitterWindow, which isn''t in wxruby2 yet. I tried to implement SplitterWindow myself, but got such strange results that I''m thinking I did something wrong. Even though the generated C++ code specified a variable number of
2004 Jan 27
2
The flicker of the status bar.
Hi, all! I''ve just started to use wxruby under Win2K. I didn''t use wxWindows earlier. Can anybody explain why the status bar flickers at the top (!) of the frame when I resize the frame and how to avoid this? (the following code is the simplest example) #----------------------------------- require ''wxruby'' include Wx class RbApp < App def on_init
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi, I am making a game with Ruby/SDL and have run into trouble finding a GUI to cooperate. I have seen numerous examples of wxWindows in combination with SDL (wxPython and PyGame), but have yet to be able to do it in ruby (PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame). I am not very good with wxRuby as this is my first time using it and thought some more knowledgable users
2006 Aug 21
2
Patch to Calendar sample
This patch cleans up the calendar sample to follow the Ruby coding style. It also uses ID_ABOUT and ID_EXIT for the About and Quit menu item ID''s these allow wxWidgets to put the About and Quit menu in the correct location on Mac OS X. We should probably do this with all the samples. Sean _______________________________________________ wxruby-users mailing list
2007 Apr 13
2
who can give me an EvtHandler#connect example?
I read the api document online: http://wxruby.rubyforge.org/doc/evthandler.html but still don''t know how to use it. EvtHandler#connect connect(Integer id, Integer lastId, EventType eventType, ObjectEventFunction function, Object userData = nil, EvtHandler eventSink = nil) the online doc''s example is write in C++: frame->Connect( ID_EXIT,
2007 May 31
0
[1043] trunk/wxruby2/samples/bigdemo: Don''t manually call destroy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2008 Jan 24
2
Problems when compiling MFC application
<table cellspacing='0' cellpadding='0' border='0' ><tr><td style="font: inherit;"><font size="2">Dear All,</font><br> &nbsp;<br> <font size="2">&nbsp;&nbsp;&nbsp;&nbsp; This is my first post on the wine organisation mailing lists, i would like to inform all of you i am using
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to deciphering runtime errors. Once again, I''m going to pick up on this tomorrow, but I thought I''d post my console output tonight to see if anyone has any thoughts before I tackle this tomorrow. I''m running the same app "minimal.rb" E:\Dev\RubyDev\wxruby\samples\minimal>ruby
2005 Jul 24
2
Fwd: fix Choice.cpp unicode string
This is needed so that samples/etc/choice.rb shows the strings in the choice box. One of the few places that missed UTF8 convertion. --- swig/classes/Choice.i 31 Jan 2005 04:18:52 -0000 1.2 +++ swig/classes/Choice.i 24 Jul 2005 19:18:55 -0000 @@ -14,7 +14,7 @@ for(int i=0; i < $1; ++i) { VALUE thisItem = rb_ary_entry($input, i); - $2[i] = (wxChar
2006 Nov 13
0
[732] trunk/wxruby2/samples: Fixed a few crashes related to the about box menu.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Sep 05
6
centering MessageDialog
Hi, is there any way to center the default Wx::MessageDialog or Wx::message_box on parent (owner) instead of screen? I haven''t found any constant other than Wx::DEFAULT_POSITION. thanks for your help. fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users