2007-06-01 Neil J. Patel <njp@o-hand.com>

* clutter/clutter-entry.c: (clutter_entry_set_property),
        (clutter_entry_get_property), (clutter_entry_class_init),
        (clutter_entry_init), (clutter_entry_set_text),
        (clutter_entry_set_max_length):
        * clutter/clutter-entry.h:
        * examples/test-entry.c: (main):
        Added a max-length property whihc limits the length of the text in the
        entry.
This commit is contained in:
Neil J. Patel
2007-06-01 17:18:21 +00:00
parent d5c38ef466
commit acb0772fe0
7 changed files with 113 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ main (int argc, char *argv[])
clutter_actor_set_size (entry, 600, 50);
clutter_actor_set_position (entry, 100, 100);
/*clutter_entry_set_visibility (CLUTTER_ENTRY (entry), FALSE);*/
/*clutter_entry_set_max_length (CLUTTER_ENTRY (entry), 50);*/
clutter_group_add (CLUTTER_GROUP (stage), entry);
clutter_group_show_all (CLUTTER_GROUP (stage));