some docs on items.
authorCarsten Haitzler <raster@rasterman.com>
Tue, 27 Apr 2010 08:12:59 +0000 (08:12 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Tue, 27 Apr 2010 08:12:59 +0000 (08:12 +0000)
SVN revision: 48357

src/lib/elm_entry.c

index 96ec569581fb93ee608191e8086f9079de6e6ffc..eaa0f792c0739698b19501b8b8d134b45d306823 100644 (file)
  * input.  Entry widgets are capable of expanding past the
  * boundaries of the window, thus resizing the window to its
  * own length.
- *
+ * 
+ * You can also insert "items" in the entry with:
+ * 
+ * <item size=16x16 vsize=full href=emoticon/haha></item>
+ * 
+ * for example. sizing can be set bu size=WxH, relsize=WxH or absize=WxH with
+ * vsize=ascent or vsize=full. the href=NAME sets the item name. Entry
+ * supports a list of emoticon names by default. These are:
+ * 
+ * emoticon/angry
+ * emoticon/angry-shout
+ * emoticon/crazy-laugh
+ * emoticon/evil-laugh
+ * emoticon/evil
+ * emoticon/goggle-smile
+ * emoticon/grumpy
+ * emoticon/grumpy-smile
+ * emoticon/guilty
+ * emoticon/guilty-smile
+ * emoticon/haha
+ * emoticon/half-smile
+ * emoticon/happy-panting
+ * emoticon/happy
+ * emoticon/indifferent
+ * emoticon/kiss
+ * emoticon/knowing-grin
+ * emoticon/laugh
+ * emoticon/little-bit-sorry
+ * emoticon/love-lots
+ * emoticon/love
+ * emoticon/minimal-smile
+ * emoticon/not-happy
+ * emoticon/not-impressed
+ * emoticon/omg
+ * emoticon/opensmile
+ * emoticon/smile
+ * emoticon/sorry
+ * emoticon/squint-laugh
+ * emoticon/surprised
+ * emoticon/suspicious
+ * emoticon/tongue-dangling
+ * emoticon/tongue-poke
+ * emoticon/uh
+ * emoticon/unhappy
+ * emoticon/very-sorry
+ * emoticon/what
+ * emoticon/wink
+ * emoticon/worried
+ * emoticon/wtf
+ *
+ * These are built-in currently, but you can add your own item provieer that
+ * can create inlined objects in the text and fill the space allocated to the
+ * item with a custom object of your own.
+ * 
+ * See the entry test for some more examples of use of this.
+ * 
  * Signals that you can add callbacks for are:
  * "changed" - The text within the entry was changed
  * "activated" - The entry has received focus and the cursor