1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
48
  
49
  
50
  
51
  
52
  
53
  
54
  
55
  
56
  
//! A dialog with an image representing the type of message (Error, Question). 
//! alongside some message text.  It's simply a convenience widget; you could 
//! construct the equivalent of GTK2.MessageDialog from GTK2.Dialog without too 
//! much effort, but GTK2.MessageDialog saves typing. 
//! Properties: 
//! int buttons 
//! GTK2.Widget image 
//! int message-type 
//! string secondary-text 
//!  
//! Style properties: 
//! int message-border 
//! int use-separator 
//! 
//! 
 
inherit GTK2.Dialog; 
 
protected GTK2.MessageDialog create( mapping|int flags, int|void type, int|void buttons, string|void message, GTK2.Window parent ); 
//! Creates a new message dialog, which is a simple dialog with an icon 
//! indicating the dialog type (error, warning, etc) and some text the user 
//! may want to see.  When the user clicks a button a "response" signal is 
//! emitted with response IDs from @[RESPONSE_ACCEPT], @[RESPONSE_APPLY], @[RESPONSE_CANCEL], @[RESPONSE_CLOSE], @[RESPONSE_DELETE_EVENT], @[RESPONSE_HELP], @[RESPONSE_NO], @[RESPONSE_NONE], @[RESPONSE_OK], @[RESPONSE_REJECT] and @[RESPONSE_YES].  See 
//! GTK2.Dialog for more details. 
//! 
//! 
 
GTK2.MessageDialog format_secondary_markup( string text ); 
//! Sets the secondary text of the message dialog to be text, which is 
//! marked up with the Pango text markup language. 
//!  
//! Note tha tsetting a secondary text makes the primary text become bold, 
//! unless you have provided explicit markup. 
//! 
//! 
 
GTK2.MessageDialog format_secondary_text( string text ); 
//! Sets the secondary text of the message dialog to be text. 
//!  
//! Note that setting a secondary text makes the primary text become bold, 
//! unless you have provided explicit markup. 
//! 
//! 
 
GTK2.MessageDialog set_image( GTK2.Widget image ); 
//! Sets the dialog's image to image. 
//! 
//! 
 
GTK2.MessageDialog set_markup( string text ); 
//! Sets the text of the message dialog to be text, which is marked up with 
//! the Pango text markup language. 
//! 
//!