Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
dw::core::ui::TextResource Class Referenceabstract

#include <ui.hh>

Public Member Functions

Iteratoriterator (Content::Type mask, bool atEnd)
 
virtual const char * getText ()=0
 
virtual void setText (const char *text)=0
 
virtual bool isEditable ()=0
 
virtual void setEditable (bool editable)=0
 
- Public Member Functions inherited from dw::core::ui::Resource
 Resource ()
 
virtual ~Resource ()
 
virtual void sizeRequest (Requisition *requisition)=0
 
virtual void getExtremes (Extremes *extremes)
 
virtual void sizeAllocate (Allocation *allocation)
 
virtual int getAvailWidthOfChild (Widget *child, bool forceValue)
 
virtual int getAvailHeightOfChild (Widget *child, bool forceValue)
 
virtual void correctRequisitionOfChild (Widget *child, Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
 
virtual void correctExtremesOfChild (Widget *child, Extremes *extremes, bool useAdjustmentWidth)
 
virtual void containerSizeChangedForChildren ()
 
virtual void setDisplayed (bool displayed)
 
virtual void draw (View *view, Rectangle *area, DrawingContext *context)
 
virtual void setStyle (style::Style *style)
 
virtual bool isEnabled ()=0
 
virtual void setEnabled (bool enabled)=0
 
void connectActivate (ActivateReceiver *receiver)
 
void connectClicked (ClickedReceiver *receiver)
 

Additional Inherited Members

- Protected Member Functions inherited from dw::core::ui::Resource
void queueResize (bool extremesChanged)
 
virtual EmbedgetEmbed ()
 
virtual void setEmbed (Embed *embed)
 
void emitActivate ()
 
void emitClicked (EventButton *event)
 

Detailed Description

Definition at line 516 of file ui.hh.

Member Function Documentation

◆ getText()

virtual const char * dw::core::ui::TextResource::getText ( )
pure virtual

◆ isEditable()

virtual bool dw::core::ui::TextResource::isEditable ( )
pure virtual

◆ iterator()

Iterator * dw::core::ui::TextResource::iterator ( Content::Type  mask,
bool  atEnd 
)
virtual
Bug:
Not implemented.

Implements dw::core::ui::Resource.

Definition at line 497 of file ui.cc.

References dw::core::ui::Resource::getEmbed().

◆ setEditable()

virtual void dw::core::ui::TextResource::setEditable ( bool  editable)
pure virtual

◆ setText()

virtual void dw::core::ui::TextResource::setText ( const char *  text)
pure virtual

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