similar to: Patch for listbook sample

Displaying 20 results from an estimated 40000 matches similar to: "Patch for listbook sample"

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
2006 Aug 21
4
Patch for caret sample
Cleaned up so it follows Ruby coding style and uses ID_EXIT, ID_ABOUT. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 19
6
Listbook patch
Small patch to correct spelling of lemonade. Should ask Sean if he really wanted it to be lemonaid. If not, here''s the patch. On another note... This sample works! Kudos. It is odd that the textbox doesn''t scroll. I suppose I may patch that, too. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
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 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 Mar 17
2
newbie: listbook sample on fedora5
opens a basic frame (empty) with following errors (wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkPizza (wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)'' failed (wxruby:17165):
2006 Jul 24
6
MiniFrame.i
Hi Another little patch, adding MiniFrame (a frame with small title bar and buttons which doesn''t appear in the desktop taskbar). Also a sample - not very interesting, happy to roll this into something else if that''s better. cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2005 Aug 29
3
added Choicebook
Here are the new files in a zip and the patches to existing. Also added Listbook values to parents.rb that I forgot when adding that. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 25
2
listbook.rb patch
Hopefully a good listbook.rb patch _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb 1) Message box scrolls properly now 2) Blank lines are skipped when adding pizzas and ice cream _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 29
0
[987] branches/wxruby2/wxwidgets_282/samples/listbook/listbook.rb: Use default constructor before load_frame_subclass to avoid GTK crash
<!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:
2006 Sep 17
1
run.rb
This is a first stab at a run.rb file that will let you run a sample in the bigdemo directory by itself. You have to add the following to the bottom of every sample file: if __FILE__ == $0 load "run.rb" run(File.basename($0)) end Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2008 May 13
2
NotebookSizer? / Resizing a listbook
There seems to be a NotebookSizer in C++ wxWidgets, is it in wxRuby or is it going to be? Not a lot of info to be found about that one. I''ve been trying to apply sizers to a Listbook but nothing goes at it should be. Nothing is visible until I resize the top frame a little and in best case I can get either horizontal grow but not simultaneous vertical grow. Would anyone mind showing me
2007 Mar 06
0
[ wxruby-Bugs-9091 ] Listbook sample is broken on Linux
Bugs item #9091, was opened at 2007-03-06 14:24 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=9091&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Kevin Smith (qualitycode) Summary: Listbook sample is broken on Linux Initial Comment: For some reason the
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 _______________________________________________
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
2005 Aug 31
5
Re: event handlers for wxGrid
I got a warning from the list about the attachments being too big so I am not sure if the original went through. So here is a zip of the files. Sean On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote: > I added all the event handlers for wxGrid. These patches also have > changes from my previous patches that have not been commited yet > (choicebook). wxGrid is actually getting
2007 Sep 12
1
XRC Tool
Hi Attached is a rough draft of a tool that parses XRC files and creates skeleton ruby class files from them. ruby xrc-tool.rb my_frame.xrc > my_frame.rb At the moment it only deals with Frame/Dialog/Panel subclasses, for which it creates a constructor that loads from the XML, and binds the named controls in the XML to ruby variables and accessors. THe idea is that this would make
2007 Oct 02
2
wxRuby Tutorial
Hi Everyone, My name is Sean Lindsay, and I have recently joined the wxRuby project. I have been talking with Alex and have agreed to update the tutorial. I have started by placing a link to a new temporary tutorial page so that the old one can stay in place for the time being. I have written up a preliminary table of contents and would be happy to hear any
2007 Sep 27
10
Adding more sugar to wxSugar
Hi all, New wxRuby event handling offers the choice between using blocks or methods seamlessly and easily. This is great respectively for simple app and more complex app. Nevertheless, currently the creation of an application, a frame, or a dialog is very tedious for simple app : - you need to create a subclass of Wx::App, Wx::Frame ... - you need to put the initialization code in the initialize