About gtk_object_set_data()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello  everyone

        I have a check button
       and the check button may have an associated data,which is an
source id returned by g_timeout_add()  function
        I do this,because,the check button may be need a function
periodically  changing its attributes

       to manage the   source id returned by g_timeout_add()
       i use gtk_object_set_data() function to set the id to the
object's data filed

        during the check button's life time, i may remove the data
using g_source_remove,and may create the data again  using
g_timeout_add()

        What I am not clear is that: when the check button is
destroying ,how gtk  manage the  data i set to the object?
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux