Yet another reminder why Lisp scoping rules and my feeble lexical brain
don't mesh. I have no opinion as to why or if it's a good thing (Tm) but
it'll burn us old school non Lispers.
On Mon, 2009-07-27 at 05:15 -0400, MenTaLguY wrote:
I wasn't terribly clear. Let me rephrase -- if you do this:
Hi,
This may not help, but what I've done is something like this to enter
a string
@el = edit_line @outMB, :width = 40 do
@outMB = @el.text
# call your function here
end
Attach the block to the edit_line and don't worry about keypress
(unless you really need key by key
I vaguely remember a huh? like you report. I don't have OS X anymore so
I can't test. On Linux I use a construct like
button Save As... do
fn = ask_save_file
if fn and fn.length 0
#puts Setting new file #{fn}
more about the ffmpeg stuff email me.
Best,
Noah
On May 22, 2009, at 10:39 PM, Cecil Coupe wrote:
It's difficult meta problem. I'm on Linux (Ubuntu 9.04) and I'd
like a
little shoes app that front ends ffmpeg. Except it has to
front end
the ffmpeg I have, not the one
It might be easier to debug and fix the problem than implement a
workaround, IMHO. It looks like most of the action starts in
lib/shoes/pack.rb - I don't have an OS X box anymore so I can't be very
helpful. Might be an easy fix if you can find all the parts.
On Fri, 2009-05-22 at 21:24 -0500,
could read the docs for binject. Where that
pack.rb is on your system and which copy of shoes you are using if you
have multiples...
Just something to look at.
--Cecil
On Fri, 2009-05-22 at 21:00 -0600, Cecil Coupe wrote:
It might be easier to debug and fix the problem than implement a
workaround
will have a look and see how it goes. It might lead
me to automating other aspects of the build process as well once I see
how the packaging works.
Thanks!
Noah
On May 22, 2009, at 8:44 PM, Cecil Coupe wrote:
I hate to follow up my own message but
pack.rb line 156 (my older version
If your Linux has a package manager that installs the dependencies
compiled against the other libraries and kernel on your system, I'd use
it. I wouldn't depend on the tar inside of a .deb to be good for you --
you'll never know where the problems are if by chance it should almost
work.
It's a
On Tue, 2009-03-10 at 12:23 +0800, niedh wrote:
thanks to Mark Vander Voord
I had already install the libsqlite3-dev and sqlite3-ruby
when i use sqlite3 without shoes ,it works fine
my ruby is not the apt-get version, I compiled from the source,is this
the problem?
Shoes ruby and gems are
Hi folks,
I'm writing an app that loads and edits and saves some some text lines
(CSV) to a file. I put up a Shoes stack, with a flow for each line in
the file with a checkbox in front. Works fine.
Until I use 'code' instead of 'para'. The text isn't displayed for
'code', yet no errors in the
I hate when figure it out right after I ask for help.
vist() creates a new Shoes object doesn't it? Sorry to bend the ear of
the mailing list.
This isn't an answer, just something to try.
Add a stack to your a height and width. Last I played with VLC and
shoes(unbuntu), it won't play if it doesn't have screen real estate. I
should file a bug but there were other problems of mine.
--Cecil
On Fri, 2008-10-10 at 02:05 -0400, Mike
On Sun, 2008-09-28 at 23:20 -0500, _why wrote:
On Sun, Sep 28, 2008 at 08:10:44PM -0700, Jeff Hodges wrote:
I know Shoes writes directly to a canvas which makes this difficult, but is
there any way to hint that a textblock should be copy and pastable? Or,
perhaps more accurately, able to
On Fri, 2008-09-26 at 00:21 -0400, Seth Thomas Rasmussen wrote:
I dunno about you guys, but I've had a handful or so of messages in
various threads arriving out of order for me lately. The first message
in the recent thread about presenting tabular data just hit me
recently after I received
I don't know how Shoes
is supposed to handle Unicode, but doesn't Ruby not handle Unicode
well or something?
Unicode and Ruby is complicated. Ruby may (or may not) mishandle it. The
choice of font's in Shoes and your choice of default font and your
system's fallback mechanism for handling
Shoes doesn't use your installed Ruby. It's its own thing, not an
addition to your Ruby. A different, local, 'shoes' variety of Ruby with
different rules.
On Tue, 2008-09-09 at 22:53 -0700, Martin DeMello wrote:
$ cat testargv.rb
p ARGV
$ shoes testargv.rb
[testargv.rb]
$ ruby
switches (-h, --gem x y
z ... ) that it needs to parse first. Being a cross platform GUI app,
I'm wondering how the argument parsing should work in Shoes, in Windows.
Actually, I'm wondering if it has to work at all. It is a GUI, no?
--Cecil
martin
On Tue, Sep 9, 2008 at 11:38 PM, Cecil Coupe
FWIW,
Here's how I deal with gems. One, I don't install shoes on my Linux
box, I build from git and run it from the command line of a terminal
app. That might not match what you want.
There's a switch -g (or --gem ) on the shoes command line that allows
gem commands to be passed and Shoes
martin,
From my experiments, there appears to be one (or two in Ubuntu) click
handlers. The x,y are for the top Shoes window and not relative to the
flow/stack that the handler is attached to. In that case two handlers in
Linux is probably a bug.
For your purpose (and mine), one handler sucks
it myself, but would
#repaint_all meet your needs?
That would be nice, but from inside a widget's method I get a 'no
method' error for repaint_all, but I know where to look now for my
clues.
-- pvande
On Thu, Jul 24, 2008 at 8:59 PM, Cecil Coupe [EMAIL PROTECTED]
wrote:
Does anybody
They aren't documented because I'm not happy with draw(). It can be
severely misused. When I was writing the Cascade example, I kept
running into awful recursion problems.
Yep, I've seen those segfaults myself. I understand how 'draw' is a word
that means something different to other
I'm not saying I know anything or understand Shoes/Gems interactions
but wouldn't the 'other' scripts just need 'require rubygems' and then
'require foo'?
Works for me but I install gems in Shoes from the command line 'shoes -g
install x'. If you're running shoes from a not 'installed'
Instead of inventing my own, perhaps you have one to share that I could
modify or inspect. I'm writing a Shoes app that kind of mimics iTunes or
Rhythmbox music players. Not that anyone wants another music player.
It's just an exercise to see how far I can push Shoes with my limited
skills.
I'm
Awesome. I think.
I'll need a hint on how to invoke the new magic. The magic word or key
chord is? From the git pull I see that you've modified the files I
would expect you'd have to.
Just a gentle clue stick, _why. OK?
--Cecil
Completely with you on this. I've just checked in some
If you know Ruby, you can read Python (or vice versa), enough to get the
gist of what's going on. Hash is a python dictionary. Array is a python
list, 'self' has to be explicitly added to class/method definitions
because there's no @instance or @@class syntax. Python is quite readable
though.
for the target audience.
--Cecil
On Mon, 2008-07-14 at 21:34 -0600, Cecil Coupe wrote:
A master inheritance chart with links would be very nice! It doesn't
have to be searchable, that's a non-issue for that view of the API,
imho. I don't know that my skills are up to the task so I won't
volunteer
. Fire up a irb console inline to try
out the code as you're reading about it).
-Josh
On Jul 14, 2008, at 9:09 PM, Cecil Coupe wrote:
Bad form to reply to my own message. Sorry.
A shoes command-line option to generate Rdoc from the mythical
introspecter. Kind of like $shoes
With all due respect for _why and the Manual and NKS, I'm a bit show
me the reference manual. Who inherits from who? What methods and vars
are exposed in each class? What overrides who? I'm just wired that way,
I need that structure to understand.
So I spent a few hours with rdoc on shoes/ruby.c
Using the Shoes manual, clicking in the scrollbar area doesn't move it
up/down. Pageup/down keys have know effect. Dragging with the mouse does
work, as does the scroll wheel. (Ubuntu 8.04)
When dealing with Shoes one needs to remember it's a self contained Ruby
runtime, completely unrelated to whatever version of Ruby you have on
your box or which gems you have installed.
Shoes is it own environment. It's not full Ruby, it's only partial Ruby.
It evals your script within the
can imagine
and all the control you desire. Even then, I don't think 'self' changes
based on the event.
On Mon, 2008-07-07 at 23:11 -0600, Cecil Coupe wrote:
Because 'self' is Shoes. You run within Shoes. Think how it work work
otherwise.
On Tue, 2008-07-08 at 14:16 +1000, Bluebie, Jenna
Wouldn't you have to put the native shared library (.so, .dylib,
what-ev) in a shoes accessible libload path? Its the back door to
madness IMO, totally non portable, but sometimes setting the environment
LD_LIBRARY_PATH properly won't screw up everything else on your system
as well. Once bitten
Hi,
With all due respect for chasers of coolness (we need you idealists)
Applications preferences are different from serializing the users's meta
data with the document's meta-data together. Not the same. It's
completely application specific but that's up to you where the line is
drawn. Or
I decided to do a little Ruby coding on preferences/config files for
Shoes scripts. It's far from perfect but its a reasonable start. It
works for me on Ubuntu Linux 8.04. The Windows and OS X parts aren't
coded (your help is solicited - can't be that hard if you know where the
files should go)
--
FOR IMMEDIATE RELEASE
Shoes 24-hour Worldwide Code-a-thons on July 11th and July 25th
[snip]
That looks pretty good to me. You got most, if not all of the goals
translated into PR-speak that developers will read. Not easy to do.
Well done.
--Cecil
On Fri, 2008-05-16 at 17:21 -0500, _why wrote:
Okay, discovered this was causing by too much repositioning of the
controls. A fix is up at github. Pleasingly enough, this also
fixed the open/save dialogs.
_why
It works for me. Thank you.
36 matches
Mail list logo