Displaying 14 results from an estimated 14 matches for "vanderwerf".
2007 Apr 26
3
FXSplitter width is 1 until created
...t make it work properly.
Doing it in #create is an acceptable workaround.
This isn''t a problem with FX4Splitter. The splitting is implemented
differently (and the split values have different meaning). Somehow, both
hSplit and vSplit are available before create.
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2007 May 19
3
table with no row headers
Is this the right way to turn off row headers?
table.rowHeaderMode = LAYOUT_FIX_WIDTH
table.rowHeaderWidth = 0
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2007 Apr 27
2
mdiclient windows do not always activate on click
...ver, adding the line
scrollwindow.enabled = true
makes the behavior feel more normal (to me).
Is there any drawback to enabling things like scroll windows (probably
also frames and matrixes, but I haven''t tried them)?
Is there a better way to handle this?
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2007 May 17
2
FXMDIChild shrinkwrap to content
...ntent?
Here''s what I''m doing now:
def create(*)
self.height = maxChildHeight + 30
self.width = maxChildWidth + 10
super
end
This works, but I''m not crazy about manually adjusting for (apparently)
frame and title bar sizes.
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2006 Oct 21
6
Window#paint patch
Attached is a patch and some extra files to fix our
ObjectPreviouslyDeleted crasher with the paint method. As discussed, it
just re-implements the method in Ruby.
I created a directory lib/wx/classes as a place to hold Ruby extensions
to the API. The attached app.rb and window.rb files should be added to
it. When this patch is applied, files in that directory are
automatically required on
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello,
Here''s the context:
I read a number either pure integer or float with eventually up to 12
digits after the decimal point from a YAML file.
The number is injected into a FXTextField with the following code:
@value_sel = FXDataTarget.new(@value.to_s)
@value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel,
:opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT,
2004 May 16
0
Fwd: Re: fork
...at the top of the script?
Regards,
Dan
Note: forwarded message attached.
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
-------------- next part --------------
An embedded message was scrubbed...
From: Joel VanderWerf <vjoel@PATH.Berkeley.EDU>
Subject: Re: fork
Date: Sun, 16 May 2004 12:24:39 -0700
Size: 2433
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20040516/ed4ab7a2/attachment.eml
2005 Jul 31
1
Re: FXRuby on OpenBSD
On Aug 1, 2005, at 4:21 AM, brett s hallett wrote:
> I''m having some problems installing FXRuby on OpenBSD 3.7
>
> -- Note : OpenBSD supplied Ruby 1.8.1 and fox
> version /mnt/cdrom/3.7/packages/i386/fox-1.1.41.tgz
>
> If I try to install any FXRuby against these I get the error message
> " fox version is expiremental" ( something like that !) ,
2005 Dec 22
1
FxTopWindow problem
I have an fxRuby GUI app that I am having problems with. I want to bring up a help window from the main window when someone selects a help/help from the help menu. I have created a helpWindow that inherits from FXDialogBox. It has an FXMenuBar, FXStatusBar, and an FXtext which gets filled with help text from a file. When the help/help menu is selected from the main window, I make a new helpWindow,
2005 Aug 12
5
ANN: Interactive Fiction Mapper v0.5
Okay, I may have some questions about fxruby and probably the easiest way to ask them is by after I show a program.
Plus I am eager to show how much fun I''ve been having... this is still not fully done to call it a v1.0 release, but it is already tons of fun.
Please visit the download section of:
http://rubyforge.org/projects/ifmapper/
There you will find the following:
IFMapper
by
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all,
Run groupbox.rb example in any of the two alpha versions and
click the radiobutton in the upper right group box (those named Hilvesum 1,
Hilversum 2, etc). You''ll notice that once a radiobutton is checked,
it remains checked when some other radiobutton is checked.
What''s the reason?
Thank you.
--
Best regards,
Yuri Leikind
2006 Mar 28
11
setting widget attributes
I''m trying to set attributes of widgets in subclasses like the following.
class PersonTable < FXTable
def initialize(owner)
options = TABLE_COL_SIZEABLE
super(owner, nil, 0, options)
visibleRows = 5
...
end
end
visibleRows doesn''t get set.
However, if I do this
self.visibleRows = 5
then it does.
Shouldn''t it work without "self."?
2007 Jan 18
9
QtRuby
Hello,
Has anyone tested QtRuby? I''m doing a small OpenGL application
http://www.discretizer.org and just want to know the arguments for
staying with fxruby.
This is what I have discovered:
Pros:
-Fxruby seems to have a very nice OpenGL support (FXGLViewer) which is
what I really need.
-Nice looks. No unnecessary theming support.
-Very fast and light on system resources.
Cons:
-No
2005 Jan 04
0
patch for FXHeaderItem#justification= in FXRuby 1.2
On the subject of 1.2, here''s a patch to fix a "method missing" error
when using FXHeaderItem#justification=.
--- aliases.rb.bck 2004-12-30 17:33:34.376851376 -0500
+++ aliases.rb 2004-12-30 17:33:34.379850872 -0500
@@ -2048,7 +2048,7 @@
getJustify()
end
def justification=(j) # :nodoc:
- setJustification(j)
+ setJustify(j)
end