Deriving from Gtk::TextBuffer and Gtk::TextTag



I'd like to derive a class from Gtk::TextBuffer and/or
Gtk::TextTag. The problem is to get an instance of any
of these classes one uses the static member function
create that returns a pointer wrapped in Glib::RefPtr.
This makes me uncertain if it is possible to derive
from these classes in the first place, and if it is
possible what should be the best approach to implement
a corresponding create function for my class that
would return a pointer of the base class type (so it
might be used wherever the base is expected).

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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