search for: assaph

Displaying 20 results from an estimated 33 matches for "assaph".

Did you mean: asaph
2004 May 24
9
Combo Box
...lue. Unfortunately, that''s not implemented >> in wxRuby 0.3.0. >I found to my surprise that this method is actually working, but only in the >example code that comes with wxRuby one-click install for Windows. @combo.get_label seems to work for me. See sample code below. HTH, Assaph ----- CODE ----- require ''wxruby'' include Wx ID_DRIVES_BOX = 1 ID_BTN1 = 2 class TestFrame < Frame def initialize super(nil, -1, "Test App") dlgSizer = BoxSizer.new(VERTICAL) drives = `subst`.split("\n").collect {|d|...
2004 Jun 19
4
FlexGridSizer question
=begin I am trying to understand how FlexGridSizer works and I have written a small test application using the latest wxRuby 0.4.0 on Win XP (Home). I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button. I have tried all combinations of ALIGN flags, but I either got the text sticking far too close to the left edge of
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available? b
2006 Mar 24
9
Escaping characters
Hi, I am writing some help about post formatting. I am using redcloth to format the text, and in a FAQ, also formatted with redcloth, I explain what to type to what to obtain. So, how could I escape ''*'', ''#'' & Co, to have an output like <redcloth> Type *word* to obtain <strong>word</strong> </redcloth> I tried "Type
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the TextCtrl field that is created when you start typing in a cell. Also is there a way to get mouse events to work with a wxGrid, so far I can''t get any of them to work. I had tried various combo''s of: @grid.evt_left_down(){ |event| puts "Left mouse is down"; } using evt_left_down, evt_left_up,
2004 Apr 26
7
TRW: getters and setters
Hi all, I mentioned this on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm,
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks I''m trying to make a class to make Wx::Menu easier for me to use and hide the constants and event-binding complexity. I''ve created a subclass of Wx::Menu, but whether I create my own append() method and call super(), or create a differently-named method and called append() from it, it seems to segfault. Sample attached, see line 20. Am I doing something stupid?
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they are Microsoft-heads. While I can probably sell them on trying Rails, they are definitely going to want the database to sit in our SQL Server instance with our other databases. I can''t get instiki to create the tables in sql server though (I''ve added ADO.rb, and gotten a connection). When I run the
2006 Jun 16
6
rendering mathematical equations
Any recommendations on how I can get mathematical equations into my resulting html? (Besides using x^2^ type markup.) I figure I could parse out equation text from my main text before RedCloth ever sees it... and then maybe create png''s somehow from it, putting the links to them back into the main text before handing it over to RC. But I don''t know of a util that will generate
2006 Feb 15
7
Ackbar - ActiveRecord Adapter for KirbyBase
...rtain methods in ActiveRecord::Base and others. These methods translate the standard SQL generation to method calls on KirbyBase, and obviously should not be overridden for regular DBs. Please do not hesitate to contact me for questions, comments, whacks on the head with a clue stick :-) Cheers, Assaph
2004 Apr 21
2
Resizing a ListCtrl
...ciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing I''ve noticed - this seems to be ignored in the example below: @fileList.set_column_width(0, LIST_AUTOSIZE_USEHEADER) Cheers, Assaph p.s. I''m using ruby 1.8.1 (2003-12-25) [i386-mswin32] with the latest wxruby (0.3.0). This has also happened with wxRuby 0.2.0. # BEGIN CODE require ''wxruby'' include Wx class MainFrame < Frame def initialize ## {{{ # init size, ionstance variables and sup...
2004 Jul 07
2
wxGrid Event handling work around?
Hi wxRuby gurus, I remember a while back, Zach Dennis was working on a mini Spreadsheet app using wxGrid when the issue of lack of wxGrid event handling was discussed. I think Kevin (or Assaph?) had suggested some workarounds until the Swig based version is out. Could not figure out from the archives exactly what the final resolution was, but I am stuck at the same spot and am desperately in need of something workable (deadline fast approaching). Please, any body? MMTIA, -- shanko ---...
2004 Jun 10
2
Building wxruby-swig on WinXP
Sorry for the lameness, but I need things explained to me very slowly... -----Original Message----- Subject: RE: [Wxruby-users] wxGrid Question > > Yes, grab the latest tarball from the above location. Then, you should > install rubygems if you haven''t already: > http://rubyforge.org/projects/rubygems/ > > That should allow you to easily install rake: >
2006 Feb 21
0
Blog of building Agile Web Development w/Rails Depot App using Ackbar/KirbyBase (Chapter 6-7)
...I am the developer of KirbyBase (http://netpromi.com/kirbybase_ruby.html), a small, pure-Ruby DBMS that keeps its data in plain-text files and uses Ruby as it''s query language. Ackbar (http://rubyforge.org/projects/ackbar/) is an ActiveRecord adapter for KirbyBase and was written by Assaph Mehr. My plan is to work through the complete Depot app (chapters 6-11) using Ackbar/KirbyBase. This should be a fairly good test of how well Ackbar/KirbyBase can function as a Rails backend. Along the way, I am blogging about any workarounds/pitfalls someone using Rails/Ackbar/KirbyBase mig...
2005 Dec 19
2
rails based wiki: is instiki still being developed?
hello, is the instiki project still being developed? it seems the web site is down for a couple of weeks now, and almost no activity is going on on the developer mailing list. on a related note, are you aware of other actively developed rails-based wikis? many thanks in advance.
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
2005 Aug 01
4
Backwards compatability
In doing my testing I''m wondering if maintaining backwards compatability for existing applications is important. The question boils down to this: Are there sufficient applications that are using wxRuby (pre swig) that we should expect to have to support all/most without changes or should we expect that most applications will need to learn the ''new'' ways things
2004 Nov 08
7
[Fwd: Weft - a free open-source QDA tool]
Hi Just released a first version of the WxRuby project I''ve been working on. Firstly, I wanted to say thanks to everyone on this list who''s helped at various points over the past year - every time I ran into a problem someone jumped in with advice. A very brief explanation of the app - I''m a sociologist/anthropologist by trade, and the app is intended for use in
2005 Feb 07
7
New Docs - First Look
Ok, my first complete swipe for the new docs (but still with old rdoc default output templates) can be seen at: http://www.mktec.com/dev_www/wxruby-docs/ Most of the classes/methods documentation came out fine, but I still need finetune because some methods don''t get documented at all, like methods in the classes Bitmap and Frame. Once I can get it so all things get documented
2006 Jun 01
5
Content Management System
I am looking for a good CMS based on Rails that has at least these attributes: 1. Ease of use ( as it will be used by people who are not html literate) 2. Very easy/flexible to change layout. So far I have looked at http://rcms.oopen.de/Home/ (have not installed it yet) http://adminpages.flowdev.de http://demo.radiantcms.org/admin/pages http://www.eribium.org/eribium/ MuraveyWeb does not seem