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

#include <MessageDialog.H>

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

Public Member Functions

 MessageInfo (GtkWidget *win, char *text)
 
 MessageInfo (char *text)
 
 MessageInfo (GtkWidget *win, string text)
 
 MessageInfo (string text)
 
 MessageInfo (GtkWidget *win, Pango &pango)
 
 MessageInfo (Pango &pango)
 
- Public Member Functions inherited from MessageDialog
 MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, const char *text)
 
 MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, string &text)
 
 MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, Pango &pango)
 
virtual ~MessageDialog ()
 
MessageDialogoperator<< (char *str)
 
MessageDialogoperator<< (string str)
 
MessageDialogoperator<< (Pango &pango)
 
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

MessageDialog for displaying info from text or Pango

MessageInfo.jpg
Examples:
MessageDialogTest.C.

Definition at line 130 of file MessageDialog.H.

Constructor & Destructor Documentation

◆ MessageInfo() [1/6]

MessageInfo::MessageInfo ( GtkWidget *  win,
char *  text 
)
inline

Show text with a parent window

Parameters
winThe parent window
textThe text to show

Definition at line 136 of file MessageDialog.H.

◆ MessageInfo() [2/6]

MessageInfo::MessageInfo ( char *  text)
inline

Show text without associating a parent window

Parameters
textThe text to show

Definition at line 141 of file MessageDialog.H.

◆ MessageInfo() [3/6]

MessageInfo::MessageInfo ( GtkWidget *  win,
string  text 
)
inline

Show text with a parent window

Parameters
winThe parent window
textThe text to show

Definition at line 148 of file MessageDialog.H.

◆ MessageInfo() [4/6]

MessageInfo::MessageInfo ( string  text)
inline

Show text without associating a parent window

Parameters
textThe text to show

Definition at line 153 of file MessageDialog.H.

◆ MessageInfo() [5/6]

MessageInfo::MessageInfo ( GtkWidget *  win,
Pango pango 
)
inline

Show Pango marked up text with a parent window

Parameters
winThe parent window
pangoThe marked up text to show

Definition at line 160 of file MessageDialog.H.

◆ MessageInfo() [6/6]

MessageInfo::MessageInfo ( Pango pango)
inline

Show Pango marked without associating a parent window

Parameters
pangoThe marked up text to show

Definition at line 166 of file MessageDialog.H.


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