search for: chauk

Displaying 20 results from an estimated 31 matches for "chauk".

Did you mean: chalk
2007 Oct 09
17
Crash when using item data with a CheckListBox
...i]) } evt_listbox lb do |event| puts lb.get_item_data(event.index) end helloframe.show end end HelloWorld.new.main_loop When an item is selected, the corresponding data is ouput. If the list box is replaced by a check list box, the application crashes immediately. Cheers. Chauk-Mean.
2007 Oct 09
17
Crash when using item data with a CheckListBox
...i]) } evt_listbox lb do |event| puts lb.get_item_data(event.index) end helloframe.show end end HelloWorld.new.main_loop When an item is selected, the corresponding data is ouput. If the list box is replaced by a check list box, the application crashes immediately. Cheers. Chauk-Mean.
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
...arguments without index sizer.add_item(button3, :proportion => 1, :flag => Wx::EXPAND) # use of keyword arguments with index specified sizer.add_item(button2, :index => 1, :proportion => 1, :flag => Wx::EXPAND) self.sizer = sizer end frame.show end Cheers. Chauk-Mean.
2007 Sep 27
10
Adding more sugar to wxSugar
...menu Wx::ID_ABOUT, :on_about end frame.show end I find it very readable and less tedious to write (see the attached source files). What do you think about it ? This is only a proof of concept and I also intend to add support for XRC initialization for CandyDialog and CandyFrame. Cheers. Chauk-Mean. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: minimal.rb Url: http://rubyforge.org/pipermail/wxruby-development/attachments/20070927/61862020/attachment-0002.pl -------------- next part -------------- An embedded and charset-unspecifie...
2009 Sep 03
24
wxRuby-2.0.1 release ?
Hi, What about releasing a new version shortly ? This is a long-awaited request from several users especially for recent ruby-1.9.1 versions on MinGW. Cheers. Chauk-Mean.
2008 Nov 11
6
Build problem with ruby-1.9.1-preview1
Hi all, I wanted to have a look at wxRuby on a recent version of ruby 1.9 (ruby-1.9.1-preview1) on Ubuntu 8.10 x86. Here is the result : chauk-mean at MyUbuntu:~/wxruby2$ ruby19 -v ruby 1.9.1 (2008-10-28 revision 19983) [i686-linux] chauk-mean at MyUbuntu:~/wxruby2$ rake19 WXRUBY_VERSION=1.9.9 gem (in /home/chauk-mean/wxruby2) Enabling DYNAMIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not ava...
2007 Sep 20
3
Bug? in wxSugar enumerable_controls.rb
...d for this problem is to add -1 as an acceptable arity : ... when 1, -1 0.upto(last) { | i | yield i } ... Given the Pickaxe book, an arity of -1 for a block seems to be valid. So I don''t know if it''s a Ruby bug or a wxSugar bug. Any clarification is welcome. Cheers. Chauk-Mean.
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
...don''t know how to update automatically the state of each formatting button according to the position of the caret. The C++ sample rely on EVT_UPDATE_UI. I tried to use evt_update_ui without success. Currently, I''m using a refresh button to update the formatting buttons. Thanks. Chauk-Mean.
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
...don''t know how to update automatically the state of each formatting button according to the position of the caret. The C++ sample rely on EVT_UPDATE_UI. I tried to use evt_update_ui without success. Currently, I''m using a refresh button to update the formatting buttons. Thanks. Chauk-Mean.
2007 Sep 17
7
Re : syntax II
...;an ''each'' method that passes in turn each valid index into the widget: > >listbox.each { | i | set_item_text(i, item_text(i).upcase) } > Everything that makes wxRuby looks more Ruby is good. Nevertheless, I don''t know if I will use this feature often. Cheers. Chauk-Mean.
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
...the index of a checked/unchecked item from a CheckListBox ? Again the doc is not clear as int is expected to work only for a selection and not the deselection. => Other question : Is there a bug that makes checked? not working for an event of CheckListBox ? Sorry for this long post. Cheers. Chauk-Mean.
2007 Oct 09
3
Trouble with dialog based application
...pp def on_init hellodlg = Wx::Dialog.new(nil, "Hello World") Wx::StaticText.new(hellodlg, "Hello World") hellodlg.show_modal # hellodlg.show end end HelloWorld.new.main_loop puts "exit from application" => Am I doing something wrong ? Cheers. Chauk-Mean.
2007 Sep 26
7
development status, 1.9.2
Hi all Just a quick update on recent SVN activity: * added Sound and CollapsiblePane classes * added the XRC tool to wxSugar * fixed some XRC bugs in Window * added syntax sugar for event handlers and list-like controls * added some missing methods in Sizer Sean - I''m away for about 10 days from this weekend, and I''m thinking of doing a 1.9.2 release in the next day or two.
2008 Mar 12
3
Different (tree) event behaviors across platforms
...see traces indicating that there are selection change events occuring during the close of the application ! On Linux, you don''t have these events. This time for 2/ and 3/ I had to write code to face these strange things on Windows. Thanks in advance for any help/clarification. Cheers. Chauk-Mean. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Sep 15
2
wxRuby 1.9.1 and id accessor consistency problem
...el as a synonym for x.get_label). I just found that get_id has no corresponding Rubish style id accessor. For a CheckListBox or a StaticText (I haven''t checked for other kind of controls), id just returns the Ruby object_id. This is very confusing and not consistent with other accessors. Chauk-Mean. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Feb 27
2
Missing evt_tree_item_menu method for TreeCtrl ?
Hi, The documentation mentions the evt_tree_item_menu method for TreeCtrl but it seems that this method is not defined (wxRuby 1.9.4 on Windows). As a workaround, I''m currently using evt_tree_item_right_click. Cheers. Chauk-Mean.
2007 Oct 23
3
CheckListBox : delete method bug !
...x::CheckListBox class, everything is OK and I can check/uncheck all items as expected after the deletion. I don''t know if it is a wxRuby or a wxWidgets problem, but given all issues I discovered with CheckListBox, I had the impression that this control is a second class citizen. Cheers. Chauk-Mean.
2009 May 26
4
Unable to use wxruby-ruby19 in Ruby 1.9.1-p129 on Windows
Hello, I''m using wxRuby as my favourite GUI toolkit with Ruby 1.9. But after I updated my Ruby installation from Ruby 1.9.1-p0 to Ruby 1.9.1-p129, I cannot do a require "wx" anymore. Every time I try I get an error that says that Windows isn''t able to find some procedure. I have a German Windows XP installation, so I don''t know the English equivalent of this
2008 Mar 01
11
wxRIDE Finally Available
Hello fellow wxRuby users, Well, after a long period in which I originally announced that I was creating an IDE, I have finally become satisfied enough to release a SVN Version of wxRIDE. I started the project out, and in cases where I couldn''t launch the application again, I utilized SciTE (Which uses Scintilla, same as wxRIDE), outside of that initial part, and subsequent failures to
2007 Oct 18
6
Bug in minimal.rb
Hi! I discovered WxRuby2 and WxSugar a short while ago (1.9.1) and I really like its professional look and the platform independance. But especially the simplification and ''rubyfication'' that you already achieved and are planning for 1.9.2 (event handlers) is funstuff! Thanks a lot! And with Ruby 1.9/2 the keyword constructors will be even nicer with the new hash syntax: