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

The Button delegate protocol. More...

#include <Button.h>

Data Fields

ident data
 The user data.
 
void(* didClick )(Button *)
 Called when the Button is clicked.
 
ident self
 The delegate self-reference.
 

Detailed Description

The Button delegate protocol.

Definition at line 44 of file Button.h.

Field Documentation

◆ data

ident ButtonDelegate::data

The user data.

Definition at line 54 of file Button.h.

◆ didClick

void(* ButtonDelegate::didClick) (Button *)

Called when the Button is clicked.

Parameters
buttonThe Button.

Definition at line 60 of file Button.h.

◆ self

ident ButtonDelegate::self

The delegate self-reference.

Definition at line 49 of file Button.h.


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