[Libufo-commits] ufo-0.5/include/ufo/widgets ulabel.hpp,1.11,1.12
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-09-15 10:12:14
|
Update of /cvsroot/libufo/ufo-0.5/include/ufo/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21489/include/ufo/widgets Modified Files: ulabel.hpp Log Message: Added label constructor with buddy argument. Index: ulabel.hpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/widgets/ulabel.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ulabel.hpp 5 Jul 2005 11:22:29 -0000 1.11 --- ulabel.hpp 15 Sep 2005 10:12:05 -0000 1.12 *************** *** 50,55 **** --- 50,69 ---- ULabel(UIcon * icon); ULabel(const std::string & text, UIcon * icon = NULL); + /** Creates a label with given text and sets @p buddy as buddy widget. + * @see setBuddy + */ + ULabel(const std::string & text, UWidget * buddy); + /** Creates a label with given text and icon and + * sets @p buddy as buddy widget. + * @see setBuddy + */ + ULabel(const std::string & text, UIcon * icon, UWidget * buddy); + /** Sets the buddy or control widget. If the shortcut mnemonic of this + * label is pressed, the buddy is focused and if it is a button control, + * it will be activated. + */ void setBuddy(UWidget * buddy); + /** @see setBuddy */ UWidget * getBuddy() const; |