Re: [gtk-list] default widgets
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk <gtk-list redhat com>
- Subject: Re: [gtk-list] default widgets
- Date: Thu, 3 Sep 1998 11:13:50 -0500 (CDT)
On Wed, 2 Sep 1998 beach@ataman.com wrote:
> What is the difference between
>
> gtk_window_set_default( GtkWindow*, GtkWidget* )
>
This sets the current default widget in the GtkWindow to the GtkWidget.
> and
>
> gtk_widget_grab_default( GtkWidget* );
>
This sets the current default widget to the GtkWidget. It is just a
convenience wrapper for gtk_window_set_default that determines the parent
window of the widget. If there's no parent window (i.e. you haven't added
the widget to a window yet) it will do nothing.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]