Re: Changing cursors
- From: Havoc Pennington <hp redhat com>
- To: Marco Quezada <mquezada nlxcorp com>
- Cc: kirk waters noaa gov, gtk <gtk-app-devel-list gnome org>
- Subject: Re: Changing cursors
- Date: 13 Jun 2001 11:33:16 -0400
Marco Quezada <mquezada nlxcorp com> writes:
Got it, thanks for pointing out my mistake. Is there a way to find out
when a pointer, like the cursor in this case, can be
destroyed/unreferenced after it has been used without having to wait for
the program to core dump?
Ideally, the docs contain this information. ;-)
But when they don't, you have to go digging same as for any other
undocumented stuff.
(As a general rule, the idiom you had of "handing off" ownership is
never used except for GtkObject because GtkObject has the "floating"
state. So there is no case in GDK where you can create a resource
without owning it or a reference to it AFAIK. You can only do that
with widgets and GtkAdjustment.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]