comparison mde/content/IContent.d @ 167:620d4ea30228

Context menus: added a clipboard (functions accessible from main menu rather than context menu).
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 27 Jun 2009 11:57:26 +0200
parents 24d77c52243f
children e45226d3deae
comparison
equal deleted inserted replaced
166:55667d048c31 167:620d4ea30228
45 * 45 *
46 * If cont's type is compatible, the method should set its instance's 46 * If cont's type is compatible, the method should set its instance's
47 * value to that of cont and return true, otherwise it should return false. 47 * value to that of cont and return true, otherwise it should return false.
48 */ 48 */
49 bool set (IContent); 49 bool set (IContent);
50
51 /** Similarly, try to set the value directly from a string.
52 * Doesn't do anything for content not storing a value. */
53 void opAssign (char[]);
50 } 54 }
51 55
56 /** Interface for content which should be interacted with as a button.
57 *
58 * Actually not used to provide extra methods, but to tell widget-choosing
59 * functions a button is desired. */
60 interface IEventContent : IContent {
61 }