libcdos-fw
CFOverlay类 参考
+ 类 CFOverlay 继承关系图:

Public 成员函数

void addOverlay (CFWidget &widget)
 
- Public 成员函数 继承自 CFContainer
virtual void add (CFWidget &widget)
 
virtual void addCssStyleData (const Glib::ustring &data, CFUInt priority)
 
virtual void addCssStylePath (const Glib::ustring &path, CFUInt priority)
 
void forall (ForeachSlot slot)
 
void foreach (ForeachSlot slot)
 
bool isContainer ()
 判断控件是否为容器。 更多...
 
virtual void remove (CFWidget &widget)
 
- Public 成员函数 继承自 CFWidget
void addEvents (Gdk::EventMask events)
 将 events 位字段添加到控件的事件监听掩码中。 更多...
 
int getAllocatedHeight ()
 返回当前给控件分配的高度。 更多...
 
int getAllocatedWidth ()
 返回当前给控件分配的宽度。 更多...
 
bool getCanFocus ()
 获取控件是否可以拥有输入焦点。 更多...
 
CFAlign getHalign ()
 获取横向对齐方式。 更多...
 
bool getHasTooltip ()
 获取是否使用提示信息。 更多...
 
int getMarginBottom ()
 获取控件的下边距 更多...
 
int getMarginLeft ()
 获取控件的左边距 更多...
 
int getMarginRight ()
 获取控件的右边距 更多...
 
int getMarginTop ()
 获取控件的上边距 更多...
 
bool getSensitive ()
 获取控件可用状态 更多...
 
Glib::ustring getTooltipMarkup ()
 获取当前控件提示信息的内容。 更多...
 
Glib::ustring getTooltipText ()
 获取当前控件提示信息的内容。 更多...
 
CFAlign getValign ()
 获取纵向对齐方式。 更多...
 
bool getVisible ()
 判断本控件是否为可见状态。 更多...
 
void grabFocus ()
 控件获取键盘输入焦点。 更多...
 
bool hasFocus ()
 判断控件是否拥有全局输入焦点。 更多...
 
void hide ()
 隐藏控件 更多...
 
bool isFocus ()
 判断控件是否当前拥有焦点的控件。 更多...
 
bool isSensitive ()
 获取控件及其所在容器控件的可用状态 更多...
 
bool isVisible ()
 判断本控件以及控件所在容器(直到顶层容器)是否为可见状态。 更多...
 
void queueDraw ()
 请求重新描画控件 更多...
 
void queueDrawArea (int x, int y, int width, int height)
 请求重新描画的指定区域 更多...
 
void reparent (CFWidget &new_parent)
 将控件从当前的容器中移动到 newParent 指定的容器中。 更多...
 
void setCanFocus (bool can_focus=true)
 指定控件是否可以获取输入焦点。 更多...
 
void setEvents (Gdk::EventMask events)
 设置控件的事件监听掩码。 更多...
 
void setHalign (CFAlign align)
 设置控件横向对齐方式。 更多...
 
void setHasTooltip (bool has_tooltip=true)
 设置是否使用提示信息。 更多...
 
void setMarginBottom (int margin)
 设置控件的下边距 更多...
 
void setMarginLeft (int margin)
 设置控件的左边距 更多...
 
void setMarginRight (int margin)
 设置控件的右边距 更多...
 
void setMarginTop (int margin)
 设置控件的上边距 更多...
 
void setName (const Glib::ustring &name)
 设置控件的名称,以便于使用CSS文件来控制样式。 更多...
 
void setSensitive (bool sensitive=true)
 设置控件是否可用。 更多...
 
void setSizeRequest (int width=-1, int height=-1)
 设置控件的最小尺寸。 更多...
 
void setTooltipMarkup (const Glib::ustring &markup)
 设置提示信息的内容。 更多...
 
void setTooltipText (const Glib::ustring &text)
 设置提示信息的内容。 更多...
 
void setValign (CFAlign align)
 设置控件纵向对齐方式。 更多...
 
void setVisible (bool visible=true)
 设置控件的可见状态。 更多...
 
void show ()
 显示控件。 更多...
 
void showAll ()
 显示控件以及控件所容纳的所有控件(包括所容纳容器控件的所有子控件) 更多...
 
virtual ~CFWidget ()
 析构函数 更多...
 
virtual void addCssStyleName (const Glib::ustring &name)
 
virtual void addCssStyleFromPath (const Glib::ustring &css_file_path, const Glib::ustring &name, CFUInt priority)
 通过自定义css样式文件路径设置样式 更多...
 
virtual void listCssStyle ()
 查看样式列表 更多...
 
virtual std::vector< Glib::ustring > getCssStyleVector ()
 获取控件样式列表 更多...
 
virtual void removeCssStyle (const Glib::ustring &name)
 通过样式名移除样式 更多...
 
Glib::RefPtr< Gdk::Window > getWindow ()
 
sigc::signal< bool, const ::Cairo::RefPtr< ::Cairo::Context > &> signalDraw ()
 
sigc::signal< bool, GdkEvent *> signalEvent ()
 
sigc::signal< bool, GdkEventButton *> signalButtonPressEvent ()
 
sigc::signal< bool, GdkEventButton *> signalButtonReleaseEvent ()
 
sigc::signal< bool, GdkEventAny *> signalDeleteEvent ()
 
sigc::signal< bool, GdkEventKey *> signalKeyPressEvent ()
 
sigc::signal< bool, GdkEventKey *> signalKeyReleaseEvent ()
 
sigc::signal< void > signalShow ()
 
- Public 成员函数 继承自 CFObject
void * getObj ()
 获取支持库类实例所绑定的对象实例。 更多...
 
virtual ~CFObject ()
 析构函数。 更多...
 

额外继承的成员函数

- Public 类型 继承自 CFContainer
typedef sigc::slot< void, CFWidget * > ForeachSlot
 
- 静态 Public 成员函数 继承自 CFObject
static CFObjectgetCFObject (void *realObj)
 通过对象实例获取所对应的 CFObject的子类对象实例。 更多...
 
- Protected 成员函数 继承自 CFBin
 CFBin ()
 构造函数. 更多...
 
- Protected 成员函数 继承自 CFContainer
void onApplyCssData (CFWidget *widget)
 
void onApplyCssPath (CFWidget *widget)
 
- Protected 成员函数 继承自 CFWidget
virtual void onRealObjectInit ()
 对象绑定后进行初始化的回调函数。 更多...
 
virtual void onRealObjectFinalize ()
 对象解除绑定前的回调函数。 更多...
 
virtual bool onDraw (const ::Cairo::RefPtr< ::Cairo::Context > &cr)
 
virtual bool onEvent (GdkEvent *event)
 
virtual bool onButtonPressEvent (GdkEventButton *event)
 
virtual bool onButtonReleaseEvent (GdkEventButton *event)
 
virtual bool onDeleteEvent (GdkEventAny *event)
 
virtual bool onKeyPressEvent (GdkEventKey *event)
 
virtual bool onKeyReleaseEvent (GdkEventKey *event)
 
virtual void onShow ()
 
 CFWidget ()
 
- Protected 成员函数 继承自 CFObject
 CFObject ()
 构造函数 更多...
 
void setRealObject (void *obj)
 将自身实例与需要使用的对象实例进行绑定。 更多...
 

该类的文档由以下文件生成: