octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65187] getframe doesn't capture uiXXX objects


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #65187] getframe doesn't capture uiXXX objects
Date: Sat, 20 Jan 2024 18:37:41 -0500 (EST)

Follow-up Comment #1, bug#65187 (group octave):

If someone is interested in working on this project, I think it should be
fairly easy to do for the Qt graphics figure windows by using the


QPixmap QScreen::grabWindow(WId window = 0, int x = 0, int y = 0, int width =
-1, int height = -1)


function.  The QScreen object and WId (window ID) can be found using the
QWidget object corresponding to Octave's Figure (or maybe Canvas) object.

It looks like we currently ask the OpenGL renderer to generate a figure.  So I
think that explains why the UI objects are not included in the image that
getframe returns.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65187>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]