PCL
FontComboBox Event Handlers

Typedefs

using pcl::FontComboBox::font_event_handler = void(Control::*)(FontComboBox &sender, const String &font)
 

Functions

void pcl::FontComboBox::OnFontHighlighted (font_event_handler handler, Control &receiver)
 
void pcl::FontComboBox::OnFontSelected (font_event_handler handler, Control &receiver)
 

Detailed Description

Typedef Documentation

◆ font_event_handler

using pcl::FontComboBox::font_event_handler = void (Control::*)( FontComboBox& sender, const String& font )

Defines the prototype of a font combo box event handler.

A font combo box event is generated when an item is selected or highlighted in a font combo box.

Parameters
senderThe FontComboBox control that sends a font combo box event.
fontThe face name of the font that has been selected or highlighted in the sender font combo box.

Definition at line 330 of file FontComboBox.h.

Function Documentation

◆ OnFontHighlighted()

void pcl::FontComboBox::OnFontHighlighted ( font_event_handler  handler,
Control receiver 
)

Sets the font highlighted event handler for this font combo box control.

Parameters
handlerThe font combo box event handler. Must be a member function of the receiver object's class. This handler will be called whenever a font is highlighted in this font combo box control.
receiverThe control that will receive font highlighted events from this font combo box.

◆ OnFontSelected()

void pcl::FontComboBox::OnFontSelected ( font_event_handler  handler,
Control receiver 
)

Sets the font selected event handler for this font combo box.

Parameters
handlerThe font combo box event handler. Must be a member function of the receiver object's class. This handler will be called whenever a font is selected in this font combo box control.
receiverThe control that will receive font selected events from this font combo box.