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

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

[Octave-bug-tracker] [bug #49529] set(gcf, "menubar", "figure") does not


From: Rik
Subject: [Octave-bug-tracker] [bug #49529] set(gcf, "menubar", "figure") does not restore figure menu bar
Date: Fri, 4 Nov 2016 17:51:44 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #10, bug #49529 (project octave):

The patch works much better, but I found another obscure case where the window
size shrinks.


close all
graphics_toolkit qt
figure
axes
mbar = uimenu ("label", "My_Menu");

keyboard;
set (mbar, 'visible', 'off')
set (gcf, 'toolbar', 'none')
set (gcf, 'menubar', 'none')
set (mbar, 'visible', 'on')  # window shrinks here by ~30 pixels


The commands need to be run one by one, so that Octave returns to the prompt
after each command and updates the window.  The "keyboard" call is there just
because I put this in a file tst_mbar2.m.


(file #38888)
    _______________________________________________________

Additional Item Attachment:

File name: tst_mbar2.m                    Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49529>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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