gtk_dialog_run and right way to show dialog



Hello.

For show dialog I use gtk_dialog_run. Is it right?

I have to say, that in my dialog I have two buttons:
close and help.

So when I show dialog using gtk_dialog_run and user
push help button gtk_dialog_run return. Logicaly it is not right,
because of I want after push help button stay dialog as it is, and show
help.

Is any way to tell gtk_dialog_run return control to me, only if
user push close button or click on close button in window
system menu?




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