ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
TextViewDelegate Struct Reference

The TextView delegate protocol. More...

#include <TextView.h>

Data Fields

ident data
 The Delegate user-data.
 
void(* didBeginEditing )(TextView *textView)
 Delegate callback for initiating text editing.
 
void(* didEdit )(TextView *textView)
 Delegate callback for text input events.
 
void(* didEndEditing )(TextView *textView)
 Delegate callback for finalizing text editing.
 
ident self
 The Delegate self-reference.
 

Detailed Description

The TextView delegate protocol.

Definition at line 43 of file TextView.h.

Field Documentation

◆ data

ident TextViewDelegate::data

The Delegate user-data.

Definition at line 53 of file TextView.h.

◆ didBeginEditing

void(* TextViewDelegate::didBeginEditing) (TextView *textView)

Delegate callback for initiating text editing.

Parameters
textViewThe TextView.

Definition at line 59 of file TextView.h.

◆ didEdit

void(* TextViewDelegate::didEdit) (TextView *textView)

Delegate callback for text input events.

Parameters
textViewThe TextView.

Definition at line 65 of file TextView.h.

◆ didEndEditing

void(* TextViewDelegate::didEndEditing) (TextView *textView)

Delegate callback for finalizing text editing.

Parameters
textViewThe TextView.

Definition at line 71 of file TextView.h.

◆ self

ident TextViewDelegate::self

The Delegate self-reference.

Definition at line 48 of file TextView.h.


The documentation for this struct was generated from the following file: