32 #include "YProperty.h" 33 #include "YUISymbols.h" 34 #include "YUIException.h" 35 #include "YChildrenManager.h" 72 virtual const char *
widgetClass()
const {
return "YWidget"; }
152 virtual bool setProperty(
const std::string & propertyName,
353 virtual void setSize(
int newWidth,
int newHeight ) = 0;
421 virtual void setEnabled(
bool enabled =
true );
441 virtual bool stretchable( YUIDimension dim )
const;
465 virtual int weight( YUIDimension dim );
476 void setWeight( YUIDimension dim,
int weight );
628 void *
operator new(
size_t size );
641 virtual void doneMultipleChanges() {}
709 static bool _usedOperatorNew;
712 #include "YWidget_OptimizeChanges.h" 717 std::ostream & operator<<( std::ostream & stream,
const YWidget * widget );
Abstract base class for macro recorders.
Author: Stefan Hundhammer sh@suse.de
ChildrenList::iterator begin()
Return an iterator that points to the first child.
T * lastChild()
Returns the last child or 0 if there is none.
int count() const
Returns the number of children.
Transport class for the value of simple properties.
A set of properties to check names and types against.
Abstract base template class for children management, such as child widgets.
bool contains(T *child) const
Check if the children list contains the specified child.
bool hasChildren() const
Check if there are any children.
Children manager that can handle one single child (rejecting any more).
Children manager that rejects all children.
A window in the desktop environment.
ChildrenList::iterator end()
Return an iterator that points after the last child.
T * firstChild()
Returns the first child or 0 if there is none.