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

class to pass using operator<< for creating a toggle button with a label More...

#include <Buttons.H>

Inheritance diagram for ToggleFuncData:
[legend]
Collaboration diagram for ToggleFuncData:
[legend]

Public Member Functions

 ToggleFuncData (void)
 
 ToggleFuncData (const string &s, GCallback f, gpointer d)
 
 ToggleFuncData (const char *s, GCallback f, gpointer d)
 
 ToggleFuncData (const char *s, void(*f)(void *, void *), gpointer d)
 
- Public Member Functions inherited from AnyFuncData
 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)
 

Additional Inherited Members

- Public Attributes inherited from AnyFuncData
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 operator<< for creating a toggle button with a label

Definition at line 115 of file Buttons.H.

Constructor & Destructor Documentation

◆ ToggleFuncData() [1/4]

ToggleFuncData::ToggleFuncData ( void  )
inline

Definition at line 117 of file Buttons.H.

◆ ToggleFuncData() [2/4]

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

Definition at line 118 of file Buttons.H.

◆ ToggleFuncData() [3/4]

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

Definition at line 119 of file Buttons.H.

◆ ToggleFuncData() [4/4]

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

Definition at line 120 of file Buttons.H.


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