Re: Finding which window hierarchy I'm in
- From: muppet <scott asofyet org>
- To: Dan Lyke <danlyke flutterby com>
- Cc: "Gtk-Perl-List" <gtk-perl-list gnome org>
- Subject: Re: Finding which window hierarchy I'm in
- Date: Sun, 21 Sep 2003 01:48:18 -0400
On Saturday, September 20, 2003, at 08:17 PM, Dan Lyke wrote:
What's the better solution?
for very subjective values of "better"....
what i usually do is use a structure (or indeed an object) for each
high-level object like a window; i store a pointer to each interesting
widget in that toplevel object, and pass that object as user data to
all the signals for those interesting widgets. with this scheme you
always get the right thing and there's no problems like what you're
having.
i have no idea how to do that with glade. perhaps
$gladexml->signal_connect_data ?
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]