Deriving from Gtk::Button


I am trying to create a cutom Button class by keeping Gtk::Button as the base class. Though I am overriding the protected virtual functions (of Gtk::Button) for getting notified when there is activity like enter, click, press, release and leave, none of the functions are getting called.

I looked into Button.h and found declarations of all the base implementation of the mentioned methods under
which was not defined (or atleast thats what the appearance of the lines in eclipse tells me).
Am I doing it the right way by overriding thsese functions or is there a better one?

Please help


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