[glade--]Re: [gtkmm] Problems with using glade generated code
- From: Christof Petig <christof petig-baender de>
- To: Ken Miller <jackatthekilns hotmail com>
- Cc: glade-list <glademm-list gnome org>
- Subject: [glade--]Re: [gtkmm] Problems with using glade generated code
- Date: Mon, 29 Sep 2003 10:27:15 +0200
Ken Miller schrieb:
If the widgets had been marked as accessible (=non private) the pointers
would be class members ;-) -> glade: visibility!
I'm sorry but that really didn't make much sense to me. Glade does not make
widgets class members of anything, so how would I access them in a callback
function?
If the widget had been marked protected or public there would have been
a member variable in window1_glade (or similar).
Try the following (attachment) and regenerate the code. There should now
really be a member variable.
Christof
PS: Private widgets usually only need a local variable inside the ctor
(which makes the classes smaller and more readable)
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]