PCL
SpinBox Event Handlers

Typedefs

using pcl::SpinBox::value_event_handler = void(Control::*)(SpinBox &sender, int value)
 

Functions

void pcl::SpinBox::OnRangeUpdated (range_event_handler handler, Control &receiver)
 
void pcl::SpinBox::OnValueUpdated (value_event_handler handler, Control &receiver)
 

Detailed Description

Typedef Documentation

◆ value_event_handler

using pcl::SpinBox::value_event_handler = void (Control::*)( SpinBox& sender, int value )

Defines the prototype of a spin box value event handler.

A spin box value event is generated when the user changes the value of a spin box control.

Parameters
senderThe control that sends a spin box value event.
valueThe current value of the spin box.

Definition at line 415 of file SpinBox.h.

Function Documentation

◆ OnRangeUpdated()

void pcl::SpinBox::OnRangeUpdated ( range_event_handler  handler,
Control receiver 
)

Sets the slider range event handler for this SpinBox control.

Parameters
handlerThe slider range event handler. Must be a member function of the receiver object's class.
receiverThe control that will receive slider range events from this SpinBox.

◆ OnValueUpdated()

void pcl::SpinBox::OnValueUpdated ( value_event_handler  handler,
Control receiver 
)

Sets the spin box value event handler for this SpinBox control.

Parameters
handlerThe spin box value event handler. Must be a member function of the receiver object's class.
receiverThe control that will receive spin box value events from this SpinBox.