similar to: what type of variable use? (setting text on another class va

Displaying 20 results from an estimated 100 matches similar to: "what type of variable use? (setting text on another class va"

2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi, Thanks to the newly added event handlers for Wx::Grid in the 0.6.0 release, I can now provide a much slicker intreface to my "data widgets" which heavily rely on that control. However, I haven''t quite figured out how to programmatically scroll to the last row of a populated grid (actually, the first empty row). So say that I have a grid with 200 rows only 20 of which
2007 May 01
1
Text of Status Bar always disappear
The first time I create the status bar by call @sb = create_status_bar @sb.set_status_text(''Welcome to use Code Line Statistics'') it works perfect. But when I click a tool bar button that trigger an event, and call @sb.set_status_text(''Finish'') if the mouse is on the button, the text of status bar is "Finish"; but once the mouse is out of the
2008 Feb 24
4
wxruby effect like fxshutter
hi, i was searching for an efect in wxruby like fxshutter from fxruby. http://www.fxruby.org/doc/examples.html is it possible to build an skeleton like this in wxruby? i am ruby beginner -- Posted via http://www.ruby-forum.com/.
2003 Nov 10
1
Statusbar usage
Hi! While playing around with a little example, I''ve realized, that I don''t exactly know, how to work with the statusbar. When just calling set_status_text (setStatusText in C++), then repeating messages don''t display again. I guess there should be a magic rule about statusbar''s text hierarchy, but can sy give me some hints about it? Maybe some wxruby hints
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an application''s state? I tried a minimal example of simply serializing a minimal frame object, and I get the error "no marshal_dump is defined for class MinimalFrame". I don''t fully understand this because I also tried another minimal example of dumping a class which did not defined a marshal_dump, and it
2008 May 03
2
sqlite3, inserting values in database
hi, i have a small form of textfields and i need to add these informations to a table in sqlite3 database. but i dont know how to do it. i mean that its small address book program. and ''id'' from ''clients'' table has to increments. i open database with : db = Database.open("data.db"), but then i dont know what to do... anyone can help? -- Posted via
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
2007 Oct 03
0
[ wxruby-Patches-14416 ] Patch for Bug [#12747] Crash on exit
Patches item #14416, was opened at 2007-10-03 15:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=220&aid=14416&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Christopher Bludau (count_cb) Assigned to: Nobody (None) Summary: Patch for Bug [#12747] Crash on exit Initial Comment: Patch for the bug [#12747]
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
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 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2010 Feb 28
2
[LLVMdev] How to check if an Instruction is still in a Function
Hi, Given an instruction ptr instr, and a Function ptr func, can I simply check if func == instr->get_parent()->get_parent() to see if this instruction is still in this Function? We can also look up this instruction in the blocks of this function. But this may take more time. Thanks. -- Jianzhou
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
<!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 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
<!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:
2010 Mar 02
0
[LLVMdev] How to check if an Instruction is still in a Function
On Feb 28, 2010, at 11:11 AM, Jianzhou Zhao wrote: > Hi, > > Given an instruction ptr instr, and a Function ptr func, > can I simply check if func == instr->get_parent()->get_parent() to see if > this instruction is still in this Function? > Yup! -bw
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append_check_item(). This is the output I get: % ruby test-menu.rb #<Wx::MenuItem:0xb74c036c> nil Am I missing something or is this a bug? Both menu items are created and work as expected. I
2010 Mar 02
1
[LLVMdev] How to check if an Instruction is still in a Function
On Mon, Mar 1, 2010 at 7:29 PM, Bill Wendling <wendling at apple.com> wrote: > On Feb 28, 2010, at 11:11 AM, Jianzhou Zhao wrote: > >> Hi, >> >> Given an instruction ptr instr, and a Function ptr func, >> can I simply check if func == instr->get_parent()->get_parent() to see if >> this instruction is still in this Function? >> > Yup! Well.
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 Aug 10
3
update on samples
Hi all Have been taking a look at the samples to see what''s broken. Not looking TOO bad overall, but a few problems we should try and tackle before alpha: Firstly, I have a few commits (minimal, dialogs, unicode) - anyone else been working on these or can I go ahead? One general issue is that many of the samples rely on being run from their own directory, but don''t enforce