[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

wxRuby and wxGlade?

Guaton Carcass

5/8/2007 8:08:00 AM

Hello:

Finally I understood the concept of what wxWidgets is, I thought it was
an IDE I didn't understood the concept of libraries and that stuff, but
now I have it clear... I think, je je je.

I'm using OSX 10.4.9(PPC), I already installed wxWidgets, wxRuby and
wxPython, everything is working smothly.

NOW, I would like to able to create graphical interfaces in a more
"visual way"(event driven) than what wxRuby allows. I downloaded
wxPython so I can use wxGlade because I read somewhere that I still
could use ruby scripts even in wxGlade, is that so? can anyone
illustrate a little more about it? (please in simple language, until
last week computers where a magical box for me, je je je)

Are there any tutorials somewhere to learn more about wxRuby and
wxGlade?

--
Posted via http://www.ruby-....

9 Answers

Daniel Calvelo

5/9/2007 6:03:00 PM

0

On May 8, 3:08 am, Guaton Carcass <gcarc...@gmail.com> wrote:
[...]
> NOW, I would like to able to create graphical interfaces in a more
> "visual way"(event driven) than what wxRuby allows. I downloaded
> wxPython so I can use wxGlade because I read somewhere that I still
> could use ruby scripts even in wxGlade, is that so? can anyone
> illustrate a little more about it? (please in simple language, until
> last week computers where a magical box for me, je je je)

wxGlade lets you build an interface graphically and then you use that
visually-defined interface to generate the equivalent program
generating the same interface.

So, one general usage is: launch wxGlade, create your application's
layout by installing widgets in the windows/frames/panels, generate
the ruby/python/whatever code, call that code from within your main
program (preferably in another file) which handles the logic of your
application.

> Are there any tutorials somewhere to learn more about wxRuby and
> wxGlade?

The examples given in the wx demo are certainly a very good source to
read inspect and imitate.

Daniel.

Watanabe Carcass

5/10/2007 3:07:00 AM

0

Thanks, I'll give it a try!!!

--
Posted via http://www.ruby-....

blufur

5/10/2007 3:23:00 AM

0

Hi all. I'm writing a Ruby program that requires a thesaurus to
expand a given term to a set that includes all its synonyms... anyone
know of a resource that I can have my program access?

Thanks!

Marcel Molina Jr.

5/10/2007 3:25:00 AM

0

On Thu, May 10, 2007 at 12:22:52PM +0900, blufur wrote:
> Hi all. I'm writing a Ruby program that requires a thesaurus to
> expand a given term to a set that includes all its synonyms... anyone
> know of a resource that I can have my program access?

http://www.deveiate.org/projects/Rub...

marcel
--
Marcel Molina Jr. <marcel@vernix.org>

Graham Menhennitt

5/10/2007 8:10:00 AM

0

On Tue, 8 May 2007 17:08:02 +0900, Guaton Carcass <gcarcass@gmail.com>
wrote:

>NOW, I would like to able to create graphical interfaces in a more
>"visual way"(event driven) than what wxRuby allows. I downloaded

XRCed (see http://xrced.source...) allows you to edit XRC files
and define GUIs. These files can then be loaded using wxRuby's
XMLResource class (see
http://wxruby.rubyforge.org/doc/xmlres...).

I haven't done it myself with wxRuby but I have used fairly
extensively it in wxPython.

--
Graham

blufur

5/14/2007 7:08:00 AM

0

i have been trying to install Ruby-WordNet, to no avail ... :(

I am on a Mac, and I am pretty sure that bdb is already installed by
default on Tiger. I downloaded WordNet 3.0, and fed its 'dict'
directory path to convertdb.rb, but I get an error:

Dan$ ruby convertdb.rb /usr/local/WordNet-3.0/dict
/Users/Dan/Desktop/Ruby-WordNet-0.02/lib/wordnet/lexicon.rb:32:in
`require': no such file to load -- bdb (LoadError)
from /Users/Dan/Desktop/Ruby-WordNet-0.02/lib/wordnet/
lexicon.rb:32
from /Users/Dan/Desktop/Ruby-WordNet-0.02/lib/wordnet.rb:
82:in `require'
from /Users/Dan/Desktop/Ruby-WordNet-0.02/lib/wordnet.rb:82
from convertdb.rb:38:in `require'
from convertdb.rb:38

Any advice would be appreciated (especially a suggestion for a easier/
newer way to have my Ruby program retrieve word synonyms)

Best,
DAN


On May 9, 2007, at 11:25 PM, Marcel Molina Jr. wrote:

> On Thu, May 10, 2007 at 12:22:52PM +0900, blufur wrote:
>> Hi all. I'm writing a Ruby program that requires a thesaurus to
>> expand a given term to a set that includes all its synonyms... anyone
>> know of a resource that I can have my program access?
>
> http://www.deveiate.org/projects/Rub...
>
> marcel
> --
> Marcel Molina Jr. <marcel@vernix.org>
>


Scruffy McScruffovitch

9/2/2007 5:40:00 AM

0

In News ocikd3d1csk7bto1vnkecnd9ocgbv547vm@4ax.com,, Governor Swill at
governor.swill@gmail.com, typed this:

> On Sat, 1 Sep 2007 12:41:19 -0400, "Scruffy McScruffovitch"
> <Scruffy_1@FAM.NET> wrote:
>
>>>
>>> However, something no one seems to be discussing about them is that
>>> they were from the stockpile which Saddam claimed was unilaterally
>>> destroyed in 1991.
>>
>> Actually, there was no such claim made. Some of it appeared to
>> have been left in an abandoned, undergound depot used during and
>> before the Iraq/iran war. There has never been any proof
>> whatsoever that the Iraqi goverment was still aware of its existence
>> in the years after the war's end.
>
> And the discovery was such a big deal, the announcement wasn't even
> made by the White House. It was left to Rick Santorum to announce
> when he was still some months away from losing his job.
>
> Swill

Yep, and greatly exaggerated by Santorum as well. Santorum's original
"story" included 500 "weapons munitions" with all manner of chemicals and
such.

Of course, later we find out that the number was actually less than 10 that
were actually filled, and those that were filled, the chemicals had degraded
far passed viablity. In other words, they were no longer WMD.

So basically, I stick to my original assertion that there were no WMD found.

--
"A government big enough to give you everything you want is strong
enough to take away everything you have."

Thomas Jefferson


Neolibertarian

9/2/2007 2:52:00 PM

0

In article <13dj5hg3vapvic0@corp.supernews.com>,
"Scruffy McScruffovitch" <Scruffy_1@FAM.NET> wrote:

> In News cognac756-D73D86.11240401092007@newsclstr02.news.prodigy.com,,
> Neolibertarian at cognac756@gmail.com, typed this:
>
> > In article <13dh55gpbdumnef@corp.supernews.com>,
> > "Scruffy McScruffovitch" <Scruffy_1@FAM.NET> wrote:
> >
> >
> >>>
> >>> Actually, there were proscribed WMD found. None in significant
> >>> quantities, and most were beyond their shelf life.
> >>
> >> And no longer considered WMD. No WMD = No WMD found.
> >
> > However, something no one seems to be discussing about them is that
> > they were from the stockpile which Saddam claimed was unilaterally
> > destroyed in 1991.
>
> Actually, there was no such claim made. Some of it appeared to have been
> left in an abandoned, undergound depot used during and before the Iraq/iran
> war.

Yes, those were the munitions stocks--a potion of which Saddam reported
to UNSCOM had been unilaterally destroyed by the Iraqi military.

UNSCOM as well as UNMOVIC were aware that a measure of these were never
accounted for, even under Saddam's false or incomplete disclosures.

> There has never been any proof whatsoever that the Iraqi goverment
> was still aware of its existence in the years after the war's end.

I have no idea what investigation you're referring to. If this is from
the ISG, please cite.

> >> Proof?
> >
> > Evidence, not proof.
> >
>
>
> Come back when you have some proof.

I offered far more credible evidence that Saddam's WMD are in Syria than
you've offered for your claim that they never existed (you said
something about how they might have existed "possibly prior to 1995 or
1998 at the very latest").

I assert that you're basing your claim, not on "proof" but on the
questionable testimony of Bush Administration officials (all of whom you
claim are liars).

> >> It's very simple.
> >
> > Nothing is simple about Iraq.
>
> It's quite simple.

"Well, some mathematics problems look simple, and you try them for a
year or so, and then you try them for a hundred years, and it turns out
that they're extremely hard to solve."
---Andrew Wiles

--
NeoLibertarian

"When the people find that they can vote themselves money,
that will herald the end of the republic."
--- Benjamin Franklin

Scruffy McScruffovitch

9/2/2007 3:01:00 PM

0

In News cognac756-C97892.09455002092007@newsclstr02.news.prodigy.com,,
Neolibertarian at cognac756@gmail.com, typed this:

> In article <13dj5hg3vapvic0@corp.supernews.com>,
> "Scruffy McScruffovitch" <Scruffy_1@FAM.NET> wrote:
>
>> In News
>> cognac756-D73D86.11240401092007@newsclstr02.news.prodigy.com,,
>> Neolibertarian at cognac756@gmail.com, typed this:
>>
>>> In article <13dh55gpbdumnef@corp.supernews.com>,
>>> "Scruffy McScruffovitch" <Scruffy_1@FAM.NET> wrote:
>>>
>>>
>>>>>
>>>>> Actually, there were proscribed WMD found. None in significant
>>>>> quantities, and most were beyond their shelf life.
>>>>
>>>> And no longer considered WMD. No WMD = No WMD found.
>>>
>>> However, something no one seems to be discussing about them is that
>>> they were from the stockpile which Saddam claimed was unilaterally
>>> destroyed in 1991.
>>
>> Actually, there was no such claim made. Some of it appeared to
>> have been left in an abandoned, undergound depot used during and
>> before the Iraq/iran war.
>
> Yes, those were the munitions stocks--

No, there weren't.


>
>> There has never been any proof whatsoever that the Iraqi goverment
>> was still aware of its existence in the years after the war's end.
>
> I have no idea what investigation you're referring to.

Ask your running buddy, Rick Santorum, who exaggerated the study results
beyond anything they ever found.


--
"A government big enough to give you everything you want is strong
enough to take away everything you have."

Thomas Jefferson