not movable gtk_message_dialog



Hi all,

I need to create the message dialog with buttons, but the problem I have is that it is very easy to move it so that it almost dissappear from the screen. I do not have a keyboard connected, I am using only touch screen. Sometimes I move it simply by accident.

Is is possible to make the windows not movable?

I know I can disable decoration with gtk_window_set_decorated((GtkWindow*)dialog, false); but then it does not look good.

Here is the way I create it:
gtk_message_dialog_new (NULL,
                                    GTK_DIALOG_MODAL,
                                    GTK_MESSAGE_QUESTION,
                                    GTK_BUTTONS_YES_NO,
                                    "This will clear both LOGs. Are you sure you want to do this?");

Can anybody help me? Is it possible at all?

Best regards,
LUK



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