GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
callback_property Class Reference

#include "graphics.h"

Inheritance diagram for callback_property:
base_property

Public Member Functions

 callback_property ()=delete
 
 callback_property (const callback_property &)=default
 
 callback_property (const std::string &nm, const graphics_handle &h, const octave_value &m)
 
 ~callback_property ()=default
 
base_propertyclone () const
 
void execute (const octave_value &data=octave_value()) const
 
octave_value get () const
 
bool is_defined () const
 
callback_propertyoperator= (const callback_property &)=delete
 
callback_propertyoperator= (const octave_value &val)
 
- Public Member Functions inherited from base_property
 base_property ()
 
 base_property (const base_property &p)
 
 base_property (const std::string &s, const graphics_handle &h)
 
virtual ~base_property ()=default
 
void add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET)
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET)
 
int get_id () const
 
std::string get_name () const
 
graphics_handle get_parent () const
 
bool is_hidden () const
 
virtual bool is_radio () const
 
bool ok () const
 
base_propertyoperator= (const base_property &)=delete
 
base_propertyoperator= (const octave_value &val)
 
void run_listeners (listener_mode mode=GCB_POSTSET)
 
bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
 
void set_hidden (bool flag)
 
void set_id (int d)
 
void set_name (const std::string &s)
 
void set_parent (const graphics_handle &h)
 
virtual Cell values_as_cell () const
 
virtual std::string values_as_string () const
 

Protected Member Functions

bool do_set (const octave_value &v)
 

Detailed Description

Definition at line 1965 of file graphics.h.

Constructor & Destructor Documentation

◆ callback_property() [1/3]

callback_property::callback_property ( )
delete

◆ callback_property() [2/3]

callback_property::callback_property ( const std::string &  nm,
const graphics_handle h,
const octave_value m 
)
inline

Definition at line 1971 of file graphics.h.

◆ callback_property() [3/3]

callback_property::callback_property ( const callback_property )
default

◆ ~callback_property()

callback_property::~callback_property ( )
default

Member Function Documentation

◆ clone()

base_property* callback_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1997 of file graphics.h.

◆ do_set()

bool callback_property::do_set ( const octave_value v)
inlineprotectedvirtual

Reimplemented from base_property.

Definition at line 2000 of file graphics.h.

References error().

◆ execute()

void callback_property::execute ( const octave_value data = octave_value ()) const

Definition at line 1983 of file graphics.cc.

Referenced by base_properties::execute_buttondownfcn(), figure::properties::execute_buttondownfcn(), uicontextmenu::properties::execute_callback(), uicontrol::properties::execute_callback(), uitable::properties::execute_celleditcallback(), uitable::properties::execute_cellselectioncallback(), uipushtool::properties::execute_clickedcallback(), uitoggletool::properties::execute_clickedcallback(), figure::properties::execute_closerequestfcn(), base_properties::execute_createfcn(), base_properties::execute_deletefcn(), figure::properties::execute_keypressfcn(), uicontrol::properties::execute_keypressfcn(), uitable::properties::execute_keypressfcn(), figure::properties::execute_keyreleasefcn(), uitable::properties::execute_keyreleasefcn(), uimenu::properties::execute_menuselectedfcn(), uitoggletool::properties::execute_offcallback(), uitoggletool::properties::execute_oncallback(), figure::properties::execute_resizefcn(), uibuttongroup::properties::execute_resizefcn(), uipanel::properties::execute_resizefcn(), uibuttongroup::properties::execute_selectionchangedfcn(), figure::properties::execute_sizechangedfcn(), uibuttongroup::properties::execute_sizechangedfcn(), uipanel::properties::execute_sizechangedfcn(), figure::properties::execute_windowbuttondownfcn(), figure::properties::execute_windowbuttonmotionfcn(), figure::properties::execute_windowbuttonupfcn(), figure::properties::execute_windowkeypressfcn(), figure::properties::execute_windowkeyreleasefcn(), and figure::properties::execute_windowscrollwheelfcn().

◆ get()

octave_value callback_property::get ( ) const
inlinevirtual

◆ is_defined()

bool callback_property::is_defined ( ) const
inline

Definition at line 1986 of file graphics.h.

◆ operator=() [1/2]

callback_property& callback_property::operator= ( const callback_property )
delete

◆ operator=() [2/2]

callback_property& callback_property::operator= ( const octave_value val)
inline

Definition at line 1991 of file graphics.h.


The documentation for this class was generated from the following files: