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

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

[Octave-bug-tracker] [bug #54942] implement uicontrol focusing behavior


From: Rik
Subject: [Octave-bug-tracker] [bug #54942] implement uicontrol focusing behavior
Date: Fri, 2 Nov 2018 15:16:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

URL:
  <https://savannah.gnu.org/bugs/?54942>

                 Summary: implement uicontrol focusing behavior
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Fri 02 Nov 2018 12:16:15 PM PDT
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

It should be possible to switch the focus to a particular uicontrol object by
using the syntax


uicontrol (handle)


However, this is currently unimplemented in Octave and throws a warning.


uicontrol (hu)
warning: uicontrol: focusing not implemented yet
warning: called from
    uicontrol at line 110 column 5


Just briefly looking at the Qt docs shows that there is a setFocus member
function for QWidgets.  The path to implementing this is probably
straightforward, but also long.  One would need to create an interface in
octave_link, call the new function from uicontrol.m, and implement the actual
behavior in libgui/src/octave-link.cc.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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