Welcome, Guest. Please login or register.

Author Topic: Reaction, adding/removing Gadgets from Windows  (Read 2840 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show all replies
Re: Reaction, adding/removing Gadgets from Windows
« on: July 01, 2003, 02:37:03 AM »
Hey there.

I started learning ReAction a while back.  I found it easier to dump ReActor and code the GUI by hand, there are some good examples in the NDK that you can use, and there are plenty of macros to make the code cleaner.  

I tend to use Reactor just for prototyping interfaces before I code them, it's just too buggy for much else.
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show all replies
Re: Reaction, adding/removing Gadgets from Windows
« Reply #1 on: July 01, 2003, 03:19:46 AM »
What in particular are you stuck on? Which examples have you looked at?
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show all replies
Re: Reaction, adding/removing Gadgets from Windows
« Reply #2 on: July 01, 2003, 03:40:29 AM »
Quote

jahc wrote:
The 3.9 NDK Listbrowser example.. I couldnt get a string gadget and a listbrowser to not overlap each other.. then I tried some reaction examples off aminet.. and RA_OpenWindow() didnt like the arguments I was passing to it.. a window object. Tried casting it as gadget* window* object* .. it still wouldnt compile, said illegal argument. Sigh.

Surely theres a way to get the Reactor stuff to work.


Ah, there is your problem.  The listbrowser example is only an example of a single ReAction gadget within a ordinary window NOT a complete GUI layout.  The listbrowser example is actually quite different from the others.

Look at the checkbox example, you should be able to see how it all fits together you start with the main layout class and then add everything else.  The example is very clear and easy to follow. (even I got it ;-) )

If you still have problems PM me and I'll be happy to help you via email.
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show all replies
Re: Reaction, adding/removing Gadgets from Windows
« Reply #3 on: July 01, 2003, 07:07:58 PM »
Quote

jahc wrote:

Thanks for the push. :)


No problem, always happy to help :-)