Re: GtkEditable::activate bug or feature?
- From: Havoc Pennington <hp redhat com>
- To: gtk-devel-list redhat com
- Cc: gtk-list <gtk-list redhat com>
- Subject: Re: GtkEditable::activate bug or feature?
- Date: 27 Jun 2000 09:33:14 -0400
Hi,
It's not a bug, in general objects should never change their behavior
based on whether there are signal handlers or not (and indeed the
signal system provides no way of finding out that information AFAIK).
All you have to do is connect activate to gtk_window_activate_default,
like this:
gtk_signal_connect_object(GTK_OBJECT(editable), "activate",
GTK_SIGNAL_FUNC(gtk_window_activate_default),
GTK_OBJECT(dialog));
90% of the time you have a single entry in a dialog, that's the right
thing to do.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]