widget mapping & event windows
- From: Tristan Van Berkom <vantr touchtunes com>
- To: gtk-app-devel-list gnome org
- Subject: widget mapping & event windows
- Date: Mon, 20 Sep 2004 16:34:51 -0400
Hi all,
I'm writing a GTK_NO_WINDOW type widget that uses a input only
window, and I was looking at some examples:
- GtkButton
- GtkRange
Both hook into the `map'/`unmap' vfuncs to show/hide their
event windows.
Both assert `g_return_if_fail(GTK_IS_BUTTON(button))' (or range
respectivly) in their `->map()'/`->unmap()' functions.
Is there any sence in that ?
Is there any reason why I should do the same ?
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]