Hi,
If I define an interface as such:
(define-interface demo ()
()
(:panes
(page-up push-button
:text "Page Up")
(page-down push-button
:text "Page Down")
(open-file push-button
:text "Open File"))
(:layouts
(row-of-buttons row-layout
'(page-up page-down open-file)))
(:default-initargs :title "Demo"))
(setf d (make-instance 'demo)
(display d)
then redefine it as such:
(define-interface demo ()
()
(:panes
(page-up push-button
:text "Page Up")
(page-down push-button
:text "Page Down")
(open-file push-button
:text "Open File")
;;; added a viewer pane
(viewer editor-pane
:title "File:"
:text "No file selected."
:visible-min-height '(:character 8)
:reader viewer-pane))
(:layouts
(main-layout column-layout
'(row-of-buttons row-with-editor-pane))
(row-of-buttons row-layout
'(page-up page-down open-file))
(row-with-editor-pane row-layout
'(viewer)))
(:default-initargs :title "Demo"))
(redisplay-interface d)
===============
redisplay-interface does not work. How to redraw an existing displayed instance of an interface without redrawing it, in a similar way that I can redraw an output-pane using display-callback?
Ideally just hovering the mouse over the interface should redraw it? How to achieve this, without going down the update-instance-for-redefined-class route?
Thanks,
Deepak