G_child_add

How is G_CHILD_ADD used? I’m asking because in sourcecode
“rbgtknotebook”, it is used in note_append_page but not in
note_prepend_page, note_append_page_menu, note_remove_page etc (bug?).


Guillaume C. - http://zarb.org/~gc/


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Hi,

On Sun, 9 Jul 2006 18:59:36 +0200
“Guillaume C.” [email protected] wrote:

How is G_CHILD_ADD used? I’m asking because in sourcecode
“rbgtknotebook”, it is used in note_append_page but not in
note_prepend_page, note_append_page_menu, note_remove_page etc (bug?).

It is to save the child object from GC.
Since 0.15.0, Ruby/GLib finds the child objects and properties
and do same things in it. So generally, this becomes useless.

But if an object which is not GObject/GBoxed but have children,
you may need to use this.


.:% Masao M.[email protected]


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs