comparison libinterp/corefcn/graphics.in.h @ 20628:3af34e1ef330

Preliminary inclusion of uixx objects properties in the manual (bug #46076) * doc/interpreter/genpropdoc.m: add uixx objects to the list of supported graphics objects * doc/interpreter/genpropdoc.m (get_doc): add uixx objects and their specific properties (currently empty documentation) * doc/interpreter/plot.txi("Interacting with Plots"): add a note and a reference about ui* family of functions. * doc/interpreter/plot.txi("Interacting with Plots"): for consistency, remove "uimenu" reference. All the other uixx are already in the gui section * doc/interpreter/plot.txi("graphics data structure"): add uixx objects * doc/interpreter/gui.txi("UI Elements"): add "uimenu" function reference * doc/module.mk: add rules to build uixx properties texi files. * graphics.in.h: make uixx "__object__" property (Octave internal) hidden so that it does not appear in the documentation.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Fri, 09 Oct 2015 16:25:27 +0200
parents c547458dc10e
children
comparison
equal deleted inserted replaced
20627:56333f6df823 20628:3af34e1ef330
5319 // See the genprops.awk script for an explanation of the 5319 // See the genprops.awk script for an explanation of the
5320 // properties declarations. 5320 // properties declarations.
5321 // Programming note: Keep property list sorted if new ones are added. 5321 // Programming note: Keep property list sorted if new ones are added.
5322 5322
5323 BEGIN_PROPERTIES (uimenu) 5323 BEGIN_PROPERTIES (uimenu)
5324 any_property __object__ , Matrix () 5324 any_property __object__ h , Matrix ()
5325 string_property accelerator , "" 5325 string_property accelerator , ""
5326 callback_property callback , Matrix () 5326 callback_property callback , Matrix ()
5327 bool_property checked , "off" 5327 bool_property checked , "off"
5328 bool_property enable , "on" 5328 bool_property enable , "on"
5329 color_property foregroundcolor , color_values (0, 0, 0) 5329 color_property foregroundcolor , color_values (0, 0, 0)
5385 // See the genprops.awk script for an explanation of the 5385 // See the genprops.awk script for an explanation of the
5386 // properties declarations. 5386 // properties declarations.
5387 // Programming note: Keep property list sorted if new ones are added. 5387 // Programming note: Keep property list sorted if new ones are added.
5388 5388
5389 BEGIN_PROPERTIES (uicontextmenu) 5389 BEGIN_PROPERTIES (uicontextmenu)
5390 any_property __object__ , Matrix () 5390 any_property __object__ h , Matrix ()
5391 callback_property callback , Matrix () 5391 callback_property callback , Matrix ()
5392 array_property position , Matrix (1, 2, 0.0) 5392 array_property position , Matrix (1, 2, 0.0)
5393 END_PROPERTIES 5393 END_PROPERTIES
5394 5394
5395 protected: 5395 protected:
5447 // See the genprops.awk script for an explanation of the 5447 // See the genprops.awk script for an explanation of the
5448 // properties declarations. 5448 // properties declarations.
5449 // Programming note: Keep property list sorted if new ones are added. 5449 // Programming note: Keep property list sorted if new ones are added.
5450 5450
5451 BEGIN_PROPERTIES (uicontrol) 5451 BEGIN_PROPERTIES (uicontrol)
5452 any_property __object__ , Matrix () 5452 any_property __object__ h , Matrix ()
5453 color_property backgroundcolor , color_values (1, 1, 1) 5453 color_property backgroundcolor , color_values (1, 1, 1)
5454 callback_property callback , Matrix () 5454 callback_property callback , Matrix ()
5455 array_property cdata , Matrix () 5455 array_property cdata , Matrix ()
5456 bool_property clipping , "on" 5456 bool_property clipping , "on"
5457 radio_property enable , "{on}|inactive|off" 5457 radio_property enable , "{on}|inactive|off"
5545 // See the genprops.awk script for an explanation of the 5545 // See the genprops.awk script for an explanation of the
5546 // properties declarations. 5546 // properties declarations.
5547 // Programming note: Keep property list sorted if new ones are added. 5547 // Programming note: Keep property list sorted if new ones are added.
5548 5548
5549 BEGIN_PROPERTIES (uipanel) 5549 BEGIN_PROPERTIES (uipanel)
5550 any_property __object__ , Matrix () 5550 any_property __object__ h , Matrix ()
5551 color_property backgroundcolor , color_values (1, 1, 1) 5551 color_property backgroundcolor , color_values (1, 1, 1)
5552 radio_property bordertype , "none|{etchedin}|etchedout|beveledin|beveledout|line" 5552 radio_property bordertype , "none|{etchedin}|etchedout|beveledin|beveledout|line"
5553 double_property borderwidth , 1 5553 double_property borderwidth , 1
5554 radio_property fontangle , "{normal}|italic|oblique" 5554 radio_property fontangle , "{normal}|italic|oblique"
5555 string_property fontname , OCTAVE_DEFAULT_FONTNAME 5555 string_property fontname , OCTAVE_DEFAULT_FONTNAME
5613 // See the genprops.awk script for an explanation of the 5613 // See the genprops.awk script for an explanation of the
5614 // properties declarations. 5614 // properties declarations.
5615 // Programming note: Keep property list sorted if new ones are added. 5615 // Programming note: Keep property list sorted if new ones are added.
5616 5616
5617 BEGIN_PROPERTIES (uitoolbar) 5617 BEGIN_PROPERTIES (uitoolbar)
5618 any_property __object__ , Matrix () 5618 any_property __object__ h , Matrix ()
5619 END_PROPERTIES 5619 END_PROPERTIES
5620 5620
5621 protected: 5621 protected:
5622 void init (void) 5622 void init (void)
5623 { } 5623 { }
5713 // See the genprops.awk script for an explanation of the 5713 // See the genprops.awk script for an explanation of the
5714 // properties declarations. 5714 // properties declarations.
5715 // Programming note: Keep property list sorted if new ones are added. 5715 // Programming note: Keep property list sorted if new ones are added.
5716 5716
5717 BEGIN_PROPERTIES (uipushtool) 5717 BEGIN_PROPERTIES (uipushtool)
5718 any_property __object__ , Matrix () 5718 any_property __object__ h , Matrix ()
5719 array_property cdata , Matrix () 5719 array_property cdata , Matrix ()
5720 callback_property clickedcallback , Matrix () 5720 callback_property clickedcallback , Matrix ()
5721 bool_property enable , "on" 5721 bool_property enable , "on"
5722 bool_property separator , "off" 5722 bool_property separator , "off"
5723 string_property tooltipstring , "" 5723 string_property tooltipstring , ""
5769 // See the genprops.awk script for an explanation of the 5769 // See the genprops.awk script for an explanation of the
5770 // properties declarations. 5770 // properties declarations.
5771 // Programming note: Keep property list sorted if new ones are added. 5771 // Programming note: Keep property list sorted if new ones are added.
5772 5772
5773 BEGIN_PROPERTIES (uitoggletool) 5773 BEGIN_PROPERTIES (uitoggletool)
5774 any_property __object__ , Matrix () 5774 any_property __object__ h , Matrix ()
5775 array_property cdata , Matrix () 5775 array_property cdata , Matrix ()
5776 callback_property clickedcallback , Matrix () 5776 callback_property clickedcallback , Matrix ()
5777 bool_property enable , "on" 5777 bool_property enable , "on"
5778 callback_property offcallback , Matrix () 5778 callback_property offcallback , Matrix ()
5779 callback_property oncallback , Matrix () 5779 callback_property oncallback , Matrix ()