Re: [gtk-list] Signal when a widget is shown on the screen.
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Signal when a widget is shown on the screen.
- Date: Mon, 13 Sep 1999 18:58:55 -0400 (EDT)
On Mon, 13 Sep 1999, Alex Buoy wrote:
>
> I'd like to connect a callback to a widget when it is shown on the screen.
> "show" signal does not do what I want as a widget can be shown be not visible
> on the screen.
> Is there any signal for that? And for the contrary, when it is hidden ( I
> tried to use "hide" but it did not do what I wanted either.).
>
You don't know the widget is actually on-screen until you get your first
expose_event signal. However the "map" signal means GTK has requested that
it be shown on screen.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]