Preparing the basic GUI

R

Rubist Rohit

I want to write a small text-editor in Ruby for learning the basics. I
want to show all the possible text-manipulation options in one single
menu. Once the option is selected, the string typed in an Input box will
be altered accordingly.

I am not following how to prepare this basic GUI.
 
J

jake kaiden

hi Rubist -

every toolkit is quite different, and so the help you're looking for
really depends on the gui toolkit you're using. i'd suggest writing
back with which toolkit you use, (gtk2, wxruby, tk, fx, etc..,) and what
code you're working with so far...

cheers,

- j
 
R

Rubist Rohit

Hi jake,

I am tweaking with Shoes, but it has very little documentation.

jake kaiden wrote in post #993967:
 
J

Josh Cheek

[Note: parts of this message were removed to make it a legal post.]

On Wed, Apr 20, 2011 at 5:06 AM, Rubist Rohit <
Hi jake,

I am tweaking with Shoes, but it has very little documentation.
I have found that the book it has is very nice and pretty thorough (
http://shoesrb.com/manual/Hello.html). Its downfall is that it is not laid
out like typical documentation, so it is difficult to find what you are
looking for. It is best as a straight through perusal, and I recommend you
do that before / while you work on your editor (because probably everything
you want to know about is in there, but you won't be able to find it unless
you read through the whole thing).

You might also be interested in
https://github.com/shoes/shoes/blob/develop/samples/simple-editor.rb a
simple text editor implemented in shoes.
 
S

Steve Klabnik

[Note: parts of this message were removed to make it a legal post.]

Hey Rubist-

Looking at simple-editor is a good idea to get you started. If you have more
specific questions, we also have a shoes mailing list at (e-mail address removed),
with a bunch of helpful people. :)

You can also look at the shoes manual from inside shoes, by hitting
control-m. That manual has some search capability. :)

-Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,600
Members
45,180
Latest member
CryptoTax Software
Top