forked from AuroraMiddleware/gtk
d42bbb6466
2006-12-28 Carlos Garnacho <carlosg@gnome.org> Make GtkNotebook able to drop detached tabs anywhere. Bug #360225. * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal. * gtk/gtkmarshalers.list: add new marshaler definition. * gtk/gtkenums.h: add GtkDragResult enum. * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND operation wasn't successful. (_gtk_drag_source_handle_event) (gtk_drag_drop) (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb) (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb) (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell gtk_drag_drop_finished() the operation result. * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function. (gtk_notebook_drag_data_get): do not call window creation hook here. (gtk_notebook_init): do not set "application/x-rootwindow-drop" target, instead connect to "drag-failed". (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
112 lines
2.8 KiB
Plaintext
112 lines
2.8 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:BOXED
|
|
BOOLEAN:BOXED,BOXED
|
|
BOOLEAN:ENUM
|
|
BOOLEAN:ENUM,DOUBLE
|
|
BOOLEAN:ENUM,INT
|
|
BOOLEAN:OBJECT
|
|
BOOLEAN:OBJECT,UINT,FLAGS
|
|
BOOLEAN:OBJECT,INT,INT,UINT
|
|
BOOLEAN:OBJECT,STRING,STRING,BOXED
|
|
BOOLEAN:OBJECT,BOXED
|
|
BOOLEAN:OBJECT,BOXED,BOXED
|
|
BOOLEAN:OBJECT,OBJECT,OBJECT
|
|
BOOLEAN:OBJECT,STRING,STRING
|
|
BOOLEAN:OBJECT,ENUM
|
|
BOOLEAN:INT
|
|
BOOLEAN:INT,INT
|
|
BOOLEAN:INT,INT,INT
|
|
BOOLEAN:UINT
|
|
BOOLEAN:VOID
|
|
BOOLEAN:BOOLEAN
|
|
BOOLEAN:NONE
|
|
BOOLEAN:BOOLEAN,BOOLEAN,BOOLEAN
|
|
BOOLEAN:STRING
|
|
ENUM:ENUM
|
|
ENUM:VOID
|
|
INT:POINTER
|
|
NONE:BOOLEAN
|
|
NONE:ENUM
|
|
NONE:INT
|
|
NONE:INT,BOOL
|
|
NONE:INT,INT
|
|
NONE:NONE
|
|
NONE:STRING,INT,POINTER
|
|
OBJECT:VOID
|
|
STRING:DOUBLE
|
|
VOID:DOUBLE
|
|
VOID:BOOLEAN
|
|
VOID:BOOLEAN,BOOLEAN,BOOLEAN
|
|
VOID:BOXED
|
|
VOID:BOXED,BOXED
|
|
VOID:BOXED,BOXED,POINTER
|
|
VOID:BOXED,OBJECT
|
|
VOID:BOXED,STRING,INT
|
|
VOID:BOXED,UINT
|
|
VOID:BOXED,UINT,FLAGS
|
|
VOID:BOXED,UINT,UINT
|
|
VOID:ENUM
|
|
VOID:ENUM,BOOLEAN
|
|
VOID:ENUM,ENUM
|
|
VOID:ENUM,FLOAT
|
|
VOID:ENUM,FLOAT,BOOLEAN
|
|
VOID:ENUM,INT
|
|
VOID:ENUM,INT,BOOLEAN
|
|
VOID:INT
|
|
VOID:INT,INT
|
|
VOID:INT,INT,BOXED
|
|
VOID:INT,INT,INT
|
|
VOID:OBJECT
|
|
VOID:OBJECT,BOOLEAN
|
|
VOID:OBJECT,BOXED,BOXED
|
|
VOID:OBJECT,BOXED,UINT,UINT
|
|
VOID:OBJECT,INT
|
|
VOID:OBJECT,INT,OBJECT
|
|
VOID:OBJECT,INT,INT
|
|
VOID:OBJECT,INT,INT,BOXED,UINT,UINT
|
|
VOID:OBJECT,OBJECT
|
|
VOID:OBJECT,STRING
|
|
VOID:OBJECT,STRING,STRING
|
|
VOID:OBJECT,UINT
|
|
VOID:OBJECT,UINT,FLAGS
|
|
VOID:OBJECT,STRING
|
|
VOID:POINTER
|
|
VOID:POINTER,INT
|
|
VOID:POINTER,BOOLEAN
|
|
VOID:POINTER,POINTER,BOOLEAN
|
|
VOID:POINTER,POINTER,POINTER
|
|
VOID:POINTER,UINT
|
|
VOID:STRING
|
|
VOID:STRING,STRING
|
|
VOID:STRING,INT,POINTER
|
|
VOID:STRING,UINT,FLAGS
|
|
VOID:STRING,UINT,FLAGS,UINT
|
|
VOID:UINT,FLAGS,BOXED
|
|
VOID:UINT,UINT
|
|
VOID:UINT,STRING
|
|
VOID:UINT,BOXED,UINT,FLAGS,FLAGS
|
|
VOID:UINT,OBJECT,UINT,FLAGS,FLAGS
|
|
VOID:VOID
|