DUECA/DUSIME
Loading...
Searching...
No Matches
GtkGladeWindow.hxx File Reference

Gtk GUI facilities. More...

Include dependency graph for GtkGladeWindow.hxx:

Classes

struct  dueca::GladeCallbackTable
 Structure that assembles a widget name, a callback function and the widget signal that should trigger the callback function. More...
class  dueca::GtkGladeWindow
 A GUI window directly from a glade interface file. More...
struct  dueca::GtkGladeWindow::OptionMapping
 Struct for mapping enum name to representation string. More...
struct  dueca::GtkGladeWindow::OptionMappings
 Struct for describing mappings. More...

Functions

template<class T, typename RET, typename P1>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, gpointer), gpointer obj=NULL)
 creation of a caller, 1 parameter and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, gpointer), gpointer obj=NULL)
 creation of a caller, 2 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, gpointer), gpointer obj=NULL)
 creation of a caller, 3 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3, typename P4>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, P4, gpointer), gpointer obj=NULL)
 creation of a caller, 4 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3, typename P4, typename P5>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, P4, P5, gpointer), gpointer obj=NULL)
 creation of a caller, 5 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, P4, P5, P6, gpointer), gpointer obj=NULL)
 creation of a caller, 6 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, P4, P5, P6, P7, gpointer), gpointer obj=NULL)
 creation of a caller, 7 parameters and the gpointer parameter.
template<class T, typename RET, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8>
GtkCaller * dueca::gtk_callback (RET(T::*call)(P1, P2, P3, P4, P5, P6, P7, P8, gpointer), gpointer obj=NULL)
 creation of a caller, 8 parameters and the gpointer parameter.
GtkCaller * dueca::gtk_caller_new (const GtkCaller &caller, gpointer client, gpointer user_data=NULL)
 Implement a callback with a caller;.

Detailed Description

Gtk GUI facilities.

Function Documentation

◆ gtk_caller_new()

GtkCaller * dueca::gtk_caller_new ( const GtkCaller & caller,
gpointer client,
gpointer user_data = NULL )
inline

Implement a callback with a caller;.

use caller->callback() to get a callback function, and insert the caller pointer into user_data