On Tue, Aug 18, 2009 at 1:57 PM, Devyn Cairnsdevyn.cai...@gmail.com wrote:
That would require a new widget. I'm not quite sure if _why wants do
add very many new widgets unless absolutely necessary though, because
Shoes is not a traditional GUI toolkit.
I started this reply, but I don't
On Tue, Aug 18, 2009 at 2:06 PM, Devyn Cairnsdevyn.cai...@gmail.com wrote:
As in a native widget, such as GTK+2, Cocoa, etc.
Again, I wish I could continue this conversation more easily, but I
just can't keep track of what you're referring to.
:'(
On Tue, Aug 18, 2009 at 2:13 PM, Devyn Cairnsdevyn.cai...@gmail.com wrote:
So, he wants a drop-down box like this:
http://i.msdn.microsoft.com/Aa511458.DropDownLists30(en-us,MSDN.10).png
That is a native widget. The Shoes button, edit_line, etc. are all
native widgets, because they have the
that would handle what I
want without creating new objects. I have a feeling I could hack out
Timer#reset, and it seems like useful behavior.
--
Seth Thomas Rasmussen
http://greatseth.com
2009/8/6 Juan Andrés Gebhard juan.andres.gebh...@gmail.com:
Hi everyone! I'm trying to make a chess game. To draw the board, I thought
of placing 8 flows, and 8 stack inside of each flow. And finally, each stack
would have a PNG image inside.
This is an aside, but why have a flow for each row?
On Thu, Aug 6, 2009 at 12:52 PM, Seth Thomas
Rasmussensethrasmus...@gmail.com wrote:
2009/8/6 Juan Andrés Gebhard juan.andres.gebh...@gmail.com:
Hi everyone! I'm trying to make a chess game. To draw the board, I thought
of placing 8 flows, and 8 stack inside of each flow. And finally, each
2009/8/6 Juan Andrés Gebhard juan.andres.gebh...@gmail.com:
Hi everyone! I'm trying to make a chess game. To draw the board, I thought
of placing 8 flows, and 8 stack inside of each flow. And finally, each stack
would have a PNG image inside.
Instead of simple stacks, i decided to create a
and Shoes
nice image caching, rather than generating 64 widgets with copies of
their guts everywhere.
--
Seth Thomas Rasmussen
http://greatseth.com
~/.bash_profile
export SHOES_PATH=~/p/shoes/Shoes.app/Contents/MacOS
...some other stuff...
export
PATH=~/bin/:${MY_BIN_PROJ_PATH}:/usr/local/bin:/usr/local/sbin:${MYSQL_PATH}:${SHOES_PATH}:${PATH}:${BOOST_PATH}:/usr/bin
Then, I can say:
$ shoes foo.rb
--
Seth Thomas Rasmussen
http
happens, check out the error console. You might
see something like an error about any unknown method which will tip
you off to a solution.
--
Seth Thomas Rasmussen
http://greatseth.com
On Sun, Jul 12, 2009 at 12:05 PM, Timothy McDowelltmcdow...@gmail.com wrote:
Hrm, I had checked that but nothing had shown up. Thanks guys!
Weird. Sometimes things don't show up in there, but I did see a 'no
method' error for your example in mine. -shrug-
On Mon, Jun 29, 2009 at 6:24 PM, Devyn Cairnsdevyn.cai...@gmail.com wrote:
I don't think so.
Partly because Mac and Linux don't regularly use file extensions, so
their dialogs don't normally have the option.
I'm not sure what you mean by that. Mac OS uses conventions similar to
what I remember
, it will ask me the password in the console, is
there some way to avoid this,eg when it need read datas from stdin, pop up a
'ask window'
Maybe something like IO.popen will help you here.
http://www.ruby-doc.org/core/classes/IO.html#M002267
--
Seth Thomas Rasmussen
http://greatseth.com
McConnon
I think you should take a look at the lib/shoes.rb file, and
particularly at line 301, that's what spawns the console.
Of course, it may or may not be line 301 at all times.. I currently
see it on 308.. at any rate, try calling `Shoes.show_log`.
--
Seth Thomas Rasmussen
http
don't see any -p option described when I ask for help.
this sort of thing *is* sorely missing in documentation be
it online or the manual.
-taps foot, waiting-
;)
--
Seth Thomas Rasmussen
http://greatseth.com
21`
end
--
Seth Thomas Rasmussen
http://greatseth.com
something that could have application
outside of the classroom.
Thanks for your perspective as a teacher. :) I think the real reason
is a very important one, too.
--
Seth Thomas Rasmussen
http://greatseth.com
me port Ruby code to work with Shoes, and give it a GUI. Its a lot of
fun for me! ^_^
That's awesome. Cool dad. :D
--
Seth Thomas Rasmussen
http://greatseth.com
with long chains of message passing.
I, for one, hope that never catches on. You can do the same thing
already, moving the dots to the ends of lines, and then it remains
clear when a line's expression continues and when it does not.
--
Seth Thomas Rasmussen
http://greatseth.com
On Mon, May 18, 2009 at 10:06 AM, Seth Thomas Rasmussen
sethrasmus...@gmail.com wrote:
On Mon, May 18, 2009 at 3:45 AM, Kyle King kylejk...@gmail.com wrote:
Shoes has always, to me anyway, pioneered the idea that anyone should be
able to write a simple gui. That programming little apps should
site:hackety.org
My best guess is the latter half of 2007:
http://hackety.org/2007/07/30/okayWellShoes.html
--
Seth Thomas Rasmussen
http://greatseth.com
of
us knuckles down and gets Shoes copy and paste on..
--
Seth Thomas Rasmussen
http://greatseth.com
On Thu, May 14, 2009 at 10:29 AM, doki_pen doki_...@doki-pen.org wrote:
Sarah Allen wrote:
Hi,
I'm doing some last minute prep for my intro class on Shoes later this
morning (11am PST) and I plan to do a brief history of computers (with
content borrowed from:
On Fri, May 1, 2009 at 3:30 PM, Roy Wright r...@wright.org wrote:
I've hosted it on github
Where?
--
Seth Thomas Rasmussen
http://greatseth.com
have found a legit bug, though.
--
Seth Thomas Rasmussen
http://greatseth.com
On Thu, Apr 23, 2009 at 1:20 PM, Martin DeMello martindeme...@gmail.com wrote:
On Thu, Apr 23, 2009 at 10:39 PM, Seth Thomas Rasmussen
sethrasmus...@gmail.com wrote:
On Thu, Apr 23, 2009 at 12:55 PM, Martin DeMello
martindeme...@gmail.com wrote:
Wrote a small shoes-based animation
On Thu, Apr 23, 2009 at 1:36 PM, Martin DeMello martindeme...@gmail.com wrote:
On Thu, Apr 23, 2009 at 10:55 PM, Seth Thomas Rasmussen
sethrasmus...@gmail.com wrote:
Which version of shoes are you using? This worked nicely for me - they
aren't really instance methods, they're toplevel methods
On Thu, Apr 23, 2009 at 2:04 PM, François Vaux r...@yapok.org wrote:
On Thu, Apr 23, 2009 at 7:43 PM, Seth Thomas Rasmussen
sethrasmus...@gmail.com wrote:
On Thu, Apr 23, 2009 at 1:36 PM, Martin DeMello martindeme...@gmail.com
wrote:
Which version of shoes are you using? This worked nicely
very well with 1.9.
Ah - that would explain it. Didn't know shoes-git even compiled
against 1.8 any more
What is the difference between 1.8 and 1.9 that would explain this?
--
Seth Thomas Rasmussen
http://greatseth.com
want to be a downer, but it doesn't update for me. No errors in
console either. It just shows the time at first render and stays
there.
shoes policeman (0.r1233) [i686-darwin8.9.1]
--
Seth Thomas Rasmussen
http://greatseth.com
called at
all.
Thanks.
I'm on OS X, too. I'll try to poke at it later and see if anything
comes to mind. Maybe I did it wrong.
--
Seth Thomas Rasmussen
http://greatseth.com
On Fri, Apr 17, 2009 at 6:31 PM, Seth Thomas Rasmussen
sethrasmus...@gmail.com wrote:
Hey all,
I started poking at an always on top setting for Shoes windows. I
ran into Tim Elliot here at GoGaRuCo and he helped me get through some
things, too.
Anyway, my initial stab with only OS X
of digest like
Digest::MD5?
--
Seth Thomas Rasmussen
http://greatseth.com
Thomas Rasmussen
http://greatseth.com
download http://localhost:3000; do |d|
para d.response.body
end
end
http://help.shoooes.net/App.html#download
--
Seth Thomas Rasmussen
http://greatseth.com
that star to after the space, in
accordance with the rest of the code.
Can't remember if static should make it into function prototypes
added to the header file. You may need to knock that out if it
doesn't work.
-hugs hugh-
--
Seth Thomas Rasmussen
http://greatseth.com
a newline effect, despite it
being rendered inside a flow.. not sure if that's correct behavior or
not.
--
Seth Thomas Rasmussen
http://greatseth.com
, if backgrounds and other styles that slots enjoy were
allowed for text elements like em() and the like, that would be a nice
solution for this problem.
--
Seth Thomas Rasmussen
http://greatseth.com
; para failed
I have tried a variety of things, non of which worked, for example:
�...@button = radio: para not tested
�...@button.checked = true
Anyone have any ideas...?
Hmm, looks like a wee boog. This works for me, though:
radio :checked = true
--
Seth Thomas Rasmussen
http
, it would work like this:
Shoes.setup do
gem something-from-rubyforge
gem more-rubyforge
gem anything-will-come-from-rubyforge-by-default
source http://gems.github.com;
gem now-pulling-from-github
gem etc-and-so-forth
end
--
Seth Thomas Rasmussen
http://greatseth.com
/2008/06/19/stampingExesAndDmgs.html
--
Seth Thomas Rasmussen
http://greatseth.com
wondering if this is a general problem or
if perhaps something in my overall implementation is flawed.
--
Seth Thomas Rasmussen
http://greatseth.com
Ruby thinks Inner should be in the error message from the second
example.
If the second example's getBoo were to reference Outer::Inner, that would work.
--
Seth Thomas Rasmussen
http://greatseth.com
2009/1/29 Szymon Wrozynski s...@esdoubl.eu:
Have you checked it? ;)
Wiadomość napisana w dniu 2009-01-29, o godz. 06:13, przez Seth Thomas
Rasmussen:
This isn't a Shoes bug. It's normal Ruby behavior. Think about what
you said about Outer2. In the first example, Inner is defined at the
top
is evaluated in the context of Shoes.
So, there you can get away with saying class Foo Widget. In other
files, normal Ruby behavior prevails, requiring you to say
Shoes::Widget.
--
Seth Thomas Rasmussen
http://greatseth.com
, there is a class hierarchy
built into the manual: http://help.shoooes.net/Classes.html
You can see how it is built by looking at lib/shoes.rb and
lib/shoes/help.rb. That code might help you if you wish to maintain an
up to date reference more easily.
--
Seth Thomas Rasmussen
http://greatseth.com
I email patches to this list/to him? Or send him a github
pull request?
GH pull requests have worked well for my handful of little patches.
--
Seth Thomas Rasmussen
http://greatseth.com
!
--
Seth Thomas Rasmussen
http://greatseth.com
/gmane.comp.lib.shoes/1648
--
Seth Thomas Rasmussen
http://greatseth.com
and a different color and things like that.. bizarre side effects..
--
Seth Thomas Rasmussen
http://greatseth.com
. The shape approach works fine for now, but I don't like having
to create another object when the slot already has background-y
abilities.
--
Seth Thomas Rasmussen
http://greatseth.com
.
--
Seth Thomas Rasmussen
http://greatseth.com
. Brilliant.
Yeah. :)
--
Seth Thomas Rasmussen
http://greatseth.com
it or they don't, no?
--
Seth Thomas Rasmussen
http://greatseth.com
remember noticing that and thinking about people that were relying on
ARGV in their apps for some reason.
--
Seth Thomas Rasmussen
http://greatseth.com
/libGLProgrammability.dylib
0x9708b000 - 0x9708 libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0x - 0x1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
--
Seth Thomas
?
Seems like it might be just fine and simpler to keep track of fetched
sources myself.
Does it seem at all useful to people if there were perhaps something
possible like Shoes.cached_image?(src) though?
--
Seth Thomas Rasmussen
http://greatseth.com
() feels quite right in either case.
I don't know what a single method would be called. request? http? go_net_go?
-shrugs-
This isn't even behavior I need, yet, so I'm just another backseat
driver for now, I guess. ;)
--
Seth Thomas Rasmussen
http://greatseth.com
On Tue, Nov 25, 2008 at 12:11 AM, _why [EMAIL PROTECTED] wrote:
On Mon, Nov 24, 2008 at 05:44:54PM -0500, Seth Thomas Rasmussen wrote:
class FeelMyFlow Widget
def initialize
stack do
para new
para lines
para plz
end
end
end
Shoes.app do
feel_my_flow
,
but that shouldn't be necessary, right?
--
Seth Thomas Rasmussen
http://greatseth.com
that you never see the leave
event happen.
Something like this should do:
Shoes.app do
@stack = stack :width = 200, :height = 200 do
background red
hover { @stack.clear { background blue } }
leave { @stack.clear { background red } }
end
end
--
Seth Thomas Rasmussen
http
Thomas Rasmussen
http://greatseth.com
embeds a ruby version, but it's not used to build itself.
Ah, right, sorry. I was confused and mistaken. :(
--
Seth Thomas Rasmussen
http://greatseth.com
called twice in case of a
double click on the image then what does?
What about setting a @clicked state or some such, forking your :click
behavior accordingly, and resetting the state when appropriate?
--
Seth Thomas Rasmussen
http://greatseth.com
Heya,
On Mon, Nov 17, 2008 at 4:55 AM, Einar Magnús Boson
[EMAIL PROTECTED] wrote:
My actual specific question though, is:
built-in methods can take options like :width = 100%, where do I tap into
the already existing logic to translate strings like that into numbers to
use while painting?
://daringfireball.net/misc/2005/04/tiger_details#waitingforloginwindow
The details mentioned there are no longer relevant on 10.5+, but still
an interesting case to consider.
--
Seth Thomas Rasmussen
http://greatseth.com
- 0x1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
--
Seth Thomas Rasmussen
http://greatseth.com
in terms of performance, so all in all I'm just glad to have
figured something workable out.
--
Seth Thomas Rasmussen
http://greatseth.com
with the following:
private method `specification_version=' called for
#Gem::Specification:0x5445d4
Yeah, I think I hit this not too long ago.. it seems fixed today after
I've built against r1076. What rev are you at?
--
Seth Thomas Rasmussen
http://greatseth.com
level window to visit neverland.
So, maybe a patch for window() that resulted in its spawn sharing
actions of the parent would be nice?
--
Seth Thomas Rasmussen
http://greatseth.com
/bugs
I have never used Ditz, but there's that..
--
Seth Thomas Rasmussen
http://greatseth.com
= cleveland do
para(link(go to neverland) { owner.visit /neverland })
end
visit /
end
def neverland
para link(http://article.gmane.org/gmane.comp.lib.shoes/2441;,
:click = http://article.gmane.org/gmane.comp.lib.shoes/2441;)
end
end
Shoes.app
--
Seth Thomas Rasmussen
for this
functionality, except for debugging, so it would be nice to have this
feature.
info, error, debug.. http://help.shoooes.net/Built-in.html
--
Seth Thomas Rasmussen
http://greatseth.com
Shoes.app
--
Seth Thomas Rasmussen
http://greatseth.com
there needs to be anything called
none when you've already got nil.
--
Seth Thomas Rasmussen
http://greatseth.com
.
If you look at your twitter executable I think you'll find it is just
a Ruby script.
--
Seth Thomas Rasmussen
http://greatseth.com
I can do about it, not a Windows developer, but
maybe this will help someone with the right skills track this bug down.
DZ
On Oct 29, 2008, at 2:01 PM, Seth Thomas Rasmussen wrote:
On Wed, Oct 29, 2008 at 12:48 PM, Alexander Rakoczy [EMAIL PROTECTED]
wrote:
The twitter gem has native
string param for this: raw=true
I dunno about other sites, really.
--
Seth Thomas Rasmussen
http://greatseth.com
If I move over links too fast, the hover state sticks.
http://flickr.com/photos/sequitography/2964719368
This only started recently. Recently I upgraded to Leopard, dunno if
that could matter.
--
Seth Thomas Rasmussen
http://greatseth.com
)
Pff!
People often go through all those motions when all they really need is
to say: YAML.load_file(path_to_file)
Spread the love, plz.
--
Seth Thomas Rasmussen
http://greatseth.com
On Wed, Oct 22, 2008 at 2:15 PM, Alexander Rakoczy [EMAIL PROTECTED] wrote:
Well, the YAML loading works fine, actually, though I'll definitely
use YAML::load_file now, cool!
Oh, I know it was beside the point, I just couldn't resist! :P
--
Seth Thomas Rasmussen
http://greatseth.com
about a RubyGems like system for sharing widgets
and other extensions or addons for Shoes apps. Ultimately I think
RubyGems is exactly that system, no need to add layers of complexity.
Shoes.setup do
gem widgetastic # etc
end
--
Seth Thomas Rasmussen
http://greatseth.com
developers of Alice 3.0 are way ahead of schedule either;
getting this sort of thing right takes time.
Right on and well said. +1 for not rushing things.
--
Seth Thomas Rasmussen
http://greatseth.com
On Thu, Oct 9, 2008 at 9:05 AM, Emanuel Carnevale
[EMAIL PROTECTED] wrote:
On 10/6/08, Seth Thomas Rasmussen [EMAIL PROTECTED] wrote:
For me was weirder than that since it did not work as expected
afterwards.
I tried installing the gems by myself and I had to install all the
required
On Tue, Oct 7, 2008 at 3:59 PM, John Haltiwanger
[EMAIL PROTECTED] wrote:
first, sorry if this is a repeat post. I could not find a way to search the
list archives.
http://news.gmane.org/gmane.comp.lib.shoes
There should be a search bar at the bottom of the window.
--
Seth Thomas Rasmussen
On Mon, Oct 6, 2008 at 5:19 AM, Emanuel Carnevale
[EMAIL PROTECTED] wrote:
Hi Seth,
sorry for the late answer...
No worries, I appreciate any concern. ;)
On Wed, Oct 1, 2008 at 8:59 PM, Seth Thomas Rasmussen
[EMAIL PROTECTED] wrote:
On Wed, Oct 1, 2008 at 2:31 PM, Emanuel Carnevale
[EMAIL
I started patching up the manual regarding ask_open_folder and
ask_save_folder. Their behavior seems identical:
Shoes.app do
alert ask_open_folder
alert ask_save_folder
end
Seems like one should simply be documented as an alias or perhaps
removed entirely?
--
Seth Thomas Rasmussen
, moving the indentation of a bunch
of stuff out a level which makes it look more severe than it is.
--
Seth Thomas Rasmussen
http://greatseth.com
it.
--
Seth Thomas Rasmussen
http://greatseth.com
On Fri, Oct 3, 2008 at 5:42 PM, Bluebie, Jenna
[EMAIL PROTECTED] wrote:
I think the IRC client is something that really belongs in hackety hack, not
in the runtime itself. Lets keep shoes compact?
I thought the discussion was merely about an IRC client as part of the manual.
--
Seth Thomas
.. then thought what I opened with above. I
suppose you could always edit changes to taste, eh? What would you
prefer people do? Also, I know you said you are still finishing the
manual so with this specific example I thought maybe it was just yet
to come.
--
Seth Thomas Rasmussen
http://greatseth.com
in the
code better. I'm still not sure where to poke for this problem,
though, so I humbly submit to you fine people in hope of help!
--
Seth Thomas Rasmussen
http://greatseth.com
end
--
Seth Thomas Rasmussen
http://greatseth.com
successfully because if you
restart the app it..
- behaves as expected
This is something I was waiting to complain about in the hope that it
might resolve itself while I continued working on the app's features.
--
Seth Thomas Rasmussen
http://greatseth.com
On Wed, Oct 1, 2008 at 11:19 PM, _why [EMAIL PROTECTED] wrote:
On Wed, Oct 01, 2008 at 12:09:17PM -0400, Seth Thomas Rasmussen wrote:
Aha. So, after fully reading the Rules, I developed a theory that the
example shown there is all wrong because inside the app() block, self
is changed to your
forms.
--
Seth Thomas Rasmussen
http://greatseth.com
On Tue, Sep 30, 2008 at 3:12 AM, Jeff Hodges [EMAIL PROTECTED] wrote:
Seth Thomas Rasmussen wrote:
Back on point, I dunno if throwing a patch like this in right away
would be best if some other namespace related changes weren't made. I
kind of want _why to weigh in on my question from
On Tue, Sep 30, 2008 at 10:26 AM, Seth Thomas Rasmussen
[EMAIL PROTECTED] wrote:
On Tue, Sep 30, 2008 at 3:12 AM, Jeff Hodges [EMAIL PROTECTED] wrote:
Seth Thomas Rasmussen wrote:
Back on point, I dunno if throwing a patch like this in right away
would be best if some other namespace related
On Mon, Sep 29, 2008 at 6:04 PM, Seth Thomas Rasmussen
[EMAIL PROTECTED] wrote:
So, my laptop had a near death experience recently. It has recently
been rejuvenated. I went to load up the app I've been working on, and
an old problem has reappeared.
Line 277 of lib/shoes/setup.rb is raising
On Mon, Sep 29, 2008 at 7:33 PM, Hugh Sasse [EMAIL PROTECTED] wrote:
On Mon, 29 Sep 2008, Seth Thomas Rasmussen wrote:
So, my laptop had a near death experience recently. It has recently
been rejuvenated. I went to load up the app I've been working on, and
an old problem has reappeared
1 - 100 of 145 matches
Mail list logo