Comment 6 for bug 149805

Revision history for this message
Mats (matsben) wrote :

Just checked in a ton of fixes and code additions for the slot mechanism.
Some are just dummies without any function or very incomplete.
There are four main ways to add status etc. stuff:

    # Experimental...
    set ::config(ui,main,slots) 1
    set ::config(ui,main,combi-status) 0
    set ::config(ui,main,toy-status) 0
    set ::config(ui,main,combibox) 1
see JUI.tcl
What I want you to see is the generic "slot mechanism" where it is
possible to just add a slot in the main window with all control
kept in the caller. I mean, there is a search slot which handles everything
inside the Search package. It just registers with the slot handler.
You can control each slots display in two ways:
1) collapse clicking the arrow, or
2) close clicking the close button
Close/Open is also handled via the Info/Slots submenus
so you can recreate a closed slot.
This way the user control a lot.
In cvs I also activated the combibox at the top which is pretty slick.
Next step is to try to combine the slot mechanism with the other.
Not sure how. Some info is overlapping but this can be hard to avoid.
See attachment here.
Try also RMB on collapse arrow, see tooltip.
One obvious candidate for a slot is the iaxclient phone.
It should be possible to squeeze it to fit a small space.