gtkIOStream  1.6.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Buttons.H File Reference
#include <iomanip>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <mffm/LinkList.H>
#include <string>
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  AnyFuncData
 class to pass using connectSignalAfter for connecting a signal to a widget More...
 
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  CheckFuncData
 class to pass using operator<< for creating a check 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 ANYSTRUCT(s, f, d)   AnyFuncData(s,f,d)
 
#define BUTTONANYSTRUCT(s, f, d)   AnyFuncData(s,f,d)
 
#define BUTTONLABELSTRUCT(s, f, d)   LabelFuncData(s,f,d)
 
#define GDKPIXMAPCREATE(win, ref)   gdk_pixmap_colormap_create_from_xpm_d(gtk_widget_get_window(win),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)
 
#define BUTTONCHECKSTRUCT(s, f, d)   CheckFuncData(s,f,d)
 

Macro Definition Documentation

#define ANYSTRUCT (   s,
  f,
 
)    AnyFuncData(s,f,d)

Definition at line 61 of file Buttons.H.

#define BUTTONANYSTRUCT (   s,
  f,
 
)    AnyFuncData(s,f,d)

Definition at line 62 of file Buttons.H.

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

Definition at line 143 of file Buttons.H.

#define BUTTONCHECKSTRUCT (   s,
  f,
 
)    CheckFuncData(s,f,d)

Definition at line 165 of file Buttons.H.

#define BUTTONPIXMAPSTRUCT (   p,
  f,
 
)    PixmapFuncData(p,f,d)
Examples:
ButtonsFontTest.C, ButtonsTest.C, and WidgetTest.C.

Definition at line 94 of file Buttons.H.

#define BUTTONPIXMAPSTRUCTTRANSPARENT (   i,
  f,
 
)    PixmapFuncDataTransparent(i,f,d)
Examples:
ButtonsFontTest.C, ButtonsTest.C, and WidgetTest.C.

Definition at line 111 of file Buttons.H.

#define BUTTONRADIOSTRUCT (   s,
  f,
 
)    RadioFuncData(s,f,d)
Examples:
ButtonsTest2.C.

Definition at line 154 of file Buttons.H.

#define BUTTONTOGGLESTRUCT (   s,
  f,
 
)    ToggleFuncData(s,f,d)
Examples:
ButtonsFontTest.C, ButtonsTest.C, and WidgetTest.C.

Definition at line 122 of file Buttons.H.

#define GDKPIXMAPCREATE (   win,
  ref 
)    gdk_pixmap_colormap_create_from_xpm_d(gtk_widget_get_window(win),gtk_widget_get_colormap(win),NULL,NULL,ref)

Used to create a PIXMAP for the button.

Definition at line 76 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 78 of file Buttons.H.

gtkIOStream: /root/cronScripts/gtkiostream-code/include/Buttons.H File Reference
GTK+ IOStream  Beta
GTK+ << C++ IOStream operators for GTK+. Now with extra abilities ... like ORBing, numerical computation, audio clients and more...