> Date: Sat, 31 Oct 2009 19:12:20 +0100
> From: [email protected]
> To: [email protected]
> Subject: Gtk::Tooltip problem
>
> Hi
> I have problem with Gtk::Tooltip. I can't use it, because I don't
> entirely understand this page:
> http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Tooltip.html
>
>
> I know, that I first must type: myCanvasWidget.set_has_tooltip();
> When I type:
> myCanvasWidget.signal_query_tooltip().connect(sigc::mem_fun(*this,
> &myClass::myFunction)); I have a lot of error like this:
> /usr/include/sigc++-2.0/sigc++/functors/slot.h: In static member
> function 'static T_return sigc::internal::slot_call4<T_functor,
> T_return, T_arg1, T_arg2, T_arg3,
> T_arg4>::call_it(sigc::internal::slot_rep*, typename
> sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take,
> typename sigc::type_trait<T_arg5>::take, typename
> sigc::type_trait<T_arg6>::take) [with T_functor =
> sigc::bound_mem_functor0<void, Interfejs>, T_return = bool, T_arg1 =
> int, T_arg2 = int, T_arg3 = bool, T_arg4 = const
> Glib::RefPtr<Gtk::Tooltip>&]': ... ... ... ... ... ... ... .
Whats is the prototype of your "myFunction"?
It should be like this--> bool myFunction(int x, int y, bool keyboard_tooltip,
const Glib::RefPtr<Tooltip>& tooltip)
_________________________________________________________________
Νέα Windows 7: Βρείτε τον κατάλληλο υπολογιστή για εσάς. Μάθετε περισσότερα.
http://windows.microsoft.com/shop_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list