forked from AuroraMiddleware/gtk
ca83d0a3dc
2000-11-03 Havoc Pennington <hp@redhat.com> Get widgets working on the btree/buffer side. Display of them still doesn't work. * gtk/gtktextview.c: start implementing child widget stuff * gtk/gtktextiter.c (gtk_text_iter_get_child_anchor): new function * gtk/gtktextlayout.c: handle embedded widgets * gtk/gtktextdisplay.c: handle embedded widgets * gtk/gtktextchild.c: Implement all the child anchor goo * gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor): New function * gtk/gtktextbtree.c: Add child anchor table to the btree struct (insert_pixbuf_or_widget_segment): abstract out common portions of creating a child anchor or a pixbuf segment. (gtk_text_btree_create_child_anchor): new function (gtk_text_btree_unregister_child_anchor): new function * gtk/gtkmarshal.list: added VOID:OBJECT,INT,INT for the allocate_child signal on GtkTextLayout * gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): fix bogus return values (gtk_text_iter_get_child_anchor): new function * gtk/gtktextbuffer.c (gtk_text_buffer_real_changed): Add a default handler for the changed signal, which calls gtk_text_buffer_set_modified(), instead of just always emitting changed then calling set_modified() manually. I guess this is maybe more flexible. It seems logical.
128 lines
3.2 KiB
Plaintext
128 lines
3.2 KiB
Plaintext
# see glib-genmarshal(1) for a detailed description of the file format,
|
|
# possible parameter types are:
|
|
# VOID indicates no return type, or no extra
|
|
# parameters. if VOID is used as the parameter
|
|
# list, no additional parameters may be present.
|
|
# BOOLEAN for boolean types (gboolean)
|
|
# CHAR for signed char types (gchar)
|
|
# UCHAR for unsigned char types (guchar)
|
|
# INT for signed integer types (gint)
|
|
# UINT for unsigned integer types (guint)
|
|
# LONG for signed long integer types (glong)
|
|
# ULONG for unsigned long integer types (gulong)
|
|
# ENUM for enumeration types (gint)
|
|
# FLAGS for flag enumeration types (guint)
|
|
# FLOAT for single-precision float types (gfloat)
|
|
# DOUBLE for double-precision float types (gdouble)
|
|
# STRING for string types (gchar*)
|
|
# BOXED for boxed (anonymous but reference counted) types (GBoxed*)
|
|
# POINTER for anonymous pointer types (gpointer)
|
|
# OBJECT for GObject or derived types (GObject*)
|
|
# NONE deprecated alias for VOID
|
|
# BOOL deprecated alias for BOOLEAN
|
|
|
|
BOOLEAN:POINTER
|
|
BOOLEAN:POINTER,POINTER
|
|
BOOLEAN:POINTER,INT,INT
|
|
BOOLEAN:POINTER,INT,INT,UINT
|
|
BOOLEAN:POINTER,POINTER,INT
|
|
BOOLEAN:POINTER,POINTER,INT,INT
|
|
BOOLEAN:POINTER,STRING,STRING,POINTER
|
|
BOOLEAN:VOID
|
|
ENUM:ENUM
|
|
INT:INT
|
|
INT:OBJECT,BOXED,BOXED
|
|
INT:POINTER
|
|
INT:POINTER,CHAR,CHAR
|
|
INT:VOID
|
|
POINTER:POINTER
|
|
POINTER:POINTER,INT
|
|
POINTER:VOID
|
|
VOID:BOOLEAN
|
|
VOID:BOXED
|
|
VOID:BOXED,OBJECT
|
|
VOID:BOXED,BOXED,BOOLEAN
|
|
VOID:BOXED,BOXED,INT,BOOLEAN
|
|
VOID:BOXED,UINT,FLAGS
|
|
VOID:ENUM
|
|
VOID:ENUM,FLOAT
|
|
VOID:ENUM,FLOAT,BOOLEAN
|
|
VOID:ENUM,INT,BOOLEAN
|
|
VOID:INT
|
|
VOID:INT,INT
|
|
VOID:INT,INT,INT
|
|
VOID:INT,INT,INT,INT
|
|
VOID:INT,INT,POINTER
|
|
VOID:OBJECT
|
|
VOID:OBJECT,BOXED,BOXED
|
|
VOID:OBJECT,BOOLEAN
|
|
VOID:OBJECT,INT,INT
|
|
VOID:ENUM,INT
|
|
VOID:POINTER
|
|
VOID:POINTER,BOOLEAN
|
|
VOID:POINTER,INT
|
|
VOID:POINTER,INT,INT,POINTER,UINT,UINT
|
|
VOID:POINTER,INT,POINTER
|
|
VOID:POINTER,POINTER
|
|
VOID:POINTER,POINTER,BOOLEAN
|
|
VOID:POINTER,POINTER,INT
|
|
VOID:POINTER,POINTER,INT,BOOLEAN
|
|
VOID:POINTER,POINTER,INT,INT
|
|
VOID:POINTER,POINTER,POINTER
|
|
VOID:POINTER,POINTER,UINT,UINT
|
|
VOID:POINTER,STRING,STRING
|
|
VOID:POINTER,UINT
|
|
VOID:POINTER,UINT,ENUM
|
|
VOID:POINTER,UINT,UINT
|
|
VOID:STRING
|
|
VOID:STRING,INT,POINTER
|
|
VOID:STRING,POINTER
|
|
VOID:UINT
|
|
VOID:UINT,BOXED,UINT,FLAGS,FLAGS
|
|
VOID:UINT,POINTER,UINT,ENUM,ENUM,POINTER
|
|
VOID:UINT,POINTER,UINT,UINT,ENUM
|
|
VOID:UINT,STRING
|
|
VOID:VOID
|
|
|
|
# deprecated, compatibility aliases:
|
|
BOOL:NONE
|
|
BOOL:POINTER
|
|
BOOL:POINTER,INT,INT
|
|
BOOL:POINTER,INT,INT,UINT
|
|
BOOL:POINTER,POINTER,INT,INT
|
|
BOOL:POINTER,STRING,STRING,POINTER
|
|
INT:NONE
|
|
POINTER:NONE
|
|
NONE:BOOL
|
|
NONE:BOXED
|
|
NONE:ENUM
|
|
NONE:ENUM,FLOAT
|
|
NONE:ENUM,FLOAT,BOOL
|
|
NONE:INT
|
|
NONE:INT,INT
|
|
NONE:INT,INT,INT
|
|
NONE:INT,INT,POINTER
|
|
NONE:NONE
|
|
NONE:OBJECT
|
|
NONE:POINTER
|
|
NONE:POINTER,INT
|
|
NONE:POINTER,INT,INT,POINTER,UINT,UINT
|
|
NONE:POINTER,INT,POINTER
|
|
NONE:POINTER,POINTER
|
|
NONE:POINTER,POINTER,INT
|
|
NONE:POINTER,POINTER,INT,INT
|
|
NONE:POINTER,POINTER,POINTER
|
|
NONE:POINTER,POINTER,UINT,UINT
|
|
NONE:POINTER,STRING,STRING
|
|
NONE:POINTER,UINT
|
|
NONE:POINTER,UINT,ENUM
|
|
NONE:POINTER,UINT,UINT
|
|
NONE:STRING
|
|
NONE:STRING,INT,POINTER
|
|
NONE:STRING,POINTER
|
|
NONE:UINT
|
|
NONE:UINT,POINTER,UINT,ENUM,ENUM,POINTER
|
|
NONE:UINT,POINTER,UINT,UINT,ENUM
|
|
NONE:UINT,STRING
|
|
VOID:ENUM,FLOAT,BOOL
|