Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

Pt::Widget_Class Class Reference

Superclass for all widgets. More...

#include <Widget_Class.h>

Inheritance diagram for Pt::Widget_Class:

PropC::Object Pt::Basic_Class Pt::Container_Class Pt::Graphic_Class Pt::Label_Class Pt::Disjoint Pt::List_Class Pt::Polygon_Class Pt::Button_Class Pt::Label Pt::Text_Class Pt::Window Pt::List

Public Member Functions

 Widget_Class (PtWidget_t *ptr)
PropC::PropertyProxy_ReadOnly<
PtWidget_t * > 
property_cobj () const
 underlying C- widget pointer

PropC::PropertyProxy< bool > property_set ()
 The widget is in a "set" state.

PropC::PropertyProxy< PhPoint_t * > property_pos ()
 Stores the x and y coordinates for the widget.

PropC::PropertyProxy< bool > property_realized ()
 The widget is realized.

PropC::PropertyProxy_ReadOnly<
bool > 
property_destroyed ()
 The widget has been marked for destruction.

Sig::SignalProxy< SigC::Slot0<
void > > 
signal_ptr_motion_no_button ()
 Emitted when the user moves the pointing device without pressing a button.

Sig::SignalProxy< SigC::Slot0<
void > > 
signal_destroyed ()
 Invoked then the widget is marked for destruction and is no longer visible.

virtual void realize ()
 Make a widget and it's children visible.

virtual void damage ()
 Mark a widget as damaged so it will be redrawn.

virtual ~Widget_Class ()

Protected Member Functions

 Widget_Class ()

Protected Attributes

PtWidget_t * obj

Detailed Description

Superclass for all widgets.


Constructor & Destructor Documentation

Pt::Widget_Class::Widget_Class  )  [inline, protected]
 

Pt::Widget_Class::Widget_Class PtWidget_t *  ptr  )  [inline]
 

virtual Pt::Widget_Class::~Widget_Class  )  [inline, virtual]
 


Member Function Documentation

virtual void Pt::Widget_Class::damage  )  [inline, virtual]
 

Mark a widget as damaged so it will be redrawn.

PropC::PropertyProxy_ReadOnly<PtWidget_t*> Pt::Widget_Class::property_cobj  )  const [inline]
 

underlying C- widget pointer

PropC::PropertyProxy_ReadOnly<bool> Pt::Widget_Class::property_destroyed  ) 
 

The widget has been marked for destruction.

Returns:
true, if the widget has been marked for destruction

PropC::PropertyProxy<PhPoint_t*> Pt::Widget_Class::property_pos  ) 
 

Stores the x and y coordinates for the widget.

You can edit this in PhAB's toolbar; it is not recommended to manipulate it directly

PropC::PropertyProxy<bool> Pt::Widget_Class::property_realized  ) 
 

The widget is realized.

Set to false to prevent the widget from becoming realized unless it's explicitly realized with realize ().

PropC::PropertyProxy<bool> Pt::Widget_Class::property_set  ) 
 

The widget is in a "set" state.

Generally, this indicates that the widget has been selected.

virtual void Pt::Widget_Class::realize  )  [inline, virtual]
 

Make a widget and it's children visible.

Sig::SignalProxy<SigC::Slot0<void> > Pt::Widget_Class::signal_destroyed  ) 
 

Invoked then the widget is marked for destruction and is no longer visible.

You can use this signal e.g to adjust appearance of the widgets around the one being destroyed.

Note:
Widget's C++- instance would not be self-deleted.

Sig::SignalProxy<SigC::Slot0<void> > Pt::Widget_Class::signal_ptr_motion_no_button  ) 
 

Emitted when the user moves the pointing device without pressing a button.

Large numbers of Widget_Class::signal_ptr_motion_no_button () events can slow down your system. To avoid this, you should make your application sensitive signal_ptr_motion_button () whenever possible


Field Documentation

PtWidget_t* Pt::Widget_Class::obj [protected]
 


The documentation for this class was generated from the following file:

SourceForge.net Logo

Documentation for photonmm by Yakov <iakovz@gmail.com>.