Re: Minimizing
- From: Havoc Pennington <hp redhat com>
- To: "Shane Miller" <SMiller1 stvgb org>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Minimizing
- Date: 13 Nov 2001 12:54:48 -0500
"Shane Miller" <SMiller1 stvgb org> writes:
What signal fires to tell you a window minimized or maximized?
In GTK 1.2, there is none for maximize, for minimize visibility_event
is your best bet probably though it will also happen for other reasons
the window is totally offscreen (e.g. switching workspaces).
What you want is GDK_VISIBILITY_FULLY_OBSCURED in event->state.
In GTK 2.0, there's a state_changed signal on GtkWidget that does
minimize and maximize. (Doesn't necessarily work with all window
managers though.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]