Re: how to make a button not close a gtk_dialog?
- From: Harring Figueiredo <harringf yahoo com>
- To: Joergen Scheibengruber <Joergen Scheibengruber informatik uni-ulm de>, gtk-app-devel-list gnome org
- Subject: Re: how to make a button not close a gtk_dialog?
- Date: Fri, 18 Oct 2002 16:08:18 -0700 (PDT)
Search for the callback the handles the button callback and remove the code
where you destroy the widget.
Hope this helps.
Harring.
--- Joergen Scheibengruber <Joergen Scheibengruber informatik uni-ulm de>
wrote:
Hi!
I am currently adding a help to my gnome application. And I came accross
a little problem: I added a help button to my dialogs, which were
created with gtk_dialog_new_with_buttons(). Everything works fine, but
when the user clicks the "help" button, the dialog gets closed. But in
case of the "help" button, I want to keep the dialog open ("cancel" and
"ok" shall of course not change behaviour).
Is there an easy way to achieve this? I can't seem to find any in the
gtk documentation...
What would you suggest?
Greetings,
Jörgen
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
=====
"We should do smart things with stupid technology before we do stupid
things with smart technology."
--Bill Buxton, Alias Research
Harring Figueiredo
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]