ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
TextView.h File Reference

A Control for presenting and capturing user-provied Text. More...

#include <Objectively/String.h>
#include <ObjectivelyMVC/Control.h>

Go to the source code of this file.

Data Structures

struct  TextView
 A Control for presenting and capturing user-provied Text. More...
 
struct  TextViewDelegate
 The TextView delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _TextView (void)
 

Detailed Description

A Control for presenting and capturing user-provied Text.

Definition in file TextView.h.

Function Documentation

◆ _TextView()

OBJECTIVELYMVC_EXPORT Class * _TextView ( void  )

Definition at line 444 of file TextView.c.

444 {
445 static Class *clazz;
446 static Once once;
447
448 do_once(&once, {
449 clazz = _initialize(&(const ClassDef) {
450 .name = "TextView",
451 .superclass = _Control(),
452 .instanceSize = sizeof(TextView),
453 .interfaceOffset = offsetof(TextView, interface),
454 .interfaceSize = sizeof(TextViewInterface),
456 });
457 });
458
459 return clazz;
460}
Class * _Control(void)
Definition Control.c:391
static void initialize(Class *clazz)
Definition TextView.c:420
A Control for presenting and capturing user-provied Text.
Definition TextView.h:79