Re: Glib::object_freeze_notify()



On Mon, 2009-03-16 at 14:17 +0530, Mohith Manoj wrote:
> I am using gtkmm v2.12 in which the configure function is not
> implemented for Gtk::Adjustment class. Now I am required to do the
> same by calling the 
> set_value()
> set_lower()
> set_upper() and
> set_step_increment()
> by myself. To avoid multiple signal emissions, it is recommended to
> use Glib::object_freeze_notify() and Glib::object_thaw_notify() around
> the above mentioned function calls. I am unable to locate the
> Glib::object_freeze_notify() and Glib::object_thaw_notify() functions!

Yes, I think that is new advice (generated from the C documentation) and
these methods do not yet exist in glibmm. I have filed a bug about it so
we can add them glibmm 2.21/22:
http://bugzilla.gnome.org/show_bug.cgi?id=575533

In the meantime, you can use gobj() together with the C functions.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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