4 #include <Gui/CFMisc.h> 12 CFLabel(
const Glib::ustring& label,
bool mnemonic =
false);
13 CFLabel(
const Glib::ustring& label,
16 bool mnemonic =
false);
17 CFLabel(
const Glib::ustring& label,
20 bool mnemonic =
false);
24 void setText(
const Glib::ustring& str);
25 Glib::ustring getText();
27 void setLabel(
const Glib::ustring& str);
28 Glib::ustring getLabel();
30 void setMarkup(
const Glib::ustring& str);
32 void setUseMarkup(
bool setting =
true);
34 void setEllipsize(Pango::EllipsizeMode mode);
39 void setLineWrap(
bool wrap =
true);
40 void setLineWrapMode(Pango::WrapMode wrap_mode);
41 void setLines(
int lines);
46 #endif // __CF_LABLE_H__ 在所处控件中,根据宽度居中
Definition: CFEnums.h:39
CFJustification
在CFLabel中文本的对齐方式
Definition: CFEnums.h:101
CFAlign
在水平或者垂直方向上,控制控件如何处理额外的空间
Definition: CFEnums.h:35