mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user