mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-entry.[ch]: Various fixes to ClutterEntry: fix code style issues; add documentation for the various properties; add ClutterEntry:entry-padding property, for controlling the text padding (until we have style properties separated from the object properties); notify property changes; free resources in the ::finalize method; rename clutter_entry_add() to clutter_entry_insert_unichar(), and clutter_entry_remove() to clutter_entry_delete_chars() - for bindings and for matching the insert_text() and delete_text() existing methods; add a getter method for the max-length property.
This commit is contained in:
parent
11775a16f0
commit
da8bad5e03
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
|||||||
|
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-entry.[ch]: Various fixes to ClutterEntry:
|
||||||
|
fix code style issues; add documentation for the various
|
||||||
|
properties; add ClutterEntry:entry-padding property, for controlling
|
||||||
|
the text padding (until we have style properties separated from
|
||||||
|
the object properties); notify property changes; free resources
|
||||||
|
in the ::finalize method; rename clutter_entry_add() to
|
||||||
|
clutter_entry_insert_unichar(), and clutter_entry_remove() to
|
||||||
|
clutter_entry_delete_chars() - for bindings and for matching the
|
||||||
|
insert_text() and delete_text() existing methods; add a getter
|
||||||
|
method for the max-length property.
|
||||||
|
|
||||||
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-actor.[ch]: Use the right get_type() function
|
* clutter/clutter-actor.[ch]: Use the right get_type() function
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -63,26 +63,26 @@ typedef struct _ClutterEntryPrivate ClutterEntryPrivate;
|
|||||||
|
|
||||||
struct _ClutterEntry
|
struct _ClutterEntry
|
||||||
{
|
{
|
||||||
ClutterActor parent;
|
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
ClutterActor parent_instance;
|
||||||
|
|
||||||
ClutterEntryPrivate *priv;
|
ClutterEntryPrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _ClutterEntryClass
|
struct _ClutterEntryClass
|
||||||
{
|
{
|
||||||
/*< private >*/
|
|
||||||
ClutterActorClass parent_class;
|
ClutterActorClass parent_class;
|
||||||
|
|
||||||
/* vfuncs, not signals */
|
/* vfuncs, not signals */
|
||||||
void (* paint_cursor) (ClutterEntry *entry);
|
void (* paint_cursor) (ClutterEntry *entry);
|
||||||
|
|
||||||
/* signals */
|
/* signals */
|
||||||
void (* text_changed) (ClutterEntry *entry);
|
void (* text_changed) (ClutterEntry *entry);
|
||||||
void (* cursor_event) (ClutterEntry *entry,
|
void (* cursor_event) (ClutterEntry *entry,
|
||||||
ClutterGeometry *geometry);
|
ClutterGeometry *geometry);
|
||||||
void (* activate) (ClutterEntry *entry);
|
void (* activate) (ClutterEntry *entry);
|
||||||
|
|
||||||
|
/*< private >*/
|
||||||
/* padding for future */
|
/* padding for future */
|
||||||
void (*_clutter_entry_1) (void);
|
void (*_clutter_entry_1) (void);
|
||||||
void (*_clutter_entry_2) (void);
|
void (*_clutter_entry_2) (void);
|
||||||
@ -93,11 +93,9 @@ struct _ClutterEntryClass
|
|||||||
GType clutter_entry_get_type (void) G_GNUC_CONST;
|
GType clutter_entry_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
ClutterActor * clutter_entry_new (void);
|
ClutterActor * clutter_entry_new (void);
|
||||||
|
ClutterActor * clutter_entry_new_full (const gchar *font_name,
|
||||||
ClutterActor* clutter_entry_new_full (const gchar *font_name,
|
const gchar *text,
|
||||||
const gchar *text,
|
const ClutterColor *color);
|
||||||
ClutterColor *color);
|
|
||||||
|
|
||||||
ClutterActor * clutter_entry_new_with_text (const gchar *font_name,
|
ClutterActor * clutter_entry_new_with_text (const gchar *font_name,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
void clutter_entry_set_text (ClutterEntry *entry,
|
void clutter_entry_set_text (ClutterEntry *entry,
|
||||||
@ -119,9 +117,9 @@ void clutter_entry_set_position (ClutterEntry *entr
|
|||||||
gint clutter_entry_get_position (ClutterEntry *entry);
|
gint clutter_entry_get_position (ClutterEntry *entry);
|
||||||
void clutter_entry_handle_key_event (ClutterEntry *entry,
|
void clutter_entry_handle_key_event (ClutterEntry *entry,
|
||||||
ClutterKeyEvent *kev);
|
ClutterKeyEvent *kev);
|
||||||
void clutter_entry_add (ClutterEntry *entry,
|
void clutter_entry_insert_unichar (ClutterEntry *entry,
|
||||||
gunichar wc);
|
gunichar wc);
|
||||||
void clutter_entry_remove (ClutterEntry *entry,
|
void clutter_entry_delete_chars (ClutterEntry *entry,
|
||||||
guint len);
|
guint len);
|
||||||
void clutter_entry_insert_text (ClutterEntry *entry,
|
void clutter_entry_insert_text (ClutterEntry *entry,
|
||||||
const gchar *text,
|
const gchar *text,
|
||||||
@ -141,7 +139,7 @@ void clutter_entry_set_invisible_char (ClutterEntry *entr
|
|||||||
gunichar clutter_entry_get_invisible_char (ClutterEntry *entry);
|
gunichar clutter_entry_get_invisible_char (ClutterEntry *entry);
|
||||||
void clutter_entry_set_max_length (ClutterEntry *entry,
|
void clutter_entry_set_max_length (ClutterEntry *entry,
|
||||||
gint max);
|
gint max);
|
||||||
|
gint clutter_entry_get_max_length (ClutterEntry *entry);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user