CoreGTK  3.22.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
CGTKSignalConnector Class Reference

#import <CGTKSignalConnector.h>

Inheritance diagram for CGTKSignalConnector:
Collaboration diagram for CGTKSignalConnector:

Class Methods

(void) + connectGpointer:withSignal:toTarget:withSelector:andData:
 

Detailed Description

Provides functions for GCallback signal connecting

Definition at line 43 of file CGTKSignalConnector.h.

Method Documentation

◆ connectGpointer:withSignal:toTarget:withSelector:andData:()

+ (void) connectGpointer: (gpointer)  object
withSignal: (NSString *)  name
toTarget: (id)  target
withSelector: (SEL)  selector
andData: (gpointer)  data 

Connects a GCallback function to a signal for a particular object. The GCallback function redirects the call to the Objective-C target and selector.

Parameters
objectThe instance to connect to
nameThe signal name to connect (a string in the form of "signal-name::detail"
targetThe Objective-C class to callback to
selThe selector
dataThe data to pass to c_handler calls
Returns
a new CGTKCallbackData

Definition at line 44 of file CGTKSignalConnector.m.


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