|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Note. The selection and holding groups may be left
Invalid, however if they are invalid when Create()
is called then the appropriate functionality will
not be created in the interface.
Parent Classes:
Methods:
- GUIGroupTreeC()
-
Default constructor.
Creates an invalid handle.
- GUIGroupTreeC(BooleanT isRoot)
-
Constructor.
- GUIGroupTreeC(StdView::GroupC & grp,BooleanT isRoot = true)
-
Constructor.
- GUIGroupTreeC(StdView::GroupC & grp,StdView::GroupC & selectG,StdView::GroupC & holdG,BooleanT isRoot = true)
-
Constructor.
- GUIGroupTreeC(GUIGroupTreeBodyC & bod)
-
Body constructor.
- GUIGroupTreeBodyC & Body()
-
Access body.
- const GUIGroupTreeBodyC & Body() const
-
Access body.
- void GUIAddChild(StdView::ObjectC & obj)
-
Add child object.
GUI thread only.
- void GUIDelChild(StdView::ObjectC & obj)
-
Remove child object.
GUI thread only.
- void AddSelection(StdView::ObjectC & obj)
-
Add object to selection
Internal.
- void DelSelection(StdView::ObjectC & obj)
-
Remove object from selection
Internal.
- void TreeExpand()
-
Handle tree expand signal.
- void TreeCollapse()
-
Handle tree collapse signal.
- void SetSelection(StdView::GroupC & grp)
-
Set group to display.
- void SetHold(StdView::GroupC & grp)
-
Set group to display.
- void SetGroup(StdView::GroupC & grp)
-
Set group to display.
- void AddChild(StdView::ObjectC & obj)
-
Add child object.
Thread safe.
- void DelChild(StdView::ObjectC & obj)
-
Remove child object.
Thread safe.
- void PickDrop(StdView::ObjectC & obj)
-
Drop the objects picked into 'obj'
- void PickCopy(StdView::ObjectC & obj)
-
Pickup a copy of the handle.
- void PickMove(StdView::ObjectC & obj)
-
Pickup and move the handle.
- void SetStatusBar(const GUIStatusBarC & sb,BooleanT setupCtxt = true)
-
Setup status bar for user messages.
- GUITreeBodyC & Body()
-
Access.
- const GUITreeBodyC & Body() const
-
Access.
- Signal0C & TreeSignal(const char * nm)
-
Get handle for named signal in Tree.
- void GUIAddChild(GUITreeItemC & child)
-
Add child to tree.
GUI thread only.
- void GUIDelChild(GUITreeItemC & child)
-
Add child to tree.
GUI thread only.
- void AddChild(const GUITreeItemC & child)
-
Add child to tree.
Thread safe, after .Show() is called!
- void DelChild(const GUITreeItemC & child)
-
Add child to tree.
Thread safe.
- GUITreeItemC AddChild(const GUIWidgetC & child)
-
Add child widget to tree.
Thread safe, after .Show() is called!
- BooleanT IsExpanded() const
-
Is node exanded.
NB. Always true of root.
- BooleanT IsVisible() const
-
Is node visible ?
True if all nodes up to root are expanded.
- GUIWidgetBodyC & Body()
-
Access body.
- const GUIWidgetBodyC & Body() const
-
Access body.
- void Destroy()
-
See body class for details.
- GtkWidget * Widget()
-
Access widget.
- StringC WidgetName() const
-
Get widget's name.
Call only from GUI thread.
- StringC Name() const
-
Get name of widget.
Defaults to WidgetName(), but may be differnt
for Lables etc.
- int WidgetID() const
-
Get widget id.
- BooleanT Service()
-
Service request.
- BooleanT Create()
-
Create the widget.
- void GUIShow()
-
Show widget on the display.
Call only from GUI thread.
- void GUIHide()
-
Hide widget on the display.
Call only from GUI thread.
- void Show()
-
Show widget on the display.
Thread safe.
- void Hide()
-
Hide widget on the display.
Thread safe.
- PixelC Position() const
-
Widget position.
- PixelC Size() const
-
Size of wiget in pixels
- void GUISetUSize(IntT x,IntT y)
-
Set size of widget.
GUI thread only.
- void SetState(GtkStateType state)
-
Set state
- IndexRectangleC Rectangle() const
-
Widget position and extent within its parent window.
- DListC<GUIWidgetC> operator+(const GUIWidgetC & widge) const
-
Add into list.
- Signal0C & Signal(const char * nm)
-
Get handle for named signal.
Signal is created and connected when this
function is first called. There after the same
signal is returned.
If the signal is unrecognised an invalid handle
is returned.
The exact signal type depends on the signal requested,
if not otherwise specified it is a Signal1C.
- void SetToolTip(const char * text,const char * ctxt = 0)
-
Set the tool tip for the widget.
NB. Not all widgets can display tooltips.
- void AddEventMask(IntT event)
-
Add to the event mask.
- void DelEventMask(IntT event)
-
Remove from the event mask.
- void ShapeCombineMask(GdkBitmap & mask,int off_x = 0,int off_y = 0)
-
Make a shape mask for the widget.
GUI thread only.
- const DPEntityC & operator=(const DPEntityC & dat)
-
Assignment.
- DPEntityBodyC & Body()
-
Access body.
- const DPEntityBodyC & Body() const
-
Access body.
- BooleanT Save(ostream & out) const
-
- RCAbstractC Abstract()
-
Create an abstract handle to this object.
- BooleanT IsHandleType(const DT &) const
-
Is handle of given type ?
- void CheckHandleType(const DT & dummy) const
-
Check handle type. Throw an expception if not.
- BooleanT Save(ostream & out) const
-
Save to ostream.
- RCHandleAC<DPEntityBodyC> Copy() const
-
Creat a deep copy of this object.
protected:
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<DPEntityBodyC> & operator=(const RCHandleC<DPEntityBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<DPEntityBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<DPEntityBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- DPEntityBodyC & Body()
-
Direct access to body.
- const DPEntityBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|