Oguz Akyuz wrote:
> Hi,
>
> That was a good suggestion. However, to make it working I had to cut my class
> (it was a widget class), insert the declaration and paste my class
> afterwards. Otherwise the declaration stays inside the class body, which is
> not the right.
>
> What would actually be very useful for this sort of thing is if fluid had
> some controls to move objects inside or outside the widget hierarchy.
> Something like F2/F3 but will not stop at container boundaries.
Normally when you go to create the code entry, you have
highlighted the place in the tree where you want it to
be inserted.
If you created the code entry inside the class, but want it
outside, you'd can highlight it, use ^X to copy/delete it,
then highlight where you want it, then use ^V to paste in
the new position.
I think the problem with F2/F3 moving it outside the class
is that then the rule would have to be that F2/F3 would have
to move things into the deepest level of the hierarchies
instead of staying at their own level. So to move something
from above to below a class, you'd have to move it all the
way through the class first.
But maybe fluid could be changed to allow a modifier key
like CTRL-F2/CTRL-F3 to allow that as an alternate to the
current behavior.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk