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

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

[Octave-bug-tracker] [bug #44763] Reset submenus of a uicontextmenu


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44763] Reset submenus of a uicontextmenu
Date: Tue, 07 Apr 2015 14:58:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

URL:
  <http://savannah.gnu.org/bugs/?44763>

                 Summary: Reset submenus of a uicontextmenu
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Tue 07 Apr 2015 02:58:27 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

After removing a submenu from a uicontextmenu, there are still  some remaining
effects from that submenu:
* the context menu still displays 'Menu 1  >' instead of 'Menu 1'
* the uimenu callback is executed when the mouse pointer is over the label
instead of only when a click is performed.


F=figure;
H=uicontextmenu(F);
set(F,'uicontextmenu',H);
U=uimenu('parent',H,'Label','Menu 1','callback','disp(''clbk'')');
uimenu('parent',U,'Label','temporary');
delete(get(U,'children'))





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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