gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
AnyFuncData Class Reference

class to pass using connectSignalAfter for connecting a signal to a widget More...

#include <Buttons.H>

Inheritance diagram for AnyFuncData:
[legend]

Public Member Functions

 AnyFuncData (void)
 
 AnyFuncData (const string &s, GCallback f, gpointer d)
 
 AnyFuncData (const char *s, GCallback f, gpointer d)
 
 AnyFuncData (const char *s, void(*f)(void *, void *), gpointer d)
 

Public Attributes

const char * str
 The label to show in the button. More...
 
void(* func )()
 The function to call when the button is pressed. More...
 
gpointer data
 The data to pass to func when the button it pressed. More...
 

Detailed Description

class to pass using connectSignalAfter for connecting a signal to a widget

Definition at line 33 of file Buttons.H.

Constructor & Destructor Documentation

◆ AnyFuncData() [1/4]

AnyFuncData::AnyFuncData ( void  )
inline

Definition at line 35 of file Buttons.H.

◆ AnyFuncData() [2/4]

AnyFuncData::AnyFuncData ( const string &  s,
GCallback  f,
gpointer  d 
)
inline

Definition at line 41 of file Buttons.H.

◆ AnyFuncData() [3/4]

AnyFuncData::AnyFuncData ( const char *  s,
GCallback  f,
gpointer  d 
)
inline

Definition at line 46 of file Buttons.H.

◆ AnyFuncData() [4/4]

AnyFuncData::AnyFuncData ( const char *  s,
void(*)(void *, void *)  f,
gpointer  d 
)
inline

Definition at line 52 of file Buttons.H.

Member Data Documentation

◆ data

gpointer AnyFuncData::data

The data to pass to func when the button it pressed.

Definition at line 59 of file Buttons.H.

◆ func

void(* AnyFuncData::func) ()

The function to call when the button is pressed.

Definition at line 58 of file Buttons.H.

◆ str

const char* AnyFuncData::str

The label to show in the button.

Definition at line 57 of file Buttons.H.


The documentation for this class was generated from the following file:
gtkIOStream: AnyFuncData Class Reference
GTK+ IOStream  Beta