Displaying 20 results from an estimated 300 matches similar to: "Making a FXListBox open up"
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in
width depending on the length of the selected entry in the list. This is
a problem when the list contains items of varying width, because if a
short item is picked then the longer entries are obscured in the
drop-down list.
Is this deliberate, an oversight, or a bug? Its certainly not how I''d
choose it to act. Is
2006 Apr 25
5
FXListBox ...connect(SEL_COMMAND)
Hi,
I think I got a problem with the FXListBox widget. ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) )
FXListBox.new(parent, nil, 0) do |libo4|
libo4.appendItem("0 very weird")
libo4.appendItem("1 very weird")
libo4.appendItem("2 very weird")
libo4.appendItem("3 very weird")
libo4.appendItem("4 very
2005 Nov 22
1
Win32 Service Timeout command
> -----Original Message-----
> From: Jamey Cribbs [mailto:cribbsj at oakwood.org]
> Sent: Tuesday, November 22, 2005 2:44 PM
> To: Berger, Daniel
> Subject: Win32 Service Timeout command
>
>
> Hi, Dan. I have a quick question. Is there a way to set a timeout
> variable when starting/creating a win32 service using your package?
> When I attempt to start a
2009 Aug 13
5
First hit on app takes a long time
So, I''ve deployed my first rails app, however I''m the only one hitting
it for now.
I''ve noticed that the first time I hit the app after some long period,
it takes a really long time to respond (2-3 seconds). After that,
it''s very fast.
At first, I thought it might be my VPS "waking up" from some sleep
state, but Rails does log the long load time
2010 Apr 03
0
FXlistBox.fillItems() segmentation fault - Found Work-around
As my prior posts show, I was getting very random segmentation faults when repeatedly clearing items from a listbox and then repopulating the items. I was using the following statements:
mylistbox.clearItems()
mylistbox.fillItems(new_list)
This would work for awhile, but after enough iterations of clearing and replacing the items in the listbox it would segmentation faults at the .fillItems
2006 Apr 10
9
Pagination with letter (A B C D ... Z)
Hi there,
Is there a neat and easy way to implement pagination with letters
rather than numbers eg :
A B C D ... Z
Rob
2009 Apr 06
2
Converting Number into Integer in ruby
I am working with a legacy oracle database. The
primary key is not defined as an integer but as a number.
This results in a url with an id as a number, such as 1234.0 instead
of 1234. It works fine, but I would prefer 1234 to be displayed in
the url. I have attempted to redefine the model id method to
convert to an integer using to_i method, but no luck. Any ideas?
Thanks,
Vaibhav
--
Posted via
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become
current when they receive a mouse click, but only do so if the click
happens inside of an enabled widget. This may very well be correct, but
if so then what is the right way to handle it, if you want a more
familiar window-manager behavior (click to focus)?
For example, if you change the mditest.rb example like so...
---
2006 Apr 05
4
distributing rails apps for localhost usage
Has anyone come across any interesting ways to make rails apps easily
distributable to run on a local machine. I''d love to be able to
"bundle" my rails app into a single file that would contain a simple
webserver, database and my rails app which a non-experienced user could
then download install on their machine, go to a web browser and run the
app locally. I envision it
2005 Nov 11
1
[Fwd: Thanks for win32-service]
Nice. :)
-------------- next part --------------
An embedded message was scrubbed...
From: Jamey Cribbs <cribbsj at oakwood.org>
Subject: Thanks for win32-service
Date: Fri, 11 Nov 2005 11:33:13 -0500
Size: 2505
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20051111/5b46cd4f/Thanksforwin32-service.eml
2005 Mar 02
7
Speex for TI 5509 DSP
I saw a thread in the list archives about a speex port to TI 55x DSP.
Wondering how that worked out (is working out)?
Also wondering if there is a source archive for it,
or if the patch in the email archives is still current, or if there's been
updates.
Any info appreciated.
Thanks
Paul
2006 May 31
3
FXLabel: ca''nt set the Icon attibute
Hi,
trying that:
aLabel = FXLabel.new(menuBar35,nil,@@maximizeIcon,0)
aLabel.icon = @@restoreIcon # ok
aLabel.connect(SEL_LEFTBUTTONPRESS) do |sender, selector, data|
case sender.icon
when @@maximizeIcon
sender.icon = @@restoreIcon
when @@restoreIcon
sender.icon = @@maximizeIcon
end
0
end
Result
abnormal
2012 Mar 08
5
FXRuby 1.6.23 released
Hi fxruby hackers,
new version 1.6.23 is out with the following changes. Unfortunately
the fxruby.org homepage is down and I don''t have access to it.
Therefore I''ve moved the documentation to
http://rubydoc.info/github/larskanis/fxruby/1.6/frames and converted
to yard.
Have fun!
=== 1.6.23 / 2012-03-08
* Add YARD documentation support
* Use generated Manifest.txt
* Support
2005 Mar 16
1
Speex for TI 5509 DSP
Jamey,
There is a previous posting in the speex archives with a link to the dsp c5x
patch.
Archive link:
http://lists.xiph.org/pipermail/speex-dev/2004-October/002847.html
Patch link:
http://lists.xiph.org/pipermail/speex-dev/attachments/20041029/facb8c73/spee
x-1.1.6-jeh1-0001.bin
But that patch is very different (much smaller) then the dsp c5x patch at
2004 Sep 16
3
speex on TI C5x fixed-point DSP
Greetings,
I've just started porting speex to a TI C5509 DSP. It doesn't look like
it's going to be too painful, but there are a couple of quirks about the
C5x.
1) chars are 16 bits because memory addresses are for 16bit words
2) ints and short are also 16 bits (so sizeof(char) = sizeof(short) =
sizeof(int) = 1)
3) the c5x is essentially big endian
My plan is to change int and
2005 May 17
2
Noob - ActionView::Helpers::FormOptionsHelper::select
Hi,
I''m just starting with Rails and i''m trying to do something like this:
<%= start_form_tag :action => ''add_user'', :id => @social_event_group %>
<%= select ''user'', ''id'' , User.find_all.collect {|u| [ u.login, u.id ]
}%></p>
<%= submit_tag "Add User" %>
<%= end_form_tag %>
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
Hi Folks,
I''ve just released version 0.9.0. This latest version of Ferret is an
alpha release. I have removed the old c extension and Ferret is now
running on a fully ported C library. This has allowed some huge
performance improvements both with regard to memory and CPU usage.
There will probably be a few portability issues to start with. It has
been developed on Linux so it should
2006 Mar 07
5
FXProgressDialog trouble
Hey all,
I''m having trouble with FXProgressDialog-- I''m trying to use it to show the
progress of a file upload..
I am running the upload in a separate thread that calls the dialog''s destroy
method when its done.. the dialog closes, but the application remains
non-responsive (as if its still in the execute loop). I''ve tried sending
ID_ACCEPT to the dialog with
2007 Mar 12
5
index.rb:384 [BUG]
Hi folks,
I''ve working and playing with acts_as_ferret and follow this fantastic
tutorial:
http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial
When I try to implement the field storage tip, it crash. So, I try to
make it via script/console:
1. I have a simple model called Articles:
class Article < ActiveRecord::Base
acts_as_ferret :fields =>
2004 Nov 01
4
speex on TI C5x fixed-point DSP
Jean-Marc Valin wrote:
>>I have the encoder and decoder running now and have verified that the
>>encoder is bit-exact wrt to the fixed-point code running on x86 for the
>>same 30-second audio sample. Encode and decode together run in
>>real-time for 8KHz data, complexity=3, on 120MHz C5509 when code and
>>data are all in on-chip SRAM. I have not tested the