Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
WrappedObjectWithChangeSignal Struct Reference

A GObject-ified normal C object with a signal that interested parties can listen to for changes. More...

#include <gui/backend/wrapped_object_with_change_signal.h>

Public Member Functions

void wrapped_object_with_change_signal_fire (WrappedObjectWithChangeSignal *self)
 Fires the signal.
 

Data Fields

GObject parent_instance
 
WrappedObjectType type
 
void * obj
 
GListModel * parent_model
 Parent model, if using tree model.
 
GListModel * child_model
 Model containing the children for this object (if using tree model).
 
ObjectFreeFunc free_func
 

Detailed Description

A GObject-ified normal C object with a signal that interested parties can listen to for changes.

To be used in list view models and other APIs that require using a GObject.

Definition at line 58 of file wrapped_object_with_change_signal.h.

Field Documentation

◆ child_model

GListModel* WrappedObjectWithChangeSignal::child_model

Model containing the children for this object (if using tree model).

Definition at line 70 of file wrapped_object_with_change_signal.h.

◆ free_func

ObjectFreeFunc WrappedObjectWithChangeSignal::free_func

Definition at line 72 of file wrapped_object_with_change_signal.h.

◆ obj

void* WrappedObjectWithChangeSignal::obj

Definition at line 63 of file wrapped_object_with_change_signal.h.

◆ parent_instance

GObject WrappedObjectWithChangeSignal::parent_instance

Definition at line 60 of file wrapped_object_with_change_signal.h.

◆ parent_model

GListModel* WrappedObjectWithChangeSignal::parent_model

Parent model, if using tree model.

Definition at line 66 of file wrapped_object_with_change_signal.h.

◆ type

WrappedObjectType WrappedObjectWithChangeSignal::type

Definition at line 62 of file wrapped_object_with_change_signal.h.


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