[Kde-games-devel] KToolBar ?

cantabile cantabile.03 at wanadoo.fr
Thu Aug 21 03:22:39 CEST 2003


Hi, 
I looked at the examples I found over the net, but I don't really
understand how I can create a KToolBar.
When I write (from my main widget inherited from KMainWindow):

KToolBar* bar = new KToolBar(this);
bar->insertButton( ... );
//I tried adding addDockWindow(bar); with no effect
bar->show();

nothing appears. Is there something else to do ?

Thanks.



More information about the kde-games-devel mailing list