Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::gui::widgets::InputBoxTextChangedEvent Class Reference

Event that is triggered when the text in an input box is changed. More...

#include <inputbox.h>

Inheritance diagram for MaxOS::gui::widgets::InputBoxTextChangedEvent:
MaxOS::common::Event< InputBoxEvents >

Public Member Functions

 InputBoxTextChangedEvent (const string &)
 Construct a new Input Box Text Changed Event object.
 
- Public Member Functions inherited from MaxOS::common::Event< InputBoxEvents >
 Event (InputBoxEvents type)
 Constructs a new Event object.
 

Public Attributes

string new_text
 The new text in the input box.
 
- Public Attributes inherited from MaxOS::common::Event< InputBoxEvents >
InputBoxEvents type
 
uint8_tbuffer_value
 
uint32_t int_value
 
bool bool_value
 
union { 
 
   uint8_t *   buffer_value 
 
   uint32_t   int_value 
 
   bool   bool_value 
 
return_value 
 

Detailed Description

Event that is triggered when the text in an input box is changed.

Definition at line 32 of file inputbox.h.

Constructor & Destructor Documentation

◆ InputBoxTextChangedEvent()

InputBoxTextChangedEvent::InputBoxTextChangedEvent ( const string new_text)

Construct a new Input Box Text Changed Event object.

Parameters
new_textThe new text in the input box

Definition at line 291 of file inputbox.cpp.

292: Event(InputBoxEvents::TEXT_CHANGED),
294{
295
296}
Used to store information about an event, has a type and a return value.
string new_text
The new text in the input box.
Definition inputbox.h:37

Member Data Documentation

◆ new_text

string MaxOS::gui::widgets::InputBoxTextChangedEvent::new_text

The new text in the input box.

Definition at line 37 of file inputbox.h.


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