patchGNU Octave - Patches: patch #10283, uilabel implementation

 
 

patch #10283: uilabel implementation

Submitter:  John Donoghue <lostbard>
Submitted:  Wed 21 Sep 2022 12:16:30 AM UTC
 
Category:  Core : new function Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Wed 21 Sep 2022 04:02:17 PM UTC, comment #4: 

Yeah currently uifigure in octave creates a normal figure, but with the toolbar and menubar turned off by default to mimic the same function

John Donoghue <lostbard>
Project Member
Wed 21 Sep 2022 01:53:06 PM UTC, comment #3: 

IIUC, their "classic" figures are implemented using Java. Their new  uifigures are based on "web technologies". (I guess that is HTML5, CSS and Co.)

When opening a plain "classic" figure, Matlab shows the controls and menu bar for plots by default. The new `uifigure` is completely blank by default.

IIUC, the new `uifigure`s are meant for developing GUIs and Apps. The "classic" figures are meant for plotting...

Markus Mützel <mmuetzel>
Project Member
Wed 21 Sep 2022 12:03:27 PM UTC, comment #2: 

I dont have matlab, but is there any difference between a figure created by figure vs uifigure, except for some defaults of properties?

Both say they return a 'Figure object' but is it the same type ?

John Donoghue <lostbard>
Project Member
Wed 21 Sep 2022 06:54:21 AM UTC, comment #1: 

IIUC, Matlab's `uilabel` is supposed to be used with their "new-ish" `uifigure` (that is different from their `figure`).
Octave doesn't have `uifigure` graphics objects. (It creates a "classic" `figure` when using that function in Octave 8. I'm not sure whether this is a good idea though.)
For their older `figure`s, the equivalent object would probably be created with an `uicontrol` with the "Style" property set accordingly.

How do we want to deal with graphics objects that are specific to the new `uifigure` for them? Do we want to add them for our "classic" `figure` objects?

Markus Mützel <mmuetzel>
Project Member
Wed 21 Sep 2022 12:16:30 AM UTC, original submission:  

An implementation of uilabel

John Donoghue <lostbard>
Project Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53735:  uilabel.patch added by lostbard (29KiB - 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 mmuetzel (Posted a comment)
  • -email is unavailable- added by lostbard (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.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-21 lostbard Attached File- Added uilabel.patch, #53735

    Back to the top


    Powered by Savane 3.9