How to set gtk_message_dialog size?



Hello,

I want to set the size of a gtk_message_dialog. 

I tried

dialog = gtk_message_dialog_new (NULL,0,GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, message2, NULL);
gtk_window_set_default_size(GTK_WINDOW(dialog),900,300);

But this sets only the Window size and not the displayed text. 

how can I access the text-size?

Ralf Müller

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]