Okay. I am trying to create somekind of framework ( just for educating at the moment ).
I want to crete my on button like
Code:
class mybutton : public GtkButton
Problem is that I can't do following thing
Code:
GtkWidget* button;
button=new mybutton();
but with normal gtk button this works.
I could get around this problem without extending button but I don't like that idea. gtktogglebutton is extended from gtkbutton but as much as I get from header file I don't know how extending should be done with c++.