[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent |
Date: |
Fri, 24 Feb 2017 12:14:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #7, bug #50369 (project octave):
The answer to the first part of your question is "yes", the menu appears at
the rightmost position if no "position" property is specified. In Octave,
>> hf = figure
hf = 1
>> hm = uimenu ('label', 'mymenu');
>> get (hm, 'position')
ans = 4
The position is after the "File", "Edit", and "Help" menubar items.
As to whether findall should return uimenu items that belong to the built-in
menu, that is something that should be checked in Matlab. It is not clear
from the documentation that these entries are ordinary uimenu items. Sample
code to check would be
close all
hf = figure;
hm = findall (hf, 'type', 'uimenu')
get (hm, 'label')
Run this code and see if hm is empty or not and what labels are returned.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50369>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Roland Baudin, 2017/02/21
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Rik, 2017/02/22
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Rik, 2017/02/22
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Roland Baudin, 2017/02/23
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Rik, 2017/02/23
- [Octave-bug-tracker] [bug #50369] Inconsistent uimenu position between qt and fltk graphics, Rik, 2017/02/23
- [Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent, Rik, 2017/02/23
- [Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent, Guillaume, 2017/02/24
- [Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent,
Rik <=
- [Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent, Guillaume, 2017/02/27
- [Octave-bug-tracker] [bug #50369] FLTK uimenu position inconsistent, Rik, 2017/02/27