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

#include <Dialog.H>

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

Public Member Functions

 Dialog ()
 
virtual ~Dialog ()
 
void run (void)
 
void title (char *text)
 
void title (string &text)
 
- Public Member Functions inherited from Container
void setBorder (unsigned int size)
 
unsigned int getBorder (void)
 
Containeroperator<< (Container &c)
 
Containeroperator<< (Container *c)
 
Containeroperator<< (Widget &w)
 
Containeroperator<< (Widget *w)
 
virtual Containeroperator<< (GtkWidget *w)
 
Containeroperator<< (LinkList< GtkWidget *> &ll)
 
Containeroperator>> (GtkWidget *w)
 
Containeroperator>> (Container *c)
 
Containeroperator>> (Container &c)
 
Containeroperator>> (LinkList< GtkWidget *> &ll)
 
void setChildrensSensitivity (bool sens)
 
bool areAnyChildrensSensitive (void)
 
unsigned int size ()
 
- Public Member Functions inherited from Widget
 Widget ()
 Construcotr. More...
 
 Widget (GtkWidget *w)
 
virtual ~Widget ()
 Destructor. More...
 
GtkWidget * ref (void)
 
void unref (void)
 
GtkWidget * show (void)
 
GtkWidget * hide (void)
 
bool getVisible (void)
 
GtkWidget * getWidget (void)
 
bool getSensitive (void)
 
void setSensitive (bool sens)
 
void getSize (int &width, int &height)
 
virtual void setSize (int width, int height)
 
void getLocationSize (int &x, int &y, int &width, int &height)
 
void queueDraw ()
 
GdkWindow * getWindow ()
 
void connect (const char *event, GCallback callback, gpointer data)
 
void connectAfter (const char *event, GCallback callback, gpointer data)
 
void connectExposeEventCallback (GCallback callback, void *data)
 
void connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data)
 
void connectConfigureEventCallback (GCallback callback, void *data)
 
void connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data)
 
Widgetoperator<< (DragNDrop &dnd)
 
Widgetoperator>> (DragNDrop &dnd)
 

Additional Inherited Members

- Protected Member Functions inherited from Container
virtual void pack (GtkWidget *obj)
 
- Protected Member Functions inherited from Widget
virtual bool checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData)
 
virtual bool dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length)
 
virtual void dragLeave (GtkWidget *w, GtkWidget *sourceWidget)
 
virtual bool dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y)
 
virtual int chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd)
 
virtual void dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info)
 
virtual void dragDataDelete (GtkWidget *w)
 
virtual void dragBegin (GtkWidget *w)
 
virtual void dragEnd (GtkWidget *w)
 
- Protected Attributes inherited from Widget
GtkWidget * widget
 The container based widget. More...
 

Detailed Description

Definition at line 25 of file Dialog.H.

Constructor & Destructor Documentation

◆ Dialog()

Dialog::Dialog ( )
inline

A dialog which defaults to 'other' type with no buttons

Parameters
parentThe parent window to show (default=NULL)
flagswhich control the behaviour GTK_DIALOG_MODAL, GTK_DIALOG_DESTROY_WITH_PARENT (default), GTK_DIALOG_NO_SEPARATOR
whichTypethe type of dialog which controls the icon (default=GTK_MESSAGE_OTHER)
buttonsTypeThe buttons which are shown (default=GTK_BUTTONS_NONE)
textThe text to show (default=NULL)

Definition at line 34 of file Dialog.H.

◆ ~Dialog()

virtual Dialog::~Dialog ( )
inlinevirtual

Destructor

Definition at line 40 of file Dialog.H.

Member Function Documentation

◆ run()

void Dialog::run ( void  )
inline

run the dialog

Definition at line 45 of file Dialog.H.

◆ title() [1/2]

void Dialog::title ( char *  text)
inline

Set the title

Parameters
textthe title to show

Definition at line 52 of file Dialog.H.

◆ title() [2/2]

void Dialog::title ( string &  text)
inline

Set the title

Parameters
textthe title to show

Definition at line 60 of file Dialog.H.


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