|
void | attach (CFWidget &child, CFUInt left_attach, CFUInt right_attach, CFUInt top_attach, CFUInt bottom_attach) |
|
void | attachToWidget (CFWidget &attach_widget) |
|
| CFMenu (const Glib::RefPtr< Gio::MenuModel > &model) |
|
void | detach () |
|
Glib::ustring | getAccelPath () |
|
CFMenuItem * | getActive () |
|
CFWidget * | getAttachWidget () |
|
int | getMonitor () |
|
bool | getReserveToggleSize () |
|
bool | getTearoffState () |
|
Glib::ustring | getTitle () |
|
void | popdown () |
|
void | popup (CFMenuShell &parent_menu_shell, CFMenuItem &parent_menu_item, const SlotPositionCalc &slot, CFUInt button, CFUInt32 activate_time, const Glib::RefPtr< Gdk::Device > &device=Glib::RefPtr< Gdk::Device >()) |
|
void | popup (const SlotPositionCalc &position_calc_slot, CFUInt button, CFUInt32 activate_time, const Glib::RefPtr< Gdk::Device > &device=Glib::RefPtr< Gdk::Device >()) |
|
void | popup (CFUInt button, CFUInt32 activate_time, const Glib::RefPtr< Gdk::Device > &device=Glib::RefPtr< Gdk::Device >()) |
|
void | popupAtPointer (const GdkEvent *trigger_event) |
|
void | popupAtWidget (CFWidget *widget, Gdk::Gravity widget_anchor, Gdk::Gravity menu_anchor, const GdkEvent *trigger_event) |
|
void | reorderChild (CFMenuItem &child, int position) |
|
void | reposition () |
|
void | setAccelPath (const Glib::ustring &accel_path) |
|
void | setActive (CFUInt index) |
|
void | setMonitor (int monitor_num) |
|
void | setReserveToggleSize (bool reserve_toggle_size=true) |
|
void | setScreen (const Glib::RefPtr< Gdk::Screen > &screen) |
|
void | setTearoffState (bool torn_off=true) |
|
void | setTitle (const Glib::ustring &title) |
|
void | unsetTitle () |
|
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) |
|
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 () |
|
void * | getObj () |
| 获取支持库类实例所绑定的对象实例。 更多...
|
|
virtual | ~CFObject () |
| 析构函数。 更多...
|
|