Displaying 20 results from an estimated 10000 matches similar to: "Suggestions"
2004 May 24
9
Combo Box
>> You really want to call get_value. 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''
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 21
0
Blog of building Agile Web Development w/Rails Depot App using Ackbar/KirbyBase (Chapter 6-7)
Sorry for the long Subject line, but I couldn''t figure out what else to
call it. :-)
Just a quick announcement to tell you that I have worked through
Chapters 6 and 7 so far of "Agile Web Development with Rails", using
Ackbar/KirbyBase to develop the Depot app instead of MySQL. You can
find my blog about it at:
http://houseonfire.wordpress.com
For those who
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys,
I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl
will not resize horizontally no matter what I''m doing. I''ve attached a
sample code below. Any help will be greatly appreciated, 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
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,
2006 Nov 04
0
arrayfields-3.6.0
URLS:
- http://raa.ruby-lang.org/project/arrayfields/
- http://www.codeforpeople.com/lib/ruby/arrayfields/
- http://rubyforge.org/projects/arrayfields/
SYNOPSIS:
allow keyword access to arrays:
require ''arrayfields''
fields = ''name'', ''age''
row = [ ''bob'', 30 ]
row.fields = fields
row[
2006 Feb 15
7
Ackbar - ActiveRecord Adapter for KirbyBase
= About Ackbar
Ackbar is an adapter for ActiveRecord (the Rails ORM layer) to the KirbyBase
pure-ruby plain-text DBMS. Because KirbyBase does not support SQL, joins or
transactions, this is not a 100% fit. There are some changes to the ActiveRecord
interface (see below), but it may still be useful in some cases.
= URIs
Ackbar: http://ackbar.rubyforge.org
KirbyBase:
2007 Aug 24
2
setting the font in FXText
I have subclassed a FXDialogBox and put a FXText in it for displaying a
hex dump in my application. I want to change the font to a courier type
font since it''s a hex dump. When do the following it works as expected:
# A little dialog box to use in our tests
class FXTextDialog < FXDialogBox
def initialize(owner)
# Invoke base class initialize function first
super(owner,
2007 Apr 29
0
[981] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Don''t call PaintDC.new; just refresh() instead of duplicating paint code
<!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 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
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
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?
2023 Sep 07
1
Privacy improving suggestions for ObscureKeystrokeTiming
On Wed, 6 Sep 2023, procmem at riseup.net wrote:
> Hi, Whonix OS privacy dev here. I had a discussion concerning the new
> ObscureKeystrokeTiming feature with a prominent researcher and author of the
> mouse and keyboard biometrics obfuscation tool called Kloak. While it's
> exciting to see keystroke obfuscation measures [1] start to become more
> prevalent mainstream, the
2006 Nov 13
0
[739] trunk/wxruby2/samples/dialogs/dialogs.rb: Changed back to using block version of paint in on_paint method.
<!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 Apr 30
0
[999] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Use paint() instead of ClientDC.new() in caret 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:
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
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
<!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:
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
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