Rebol 3 - How do you debug using an equivalent of view/new for Saphirion's Rebol

StackOverflow https://stackoverflow.com/questions/17635893

  •  03-06-2022
  •  | 
  •  

Pregunta

I'm trying to do some testing while working on GUIs, but I am running into trouble having console access at the same time.

Rebol 3

>> view/new [button]
** Script error: view has no refinement called new
>> help view
USAGE:
    VIEW spec /options opts /modal /no-wait /across /as-is /maximized /minimized /on-error error-handler

DESCRIPTION:
    Displays a window view from a layout block, face (layout), or low level graphics object (gob).
    VIEW is a function value.

ARGUMENTS:
    spec -- Layout block, face object, or gob type (block! object! gob!)

REFINEMENTS:
    /options
            opts -- Optional features, in name: value format (block!)
    /modal -- Display a modal window (pop-up)
    /no-wait -- Return immediately - do not wait
    /across -- Use horizontal layout-mode for top layout (rather than vertical)
    /as-is -- Use GOB exactly as passed - do not add a parent gob
    /maximized -- Open window in maximized state
    /minimized -- Open window in minimized state
    /on-error
            error-handler -- specify global error handler (block!)

Looking at the help, I tried

view/no-wait

and this gives console access, but the REB-GUI window locks up. What is going on with this? Is there a way to be able to access commands through the console while playing with the GUI?

¿Fue útil?

Solución

There isn't a way to have both console access and the gui concurrently.

But you could use an area face to enter commands and a button to evaluate those commands in your GUI.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top