Re: [Win32] Hidden window cannot be shown more than once
- From: Nicola Fontana <ntd entidi it>
- To: Michael Cronenworth <mike cchtml com>
- Cc: GTK Devel <gtk-app-devel-list gnome org>
- Subject: Re: [Win32] Hidden window cannot be shown more than once
- Date: Fri, 17 Jun 2011 20:47:50 +0200
Il giorno Fri, 17 Jun 2011 13:09:07 -0500
Michael Cronenworth <mike cchtml com> ha scritto:
Nicola Fontana on 06/17/2011 12:29 PM wrote:
AFAICT there is no such difference between platforms: the documentation
explicitely requires a gboolean [1]. I think your program was working on
Linux only because of a coincidence or something else outside of the
GTK+ scope.
This could be attributed to my bad experience with GTK examples showing
void return types in callbacks.
You have both. Basically in case of events you have to return a
gboolean [1] but for other signals the callback should usually be
void. Just check the signature of every callback in the docs to
be sure.
Ciao.
--
Nicola
[1] http://developer.gnome.org/gtk-tutorial/2.90/x182.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]