Wednesday, April 13, 2011

gnocl::toolBar embedded widgets -done!

Has some issues here. Krause's Gtk+ Development wasn't right. He suggested embedding as a replacement for a custom label widget -wrong! The right solution is to add new tool item which is, in fact, a container. Then a child widget can be added nice and easily. e.g.

set ent [gnocl::entry]
$toolBar add widget $ent

This means that the core functionality has now been added to the module. All that remains is widget the widget variable stuff and then the tidying up! Following that, I can go back to the toolpalette module to work on the remaining drag-n-drop code.

No comments: