Preparing the basic GUI

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.

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

Hi jake,

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

jake kaiden wrote in post #993967:

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

i’m not too familiar with shoes, but these posts might be useful for
you…

Shoes 3 released - Ruby - Ruby-Forum (shoes 3 release, there’s a
link in this one to the manual)

Creating a full application with Ruby - Ruby - Ruby-Forum (there’s some reference to
creating a menu in shoes in this thread)

good luck!

  • j

On Wed, Apr 20, 2011 at 5:06 AM, Rubist R. <
[email protected]> wrote:

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 (
The Shoes Manual // Hello!). 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
shoes-deprecated/samples/simple-editor.rb at develop · shoes/shoes-deprecated · GitHub a
simple text editor implemented in shoes.

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
[email protected],
with a bunch of helpful people. :slight_smile:

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

-Steve