patchGNU Octave - Patches: patch #8158, __init_fltk__.cc: partial...

 
 

patch #8158: __init_fltk__.cc: partial implementation of figure property SelectionType

Submitter:  Cristian <r41nm4n>
Submitted:  Sat 10 Aug 2013 10:47:53 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Feb 2015 04:48:59 PM UTC, comment #2: 

I'm sorry that your patch was neglected so long. The 'SelectionType' property was implemented with cset 9609f345823e (http://hg.savannah.gnu.org/hgweb/octave/rev/9609f345823e) on the default branch and will be part of the next 4.0 release.

Andreas Weber <andy1978>
Group Member
Sun 11 Aug 2013 07:00:15 PM UTC, comment #1: 

This snippet helps to test the patch: the effect can be verified by clicking on the red square with left/right mouse button:


imshow(cat(3, 1, 0, 0));
set(gcf, 'WindowButtonUpFcn', 'get(gcf, "SelectionType")');


Cristian <r41nm4n>
Sat 10 Aug 2013 10:47:53 PM UTC, original submission:  

This patch implements the change of value for the figure property "SelectionType", which stores information about the last mouse button that was clicked in the figure window, with distinction between single and double click.

The implementation is not yet complete, because for MATLAB compatibility the keyboard modifiers "shift" and "control" should also be taken into account.

The patch has been tested only on Linux Debian jessie.

Cristian <r41nm4n>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #28807:  selectiontype.patch added by r41nm4n (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by r41nm4n (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-05 andy1978 StatusNone Done
        Open/ClosedOpen Closed
    2013-08-10 r41nm4n Attached File- Added selectiontype.patch, #28807

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code