GTK+ IOStream  Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
Buttons.H File Reference
#include <iomanip>
#include <gtk/gtk.h>
#include <mffm/LinkList.H>
Include dependency graph for Buttons.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  labelFuncData
 class to pass using operator<< for creating a label button More...
 
class  pixmapFuncData
 class to pass using operator<< for creating a regular pixmap on a button More...
 
class  pixmapFuncDataTransparent
 class to pass for creating a transparent XPM overlay on a button More...
 
class  toggleFuncData
 class to pass using operator<< for creating a toggle button with a label More...
 
class  arrowFuncData
 class to pass using operator<< for creating an arrow button More...
 
class  radioFuncData
 class to pass using operator<< for creating a radio button with a label More...
 
class  Buttons
 Class to setup buttons whic are either text, image or toggle types. Buttons are defined in terms of their callbacks functions and data as well as their type (image, text or toggle) You stream in any new buttons you want to create, for example : More...
 

Macros

#define BUTTONLABELSTRUCT(s, f, d)   (labelFuncData){s,f,d}
 
#define GDKPIXMAPCREATE(win, ref)   gdk_pixmap_colormap_create_from_xpm_d(win->window,gtk_widget_get_colormap(win),NULL,NULL,ref)
 Used to create a PIXMAP for the button. More...
 
#define GTKPIXMAPCREATE(pixGdk)   (GtkPixmap*)gtk_image_new_from_pixmap(pixGdk, NULL)
 Used to create a PIXMAP for the button. More...
 
#define BUTTONPIXMAPSTRUCT(p, f, d)   (pixmapFuncData){p,f,d}
 
#define BUTTONPIXMAPSTRUCTTRANSPARENT(i, f, d)   (pixmapFuncDataTransparent){i,f,d}
 
#define BUTTONTOGGLESTRUCT(s, f, d)   (toggleFuncData){s,f,d}
 
#define BUTTONARROWSTRUCT(f, d, a, sh)   (arrowFuncData){f,d, a, sh}
 
#define BUTTONRADIOSTRUCT(s, f, d)   (radioFuncData){s,f,d}
 

Macro Definition Documentation

#define BUTTONARROWSTRUCT (   f,
  d,
  a,
  sh 
)    (arrowFuncData){f,d, a, sh}

Definition at line 110 of file Buttons.H.

#define BUTTONLABELSTRUCT (   s,
  f,
 
)    (labelFuncData){s,f,d}

Definition at line 40 of file Buttons.H.

#define BUTTONPIXMAPSTRUCT (   p,
  f,
 
)    (pixmapFuncData){p,f,d}

Definition at line 60 of file Buttons.H.

#define BUTTONPIXMAPSTRUCTTRANSPARENT (   i,
  f,
 
)    (pixmapFuncDataTransparent){i,f,d}

Definition at line 76 of file Buttons.H.

#define BUTTONRADIOSTRUCT (   s,
  f,
 
)    (radioFuncData){s,f,d}

Definition at line 126 of file Buttons.H.

#define BUTTONTOGGLESTRUCT (   s,
  f,
 
)    (toggleFuncData){s,f,d}

Definition at line 92 of file Buttons.H.

#define GDKPIXMAPCREATE (   win,
  ref 
)    gdk_pixmap_colormap_create_from_xpm_d(win->window,gtk_widget_get_colormap(win),NULL,NULL,ref)

Used to create a PIXMAP for the button.

Definition at line 46 of file Buttons.H.

#define GTKPIXMAPCREATE (   pixGdk)    (GtkPixmap*)gtk_image_new_from_pixmap(pixGdk, NULL)

Used to create a PIXMAP for the button.

Definition at line 48 of file Buttons.H.