gtkMessageDialogNewWithMarkup     package:RGtk2     R Documentation

_g_t_k_M_e_s_s_a_g_e_D_i_a_l_o_g_N_e_w_W_i_t_h_M_a_r_k_u_p

_D_e_s_c_r_i_p_t_i_o_n:

     Creates a new message dialog, which is a simple dialog with an
     icon indicating the dialog type (error, warning, etc.) and some
     text which is marked up with the Pango text markup language. When
     the user clicks a button a "response" signal is emitted with
     response IDs from 'GtkResponseType'. See 'GtkDialog' for more
     details.

_U_s_a_g_e:

     gtkMessageDialogNewWithMarkup(parent, flags, type, buttons, ..., show = TRUE)

_A_r_g_u_m_e_n_t_s:

'parent': ['GtkWindow']  transient parent, or 'NULL' for none 

 'flags': ['GtkDialogFlags']  flags

  'type': ['GtkMessageType']  type of message

'buttons': ['GtkButtonsType']  set of buttons to use

   '...': arguments for 'message.format'

_D_e_t_a_i_l_s:

     Special XML characters in the 'printf()' arguments passed to this
     function will automatically be escaped as necessary. (See
     'gMarkupPrintfEscaped()' for how this is implemented.) Usually
     this is what you want, but if you have an existing Pango markup
     string that you want to use literally as the label, then you need
     to use 'gtkMessageDialogSetMarkup' instead, since you can't pass
     the markup string either as the format (it might contain '%'
     characters) or as a string argument.


     dialog <- gtkMessageDialog(main_application_window, 
     "destroy-with-parent",
                                "error", "close")
     dialog$setMarkup(message)


     Since  2.4

_V_a_l_u_e:

     ['GtkWidget']  a new 'GtkMessageDialog'

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

