forked from AuroraMiddleware/gtk
urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org> * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that, couldn't they at least give it a non-standard name? * gtk/gtktextlayout.c: arg! yet another implementation of gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy? * gtk/gtktextbuffer.c: gotcha! captured a vagabonding gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back home. now i know this _is_ a conspiracy. * gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for ::state-changed. * gtk/gtkaccelgroup.c (gtk_accel_group_create_remove): (gtk_accel_group_create_add): marshaller signature fixups. * gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups, pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM. * gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid anymore. Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org> * docs/reference/Makefile.am: disabled SUBDIRS for the moment, since due to the signal system changes, it wouldn't build currently. to be fixed soon. * docs/Changes-2.0.txt: GtkSignal/GSignal updates. * gtk/gtkwidget.c: ::direction_changed takes an enum as argument, so it needs gtk_marshal_VOID__ENUM() instead of gtk_marshal_NONE__UINT(). * gdk/gdk*.c: adapted type registration functions. * gtk/gtkbindings.c: * gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is gone. * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType. * gtk/gtkobject.c: (gtk_object_destroy): (gtk_object_shutdown): fixed recursion guards. basically we have to catch the case where any of GObject.shutdown() or gtk_object_destroy() is called during ::destroy, and avoid recursion there. * gtk/gtktypeutils.c: * gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with boxed_copy/boxed_free. this needs a more general solution based on a publically installed code-generator utility. * gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED, glib's gobject has support for that now. define GtkSignalMarshaller in terms of GSignalCMarshaller. Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org> * gtk/gtksignal.[hc]: * gtk/gtkmarshal.[hc]: * gtk/Makefile.am: generate marshallers with glib-genmarshal and don't compile gtkmarshal.c on its own anymore, just include it in gtksignal.c. removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes care of that. * *.c: marshaller name fixups. * gtk/gtkmarshal.list: added a comment briefing the format. Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org> * gtk/gtksignal.[hc]: nuked old implementation. we mostly have compatibility macros here now. more specifically, most of the API is preserved (yes, _most_, nonwithstanding the following exceptions listed, the API is stil lHUGE ;) things that got removed completely: GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(), gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(), gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(), gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(), gtk_signal_remove_emission_hook(). non-functional functions variants: gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook(). the GtkCallbackMarshal argument to gtk_signal_connect_full() is not supported anymore. (gtk_signal_compat_matched): new internal function to aid implementation of the compatibility macros, it provides functionality to block/unblock/disconnect handlers based on func/data. * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType, * *.c: adaptions to new type registration API signatures. Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
This commit is contained in:
parent
7ae3922d2c
commit
d69496c060
102
ChangeLog
102
ChangeLog
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -1,3 +1,105 @@
|
||||
Wed Oct 25 20:47:41 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
|
||||
implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
|
||||
couldn't they at least give it a non-standard name?
|
||||
|
||||
* gtk/gtktextlayout.c: arg! yet another implementation of
|
||||
gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
|
||||
|
||||
* gtk/gtktextbuffer.c: gotcha! captured a vagabonding
|
||||
gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
|
||||
home. now i know this _is_ a conspiracy.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
|
||||
::state-changed.
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
|
||||
(gtk_accel_group_create_add): marshaller signature fixups.
|
||||
|
||||
* gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
|
||||
pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
|
||||
|
||||
* gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
|
||||
anymore.
|
||||
|
||||
Tue Oct 24 23:59:21 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
|
||||
due to the signal system changes, it wouldn't build currently. to
|
||||
be fixed soon.
|
||||
|
||||
* docs/Changes-2.0.txt: GtkSignal/GSignal updates.
|
||||
|
||||
* gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
|
||||
so it needs gtk_marshal_VOID__ENUM() instead of
|
||||
gtk_marshal_NONE__UINT().
|
||||
|
||||
* gdk/gdk*.c: adapted type registration functions.
|
||||
|
||||
* gtk/gtkbindings.c:
|
||||
* gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
|
||||
gone.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
|
||||
|
||||
* gtk/gtkobject.c:
|
||||
(gtk_object_destroy):
|
||||
(gtk_object_shutdown): fixed recursion guards. basically we have to
|
||||
catch the case where any of GObject.shutdown() or gtk_object_destroy()
|
||||
is called during ::destroy, and avoid recursion there.
|
||||
|
||||
* gtk/gtktypeutils.c:
|
||||
* gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
|
||||
boxed_copy/boxed_free. this needs a more general solution based on a
|
||||
publically installed code-generator utility.
|
||||
|
||||
* gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
|
||||
glib's gobject has support for that now.
|
||||
define GtkSignalMarshaller in terms of GSignalCMarshaller.
|
||||
|
||||
Mon Oct 23 09:36:42 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]:
|
||||
* gtk/gtkmarshal.[hc]:
|
||||
* gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
|
||||
compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
|
||||
removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
|
||||
care of that.
|
||||
|
||||
* *.c: marshaller name fixups.
|
||||
|
||||
* gtk/gtkmarshal.list: added a comment briefing the format.
|
||||
|
||||
Sun Oct 22 23:14:39 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.[hc]: nuked old implementation. we mostly have
|
||||
compatibility macros here now. more specifically, most of
|
||||
the API is preserved (yes, _most_, nonwithstanding the
|
||||
following exceptions listed, the API is stil lHUGE ;)
|
||||
things that got removed completely:
|
||||
GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
|
||||
gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook().
|
||||
non-functional functions variants:
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
(gtk_signal_compat_matched): new internal function to aid
|
||||
implementation of the compatibility macros, it provides
|
||||
functionality to block/unblock/disconnect handlers based
|
||||
on func/data.
|
||||
|
||||
* gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
|
||||
|
||||
* *.c: adaptions to new type registration API signatures.
|
||||
|
||||
Fri Oct 20 15:26:33 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
|
||||
|
||||
2000-10-25 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
|
||||
|
@ -106,6 +106,26 @@ Incompatible Changes from GTK+-1.2 to GTK+-1.4:
|
||||
have to be moved into the ::destroy implementations. The reason for doing
|
||||
this is that all object reference cycles should be broken at destruction
|
||||
time.
|
||||
|
||||
* Signal system changes:
|
||||
The Gtk 2.0 signal merly proxies the GSignal system now.
|
||||
For future usage, direct use of the GSignal API is recommended,
|
||||
this avoids significant performance hits where GtkArg structures
|
||||
have to be converted into GValues. For language bindings,
|
||||
GSignal+GClosure provide a much more flexible and convenient
|
||||
mechanism to hook into signal emissions or install class default
|
||||
handlers, so the old GtkSignal API for language bindings is not
|
||||
supported anymore.
|
||||
Functions that got removed in the Gtk signal API:
|
||||
gtk_signal_n_emissions(), gtk_signal_n_emissions_by_name(),
|
||||
gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
|
||||
gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
|
||||
gtk_signal_remove_emission_hook(), gtk_signal_query().
|
||||
gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
|
||||
Also, the GtkCallbackMarshal argument to gtk_signal_connect_full() is
|
||||
not supported anymore.
|
||||
For many of the removed functions, similar variants are available
|
||||
in the g_signal_* namespace.
|
||||
|
||||
- Inserting and deleting text in GtkEntry though functions such
|
||||
as gtk_entry_insert_text() now leave the cursor at its original
|
||||
|
@ -1,3 +1,3 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
SUBDIRS = gdk-pixbuf gdk gtk
|
||||
#SUBDIRS = gdk-pixbuf gdk gtk
|
||||
|
@ -18,147 +18,3 @@ Animations as multi-frame structures.
|
||||
#GdkPixbufLoader
|
||||
</para>
|
||||
|
||||
<!-- ##### ENUM GdkPixbufFrameAction ##### -->
|
||||
<para>
|
||||
Each animation frame can have several things happen to it when the
|
||||
next frame is displayed. The #GdkPixbufFrameAction determines
|
||||
this. These are essentially the overlay modes supported by GIF
|
||||
animations.
|
||||
</para>
|
||||
|
||||
@GDK_PIXBUF_FRAME_RETAIN: The previous image should remain displayed,
|
||||
and will potentially be occluded by the new frame.
|
||||
@GDK_PIXBUF_FRAME_DISPOSE: The animation will be reverted to the state
|
||||
before the frame was shown.
|
||||
@GDK_PIXBUF_FRAME_REVERT: The animation will be reverted to the first
|
||||
frame.
|
||||
|
||||
<!-- ##### STRUCT GdkPixbufFrame ##### -->
|
||||
<para>
|
||||
This structure describes a frame in a #GdkPixbufAnimation. Each
|
||||
frame consists of a #GdkPixbuf, an offset of the frame within the
|
||||
animation's bounding box, a duration, and an overlay mode or
|
||||
action.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
|
||||
<para>
|
||||
This structure describes an animation, which is represented as a
|
||||
list of #GdkPixbufFrame structures.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@filename:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_frames ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_num_frames ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@animation:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_frame_get_pixbuf ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_frame_get_action ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_frame_get_y_offset ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_frame_get_delay_time ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_frame_get_x_offset ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@Returns: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
|
@ -43,68 +43,3 @@ Creating a pixbuf from image data that is already in memory.
|
||||
gdk_pixbuf_finalize().
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@colorspace:
|
||||
@has_alpha:
|
||||
@bits_per_sample:
|
||||
@width:
|
||||
@height:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_new_from_data ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@data:
|
||||
@colorspace:
|
||||
@has_alpha:
|
||||
@bits_per_sample:
|
||||
@width:
|
||||
@height:
|
||||
@rowstride:
|
||||
@destroy_fn:
|
||||
@destroy_fn_data:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_new_from_xpm_data ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@data:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_new_from_inline ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@inline_pixbuf:
|
||||
@copy_pixels:
|
||||
@length:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_copy ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
|
@ -25,18 +25,3 @@ Loading a pixbuf from a file.
|
||||
#GdkPixbufLoader.
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_new_from_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@filename:
|
||||
@error:
|
||||
@Returns: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -15,135 +15,3 @@ Information that describes an image.
|
||||
<para>
|
||||
</para>
|
||||
|
||||
<!-- ##### ENUM GdkPixbufError ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@GDK_PIXBUF_ERROR_CORRUPT_IMAGE:
|
||||
@GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY:
|
||||
@GDK_PIXBUF_ERROR_BAD_OPTION_VALUE:
|
||||
@GDK_PIXBUF_ERROR_UNKNOWN_TYPE:
|
||||
@GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION:
|
||||
@GDK_PIXBUF_ERROR_FAILED:
|
||||
|
||||
<!-- ##### MACRO GDK_PIXBUF_ERROR ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### ENUM GdkColorspace ##### -->
|
||||
<para>
|
||||
This enumeration defines the color spaces that are supported by
|
||||
the &gdk-pixbuf; library. Currently only RGB is supported.
|
||||
</para>
|
||||
|
||||
@GDK_COLORSPACE_RGB: Indicates a red/green/blue additive color space.
|
||||
|
||||
<!-- ##### ENUM GdkPixbufAlphaMode ##### -->
|
||||
<para>
|
||||
These values can be passed to
|
||||
gdk_pixbuf_render_to_drawable_alpha() to control how the alpha
|
||||
chanel of an image should be handled. This function can create a
|
||||
bilevel clipping mask (black and white) and use it while painting
|
||||
the image. In the future, when the X Window System gets an alpha
|
||||
channel extension, it will be possible to do full alpha
|
||||
compositing onto arbitrary drawables. For now both cases fall
|
||||
back to a bilevel clipping mask.
|
||||
</para>
|
||||
|
||||
@GDK_PIXBUF_ALPHA_BILEVEL: A bilevel clipping mask (black and white)
|
||||
will be created and used to draw the image. Pixels below 0.5 opacity
|
||||
will be considered fully transparent, and all others will be
|
||||
considered fully opaque.
|
||||
@GDK_PIXBUF_ALPHA_FULL: For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL.
|
||||
In the future it will do full alpha compositing.
|
||||
|
||||
<!-- ##### STRUCT GdkPixbuf ##### -->
|
||||
<para>
|
||||
This is the main structure in the &gdk-pixbuf; library. It is
|
||||
used to represent images. It contains information about the
|
||||
image's pixel data, its color space, bits per sample, width and
|
||||
height, and the rowstride or number of bytes between rows.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_colorspace ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_n_channels ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_has_alpha ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_bits_per_sample ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_pixels ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_width ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_height ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_rowstride ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
|
@ -14,62 +14,3 @@ Initialization and Versions
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_preinit ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@app:
|
||||
@modinfo:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_postinit ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@app:
|
||||
@modinfo:
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gdk_pixbuf_version ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO GDK_PIXBUF_VERSION ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GDK_PIXBUF_MAJOR ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GDK_PIXBUF_MINOR ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GDK_PIXBUF_MICRO ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
|
@ -14,91 +14,3 @@ Module Interface
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### USER_FUNCTION ModulePreparedNotifyFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION ModuleUpdatedNotifyFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@x:
|
||||
@y:
|
||||
@width:
|
||||
@height:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION ModuleFrameDoneNotifyFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@frame:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION ModuleAnimationDoneNotifyFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### STRUCT GdkPixbufModule ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@module_name:
|
||||
@format_check:
|
||||
@module:
|
||||
@load:
|
||||
@load_xpm_data:
|
||||
@begin_load:
|
||||
@stop_load:
|
||||
@load_increment:
|
||||
@load_animation:
|
||||
@save:
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_module ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@buffer:
|
||||
@size:
|
||||
@filename:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_get_named_module ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_load_module ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@image_module:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
@ -54,34 +54,3 @@ Functions to perform reference counting and memory management on a
|
||||
#GdkPixbuf, gdk_pixbuf_new_from_data().
|
||||
</para>
|
||||
|
||||
<!-- ##### USER_FUNCTION GdkPixbufDestroyNotify ##### -->
|
||||
<para>
|
||||
A function of this type is responsible for freeing the pixel array
|
||||
of a pixbuf. The gdk_pixbuf_new_from_data() function lets you
|
||||
pass in a pre-allocated pixel array so that a pixbuf can be
|
||||
created from it; in this case you will need to pass in a function
|
||||
of #GdkPixbufDestroyNotify so that the pixel data can be freed
|
||||
when the pixbuf is finalized.
|
||||
</para>
|
||||
|
||||
@pixels: The pixel array of the pixbuf that is being finalized.
|
||||
@data: User closure data.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_ref ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_unref ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
|
||||
|
||||
|
@ -68,127 +68,3 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
||||
GdkRGB
|
||||
</para>
|
||||
|
||||
<!-- ##### ENUM GdkInterpType ##### -->
|
||||
<para>
|
||||
This enumeration describes the different interpolation modes that
|
||||
can be used with the scaling functions.
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Cubic filtering is missing from the list; hyperbolic
|
||||
interpolation is just as fast and results in higher quality.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
|
||||
@GDK_INTERP_NEAREST: Nearest neighbor sampling; this is the fastest
|
||||
and lowest quality mode.
|
||||
@GDK_INTERP_TILES: This is an accurate simulation of the PostScript
|
||||
image operator without any interpolation enabled. Each pixel is
|
||||
rendered as a tiny parallelogram of solid color, the edges of which
|
||||
are implemented with antialiasing. It resembles nearest neighbor for
|
||||
enlargement, and bilinear for reduction.
|
||||
@GDK_INTERP_BILINEAR: Bilinear interpolation. For enlargement, it is
|
||||
equivalent to point-sampling the ideal bilinear-interpolated image.
|
||||
For reduction, it is equivalent to laying down small tiles and
|
||||
integrating over the coverage area.
|
||||
@GDK_INTERP_HYPER: This is the slowest and highest quality
|
||||
reconstruction function. It is derived from the hyperbolic filters in
|
||||
Wolberg's "Digital Image Warping", and is formally defined as the
|
||||
hyperbolic-filter sampling the ideal hyperbolic-filter interpolated
|
||||
image (the filter is designed to be idempotent for 1:1 pixel mapping).
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_scale ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest:
|
||||
@dest_x:
|
||||
@dest_y:
|
||||
@dest_width:
|
||||
@dest_height:
|
||||
@offset_x:
|
||||
@offset_y:
|
||||
@scale_x:
|
||||
@scale_y:
|
||||
@interp_type:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_composite ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest:
|
||||
@dest_x:
|
||||
@dest_y:
|
||||
@dest_width:
|
||||
@dest_height:
|
||||
@offset_x:
|
||||
@offset_y:
|
||||
@scale_x:
|
||||
@scale_y:
|
||||
@interp_type:
|
||||
@overall_alpha:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_composite_color ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest:
|
||||
@dest_x:
|
||||
@dest_y:
|
||||
@dest_width:
|
||||
@dest_height:
|
||||
@offset_x:
|
||||
@offset_y:
|
||||
@scale_x:
|
||||
@scale_y:
|
||||
@interp_type:
|
||||
@overall_alpha:
|
||||
@check_x:
|
||||
@check_y:
|
||||
@check_size:
|
||||
@color1:
|
||||
@color2:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_scale_simple ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest_width:
|
||||
@dest_height:
|
||||
@interp_type:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_composite_color_simple ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest_width:
|
||||
@dest_height:
|
||||
@interp_type:
|
||||
@overall_alpha:
|
||||
@check_size:
|
||||
@color1:
|
||||
@color2:
|
||||
@Returns: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
|
@ -17,47 +17,3 @@ Utility and miscellaneous convenience functions.
|
||||
#GdkPixbuf
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_add_alpha ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@pixbuf:
|
||||
@substitute_color:
|
||||
@r:
|
||||
@g:
|
||||
@b:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_copy_area ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src_pixbuf:
|
||||
@src_x:
|
||||
@src_y:
|
||||
@width:
|
||||
@height:
|
||||
@dest_pixbuf:
|
||||
@dest_x:
|
||||
@dest_y: <!--
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||
End:
|
||||
-->
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_pixbuf_saturate_and_pixelate ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest:
|
||||
@saturation:
|
||||
@pixelate:
|
||||
|
||||
|
||||
|
@ -1,8 +1,34 @@
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:See_Also ##### -->
|
||||
<!-- ##### FUNCTION gdk_input_set_mode ##### -->
|
||||
<para>
|
||||
|
||||
Enables or disables a device, and determines how the
|
||||
device maps onto the screen.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@mode: the new mode.
|
||||
@Returns: %TRUE if the device supports the given mode, otherwise
|
||||
%FALSE and the device's mode is unchanged.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_key ##### -->
|
||||
<para>
|
||||
Sets the key event generated when a macro button is pressed.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@index: the index of the macro button.
|
||||
@keyval: the key value for the #GdkKeypressEvent to generate.
|
||||
(a value of 0 means no event will be generated.)
|
||||
@modifiers: the modifier field for the generated
|
||||
#GdkKeyPressEvent.
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_intersect ##### -->
|
||||
<para>
|
||||
Returns the intersection of two regions.
|
||||
</para>
|
||||
|
||||
@source1: a #GdkRegion.
|
||||
@source2: a #GdkRegion.
|
||||
@Returns: the intersection of @source1 and @source2.
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_xor ##### -->
|
||||
<para>
|
||||
@ -16,21 +42,32 @@ but which are not in both.
|
||||
@Returns: the difference between the union and the intersection of @source1
|
||||
and @source2.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_motion_events ##### -->
|
||||
<!-- ##### FUNCTION gdk_regions_subtract ##### -->
|
||||
<para>
|
||||
Retrieves the motion history for a given device/window pair.
|
||||
Subtracts one region from another.
|
||||
The result is a region containing all the pixels which are in @source1, but
|
||||
which are not in @source2.
|
||||
</para>
|
||||
|
||||
@window: a #GdkWindow.
|
||||
@deviceid: the device for which to retrieve motion history.
|
||||
@start: the start time.
|
||||
@stop: the stop time.
|
||||
@nevents_return: location to store the number of events returned.
|
||||
@Returns: a newly allocated array containing all the events
|
||||
from @start to @stop. This array should be freed
|
||||
with g_free() when you are finished using it.
|
||||
@source1: a #GdkRegion.
|
||||
@source2: a #GdkRegion to subtract from @source1.
|
||||
@Returns: @source1 - @source2.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Long_Description ##### -->
|
||||
<!-- ##### FUNCTION gdk_input_list_devices ##### -->
|
||||
<para>
|
||||
Lists all available input devices, along with their
|
||||
configuration information.
|
||||
</para>
|
||||
|
||||
@Returns: A #GList of #GdkDeviceInfo structures. This list
|
||||
is internal data of GTK+ and should not be modified
|
||||
or freed.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Short_Description ##### -->
|
||||
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
@ -40,6 +77,29 @@ Retrieves the motion history for a given device/window pair.
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GDK_CORE_POINTER ##### -->
|
||||
<para>
|
||||
This macro contains an integer value representing
|
||||
the device ID for the core pointer device.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gdk_threads_mutex ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_axes ##### -->
|
||||
<para>
|
||||
Sets the mapping of the axes (valuators) of a device
|
||||
onto the predefined valuator types that GTK+ understands.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@axes: an array of GdkAxisUse. This length of this array
|
||||
must match the number of axes for the device.
|
||||
|
||||
<!-- ##### STRUCT GdkDeviceInfo ##### -->
|
||||
<para>
|
||||
The #GdkDeviceInfo structure contains information about a
|
||||
@ -64,47 +124,11 @@ device. It has the following fields:
|
||||
which describe what key press events are generated
|
||||
for each macro button.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:Title ##### -->
|
||||
Pango Interaction
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Title ##### -->
|
||||
Points, Rectangles and Regions
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_union ##### -->
|
||||
<para>
|
||||
Returns the union of two regions.
|
||||
This is all pixels in either of @source1 or @source2.
|
||||
</para>
|
||||
|
||||
@source1: a #GdkRegion.
|
||||
@source2: a #GdkRegion.
|
||||
@Returns: the union of @source1 and @source2.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Short_Description ##### -->
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_key ##### -->
|
||||
<para>
|
||||
Sets the key event generated when a macro button is pressed.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@index: the index of the macro button.
|
||||
@keyval: the key value for the #GdkKeypressEvent to generate.
|
||||
(a value of 0 means no event will be generated.)
|
||||
@modifiers: the modifier field for the generated
|
||||
#GdkKeyPressEvent.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_list_devices ##### -->
|
||||
<para>
|
||||
Lists all available input devices, along with their
|
||||
configuration information.
|
||||
</para>
|
||||
|
||||
@Returns: A #GList of #GdkDeviceInfo structures. This list
|
||||
is internal data of GTK+ and should not be modified
|
||||
or freed.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:See_Also ##### -->
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
@ -118,16 +142,51 @@ configuration information.
|
||||
@GDK_PIXBUF_ALPHA_BILEVEL:
|
||||
@GDK_PIXBUF_ALPHA_FULL:
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_subtract ##### -->
|
||||
<!-- ##### FUNCTION gdk_input_motion_events ##### -->
|
||||
<para>
|
||||
Subtracts one region from another.
|
||||
The result is a region containing all the pixels which are in @source1, but
|
||||
which are not in @source2.
|
||||
Retrieves the motion history for a given device/window pair.
|
||||
</para>
|
||||
|
||||
@window: a #GdkWindow.
|
||||
@deviceid: the device for which to retrieve motion history.
|
||||
@start: the start time.
|
||||
@stop: the stop time.
|
||||
@nevents_return: location to store the number of events returned.
|
||||
@Returns: a newly allocated array containing all the events
|
||||
from @start to @stop. This array should be freed
|
||||
with g_free() when you are finished using it.
|
||||
|
||||
<!-- ##### VARIABLE gdk_core_pointer ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:Title ##### -->
|
||||
Pango Interaction
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_union ##### -->
|
||||
<para>
|
||||
Returns the union of two regions.
|
||||
This is all pixels in either of @source1 or @source2.
|
||||
</para>
|
||||
|
||||
@source1: a #GdkRegion.
|
||||
@source2: a #GdkRegion to subtract from @source1.
|
||||
@Returns: @source1 - @source2.
|
||||
@source2: a #GdkRegion.
|
||||
@Returns: the union of @source1 and @source2.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_window_get_pointer ##### -->
|
||||
<para>
|
||||
@ -146,23 +205,6 @@ they will be ignored.
|
||||
@ytilt: location to store current tilt in the y direction.
|
||||
@mask: location to store the current modifier state.
|
||||
|
||||
<!-- ##### MACRO GDK_CORE_POINTER ##### -->
|
||||
<para>
|
||||
This macro contains an integer value representing
|
||||
the device ID for the core pointer device.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_axes ##### -->
|
||||
<para>
|
||||
Sets the mapping of the axes (valuators) of a device
|
||||
onto the predefined valuator types that GTK+ understands.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@axes: an array of GdkAxisUse. This length of this array
|
||||
must match the number of axes for the device.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_source ##### -->
|
||||
<para>
|
||||
Sets the source type for a device.
|
||||
@ -171,33 +213,3 @@ Sets the source type for a device.
|
||||
@deviceid: the device to configure
|
||||
@source: the new source type.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gdkregion.sgml:Title ##### -->
|
||||
Points, Rectangles and Regions
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_regions_intersect ##### -->
|
||||
<para>
|
||||
Returns the intersection of two regions.
|
||||
</para>
|
||||
|
||||
@source1: a #GdkRegion.
|
||||
@source2: a #GdkRegion.
|
||||
@Returns: the intersection of @source1 and @source2.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_set_mode ##### -->
|
||||
<para>
|
||||
Enables or disables a device, and determines how the
|
||||
device maps onto the screen.
|
||||
</para>
|
||||
|
||||
@deviceid: the device to configure.
|
||||
@mode: the new mode.
|
||||
@Returns: %TRUE if the device supports the given mode, otherwise
|
||||
%FALSE and the device's mode is unchanged.
|
||||
|
||||
<!-- ##### SECTION ./tmpl/input_methods.sgml.sgml:Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
@ -175,12 +175,6 @@ types that GTK+ understands.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gdk_core_pointer ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_device_set_source ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -42,9 +42,3 @@ Threads
|
||||
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gdk_threads_mutex ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
@ -53,7 +53,7 @@ gdk_pixbuf_animation_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkPixbufAnimation",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -66,26 +66,6 @@ typedef struct
|
||||
} GdkPixbufLoaderPrivate;
|
||||
|
||||
|
||||
/* our marshaller */
|
||||
typedef void (*GtkSignal_NONE__INT_INT_INT_INT) (GtkObject *object,
|
||||
gint arg1, gint arg2, gint arg3, gint arg4,
|
||||
gpointer user_data);
|
||||
static void
|
||||
gtk_marshal_NONE__INT_INT_INT_INT (GtkObject *object, GtkSignalFunc func, gpointer func_data,
|
||||
GtkArg * args)
|
||||
{
|
||||
GtkSignal_NONE__INT_INT_INT_INT rfunc;
|
||||
|
||||
rfunc = (GtkSignal_NONE__INT_INT_INT_INT) func;
|
||||
(*rfunc) (object,
|
||||
GTK_VALUE_INT (args[0]),
|
||||
GTK_VALUE_INT (args[1]),
|
||||
GTK_VALUE_INT (args[2]),
|
||||
GTK_VALUE_INT (args[3]),
|
||||
func_data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* gdk_pixbuf_loader_get_type:
|
||||
* @void:
|
||||
@ -135,7 +115,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, area_prepared),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
pixbuf_loader_signals[AREA_UPDATED] =
|
||||
@ -143,7 +123,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, area_updated),
|
||||
gtk_marshal_NONE__INT_INT_INT_INT,
|
||||
gtk_marshal_VOID__INT_INT_INT_INT,
|
||||
GTK_TYPE_NONE, 4,
|
||||
GTK_TYPE_INT,
|
||||
GTK_TYPE_INT,
|
||||
@ -155,7 +135,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, frame_done),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
@ -164,7 +144,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, animation_done),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
pixbuf_loader_signals[CLOSED] =
|
||||
@ -172,7 +152,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, closed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, pixbuf_loader_signals, LAST_SIGNAL);
|
||||
|
@ -56,7 +56,7 @@ gdk_pixbuf_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkPixbuf",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -60,7 +60,7 @@ gdk_drawable_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkDrawable",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -57,7 +57,7 @@ gdk_gc_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkGC",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -148,7 +148,7 @@ gdk_pixmap_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_DRAWABLE,
|
||||
"GdkPixmap",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -177,7 +177,7 @@ gdk_window_object_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_DRAWABLE,
|
||||
"GdkWindow",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -70,7 +70,7 @@ gdk_colormap_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkColormap",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -152,7 +152,7 @@ gdk_drag_context_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkDragContext",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -149,7 +149,7 @@ gdk_drawable_impl_x11_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_DRAWABLE,
|
||||
"GdkDrawableImplX11",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -77,7 +77,7 @@ gdk_gc_x11_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_GC,
|
||||
"GdkGCX11",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -92,7 +92,7 @@ gdk_image_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GdkImage",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -82,7 +82,7 @@ gdk_pixmap_impl_x11_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_DRAWABLE_IMPL_X11,
|
||||
"GdkPixmapImplX11",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -115,7 +115,7 @@ gdk_window_impl_x11_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (GDK_TYPE_DRAWABLE_IMPL_X11,
|
||||
"GdkWindowImplX11",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -285,7 +285,6 @@ gtk_c_sources = @STRIP_BEGIN@ \
|
||||
gtklistitem.c \
|
||||
gtkliststore.c \
|
||||
gtkmain.c \
|
||||
gtkmarshal.c \
|
||||
gtkmenu.c \
|
||||
gtkmenubar.c \
|
||||
gtkmenufactory.c \
|
||||
@ -400,7 +399,7 @@ gtk_extra_sources = @STRIP_BEGIN@ \
|
||||
makeenums.h \
|
||||
gtkargcollector.c \
|
||||
gtk-boxed.defs \
|
||||
genmarshal.pl \
|
||||
genmarshal.c \
|
||||
gtkmarshal.list \
|
||||
@STRIP_END@
|
||||
# Extra headers that are used for enum type array/id generation
|
||||
@ -486,11 +485,10 @@ $(srcdir)/stamp-gtk.defs: @REBUILD@ makeenums.pl gtk.defs gtk-boxed.defs $(gtk_p
|
||||
&& rm -f xgen-gdef \
|
||||
&& echo timestamp > $(@F)
|
||||
$(srcdir)/gtkmarshal.c: stamp-gtkmarshal.h
|
||||
$(srcdir)/gtkmarshal.c $(srcdir)/stamp-gtkmarshal.h: @REBUILD@ genmarshal.pl gtkmarshal.list gtkmarshal.h
|
||||
$(srcdir)/gtkmarshal.c $(srcdir)/stamp-gtkmarshal.h: @REBUILD@ gtkmarshal.list gtkmarshal.h
|
||||
cd $(srcdir) \
|
||||
&& $(PERL) genmarshal.pl gtkmarshal.list xgen-gmh xgen-gmc \
|
||||
&& (test -z "$(INDENT)" || $(INDENT) xgen-gmh) \
|
||||
&& (test -z "$(INDENT)" || $(INDENT) xgen-gmc) \
|
||||
&& glib-genmarshal --prefix=gtk_marshal gtkmarshal.list --header --skip-source >> xgen-gmh \
|
||||
&& glib-genmarshal --prefix=gtk_marshal gtkmarshal.list --body >> xgen-gmc \
|
||||
&& cp xgen-gmc gtkmarshal.c \
|
||||
&& (cmp -s xgen-gmh gtkmarshal.h || cp xgen-gmh gtkmarshal.h) \
|
||||
&& rm -f xgen-gmh xgen-gmc xgen-gmh~ xgen-gmc~ \
|
||||
|
@ -66,26 +66,6 @@ typedef struct
|
||||
} GdkPixbufLoaderPrivate;
|
||||
|
||||
|
||||
/* our marshaller */
|
||||
typedef void (*GtkSignal_NONE__INT_INT_INT_INT) (GtkObject *object,
|
||||
gint arg1, gint arg2, gint arg3, gint arg4,
|
||||
gpointer user_data);
|
||||
static void
|
||||
gtk_marshal_NONE__INT_INT_INT_INT (GtkObject *object, GtkSignalFunc func, gpointer func_data,
|
||||
GtkArg * args)
|
||||
{
|
||||
GtkSignal_NONE__INT_INT_INT_INT rfunc;
|
||||
|
||||
rfunc = (GtkSignal_NONE__INT_INT_INT_INT) func;
|
||||
(*rfunc) (object,
|
||||
GTK_VALUE_INT (args[0]),
|
||||
GTK_VALUE_INT (args[1]),
|
||||
GTK_VALUE_INT (args[2]),
|
||||
GTK_VALUE_INT (args[3]),
|
||||
func_data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* gdk_pixbuf_loader_get_type:
|
||||
* @void:
|
||||
@ -135,7 +115,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, area_prepared),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
pixbuf_loader_signals[AREA_UPDATED] =
|
||||
@ -143,7 +123,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, area_updated),
|
||||
gtk_marshal_NONE__INT_INT_INT_INT,
|
||||
gtk_marshal_VOID__INT_INT_INT_INT,
|
||||
GTK_TYPE_NONE, 4,
|
||||
GTK_TYPE_INT,
|
||||
GTK_TYPE_INT,
|
||||
@ -155,7 +135,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, frame_done),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
@ -164,7 +144,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, animation_done),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
pixbuf_loader_signals[CLOSED] =
|
||||
@ -172,7 +152,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GdkPixbufLoaderClass, closed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, pixbuf_loader_signals, LAST_SIGNAL);
|
||||
|
@ -342,7 +342,7 @@ gtk_accel_group_add (GtkAccelGroup *accel_group,
|
||||
guint add_accelerator_signal_id = 0;
|
||||
guint remove_accelerator_signal_id = 0;
|
||||
gchar *signal;
|
||||
GtkSignalQuery *query;
|
||||
GSignalQuery query;
|
||||
GSList *slist;
|
||||
GSList *groups;
|
||||
GSList *attach_objects;
|
||||
@ -377,20 +377,16 @@ gtk_accel_group_add (GtkAccelGroup *accel_group,
|
||||
gtk_type_name (GTK_OBJECT_TYPE (object)));
|
||||
return;
|
||||
}
|
||||
query = gtk_signal_query (accel_signal_id);
|
||||
if (!query ||
|
||||
query->nparams > 0)
|
||||
g_signal_query (accel_signal_id, &query);
|
||||
if (!query.signal_id || query.n_params > 0)
|
||||
{
|
||||
g_warning ("gtk_accel_group_add(): signal \"%s\" in the `%s' class ancestry"
|
||||
"cannot be used as accelerator signal",
|
||||
accel_signal,
|
||||
gtk_type_name (GTK_OBJECT_TYPE (object)));
|
||||
if (query)
|
||||
g_free (query);
|
||||
|
||||
return;
|
||||
}
|
||||
g_free (query);
|
||||
|
||||
/* prematurely abort if the group/entry is already locked
|
||||
*/
|
||||
@ -662,7 +658,7 @@ gtk_accel_group_create_add (GtkType class_type,
|
||||
signal_flags,
|
||||
class_type,
|
||||
handler_offset,
|
||||
gtk_marshal_NONE__UINT_POINTER_UINT_UINT_ENUM,
|
||||
gtk_marshal_VOID__UINT_BOXED_UINT_FLAGS_FLAGS,
|
||||
GTK_TYPE_NONE, 5,
|
||||
GTK_TYPE_UINT,
|
||||
GTK_TYPE_ACCEL_GROUP,
|
||||
@ -682,7 +678,7 @@ gtk_accel_group_create_remove (GtkType class_type,
|
||||
signal_flags,
|
||||
class_type,
|
||||
handler_offset,
|
||||
gtk_marshal_NONE__POINTER_UINT_UINT,
|
||||
gtk_marshal_VOID__BOXED_UINT_FLAGS,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_ACCEL_GROUP,
|
||||
GTK_TYPE_UINT,
|
||||
|
@ -79,14 +79,14 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
|
||||
GTK_RUN_FIRST | GTK_RUN_NO_RECURSE,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkAdjustmentClass, changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
adjustment_signals[VALUE_CHANGED] =
|
||||
gtk_signal_new ("value_changed",
|
||||
GTK_RUN_FIRST | GTK_RUN_NO_RECURSE,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkAdjustmentClass, value_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, adjustment_signals, LAST_SIGNAL);
|
||||
|
@ -252,7 +252,7 @@ binding_ht_lookup_entry (GtkBindingSet *set,
|
||||
|
||||
static gboolean
|
||||
binding_compose_params (GtkBindingArg *args,
|
||||
GtkSignalQuery *query,
|
||||
GSignalQuery *query,
|
||||
GtkArg **params_p)
|
||||
{
|
||||
GtkArg *params;
|
||||
@ -260,12 +260,12 @@ binding_compose_params (GtkBindingArg *args,
|
||||
guint i;
|
||||
gboolean valid;
|
||||
|
||||
params = g_new0 (GtkArg, query->nparams);
|
||||
params = g_new0 (GtkArg, query->n_params);
|
||||
*params_p = params;
|
||||
|
||||
types = query->params;
|
||||
types = query->param_types;
|
||||
valid = TRUE;
|
||||
for (i = 0; i < query->nparams && valid; i++)
|
||||
for (i = 0; i < query->n_params && valid; i++)
|
||||
{
|
||||
GtkType param_ftype;
|
||||
|
||||
@ -357,7 +357,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
|
||||
|
||||
for (sig = entry->signals; sig; sig = sig->next)
|
||||
{
|
||||
GtkSignalQuery *query;
|
||||
GSignalQuery query;
|
||||
guint signal_id;
|
||||
GtkArg *params = NULL;
|
||||
gchar *accelerator = NULL;
|
||||
@ -376,10 +376,10 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
|
||||
continue;
|
||||
}
|
||||
|
||||
query = gtk_signal_query (signal_id);
|
||||
if (query->nparams != sig->n_args ||
|
||||
query->return_val != GTK_TYPE_NONE ||
|
||||
!binding_compose_params (sig->args, query, ¶ms))
|
||||
g_signal_query (signal_id, &query);
|
||||
if (query.n_params != sig->n_args ||
|
||||
query.return_type != G_TYPE_NONE ||
|
||||
!binding_compose_params (sig->args, &query, ¶ms))
|
||||
{
|
||||
accelerator = gtk_accelerator_name (entry->keyval, entry->modifiers);
|
||||
g_warning ("gtk_binding_entry_activate(): binding \"%s::%s\": "
|
||||
@ -389,7 +389,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
|
||||
sig->signal_name,
|
||||
gtk_type_name (GTK_OBJECT_TYPE (object)));
|
||||
}
|
||||
else if (!(query->signal_flags & GTK_RUN_ACTION))
|
||||
else if (!(query.signal_flags & GTK_RUN_ACTION))
|
||||
{
|
||||
accelerator = gtk_accelerator_name (entry->keyval, entry->modifiers);
|
||||
g_warning ("gtk_binding_entry_activate(): binding \"%s::%s\": "
|
||||
@ -400,7 +400,6 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
|
||||
gtk_type_name (GTK_OBJECT_TYPE (object)));
|
||||
}
|
||||
g_free (accelerator);
|
||||
g_free (query);
|
||||
if (accelerator)
|
||||
continue;
|
||||
|
||||
|
@ -125,7 +125,7 @@ gtk_button_get_type (void)
|
||||
(GInstanceInitFunc) gtk_button_init,
|
||||
};
|
||||
|
||||
button_type = g_type_register_static (GTK_TYPE_BIN, "GtkButton", &button_info);
|
||||
button_type = g_type_register_static (GTK_TYPE_BIN, "GtkButton", &button_info, 0);
|
||||
}
|
||||
|
||||
return button_type;
|
||||
@ -152,35 +152,35 @@ gtk_button_class_init (GtkButtonClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkButtonClass, pressed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
button_signals[RELEASED] =
|
||||
gtk_signal_new ("released",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkButtonClass, released),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
button_signals[CLICKED] =
|
||||
gtk_signal_new ("clicked",
|
||||
GTK_RUN_FIRST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkButtonClass, clicked),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
button_signals[ENTER] =
|
||||
gtk_signal_new ("enter",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkButtonClass, enter),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
button_signals[LEAVE] =
|
||||
gtk_signal_new ("leave",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkButtonClass, leave),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, button_signals, LAST_SIGNAL);
|
||||
|
@ -337,7 +337,7 @@ gtk_calendar_get_type (void)
|
||||
(GInstanceInitFunc) gtk_calendar_init,
|
||||
};
|
||||
|
||||
calendar_type = g_type_register_static (GTK_TYPE_WIDGET, "GtkCalendar", &calendar_info);
|
||||
calendar_type = g_type_register_static (GTK_TYPE_WIDGET, "GtkCalendar", &calendar_info, 0);
|
||||
}
|
||||
|
||||
return calendar_type;
|
||||
|
@ -66,7 +66,7 @@ gtk_cell_renderer_get_type (void)
|
||||
(GInstanceInitFunc) gtk_cell_renderer_init,
|
||||
};
|
||||
|
||||
cell_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkCellRenderer", &cell_info);
|
||||
cell_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkCellRenderer", &cell_info, 0);
|
||||
}
|
||||
|
||||
return cell_type;
|
||||
|
@ -76,7 +76,7 @@ gtk_cell_renderer_pixbuf_get_type (void)
|
||||
(GInstanceInitFunc) gtk_cell_renderer_pixbuf_init,
|
||||
};
|
||||
|
||||
cell_pixbuf_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererPixbuf", &cell_pixbuf_info);
|
||||
cell_pixbuf_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererPixbuf", &cell_pixbuf_info, 0);
|
||||
}
|
||||
|
||||
return cell_pixbuf_type;
|
||||
|
@ -85,7 +85,7 @@ gtk_cell_renderer_text_get_type (void)
|
||||
(GInstanceInitFunc) gtk_cell_renderer_text_init,
|
||||
};
|
||||
|
||||
cell_text_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererText", &cell_text_info);
|
||||
cell_text_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererText", &cell_text_info, 0);
|
||||
}
|
||||
|
||||
return cell_text_type;
|
||||
|
@ -83,7 +83,7 @@ gtk_cell_renderer_text_pixbuf_get_type (void)
|
||||
(GInstanceInitFunc) gtk_cell_renderer_text_pixbuf_init,
|
||||
};
|
||||
|
||||
cell_text_pixbuf_type = g_type_register_static (GTK_TYPE_CELL_RENDERER_TEXT, "GtkCellRendererTextPixbuf", &cell_text_pixbuf_info);
|
||||
cell_text_pixbuf_type = g_type_register_static (GTK_TYPE_CELL_RENDERER_TEXT, "GtkCellRendererTextPixbuf", &cell_text_pixbuf_info, 0);
|
||||
}
|
||||
|
||||
return cell_text_pixbuf_type;
|
||||
|
@ -95,7 +95,7 @@ gtk_cell_renderer_toggle_get_type (void)
|
||||
(GInstanceInitFunc) gtk_cell_renderer_toggle_init,
|
||||
};
|
||||
|
||||
cell_toggle_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererToggle", &cell_toggle_info);
|
||||
cell_toggle_type = g_type_register_static (GTK_TYPE_CELL_RENDERER, "GtkCellRendererToggle", &cell_toggle_info, 0);
|
||||
}
|
||||
|
||||
return cell_toggle_type;
|
||||
@ -147,7 +147,7 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCellRendererToggleClass, toggled),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
|
@ -106,7 +106,7 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCheckMenuItemClass, toggled),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
gtk_object_class_add_signals (object_class, check_menu_item_signals, LAST_SIGNAL);
|
||||
}
|
||||
|
@ -544,7 +544,7 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, set_scroll_adjustments),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
||||
|
||||
clist_signals[SELECT_ROW] =
|
||||
@ -552,7 +552,7 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, select_row),
|
||||
gtk_marshal_NONE__INT_INT_POINTER,
|
||||
gtk_marshal_VOID__INT_INT_POINTER,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_INT,
|
||||
GTK_TYPE_INT,
|
||||
@ -562,7 +562,7 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, unselect_row),
|
||||
gtk_marshal_NONE__INT_INT_POINTER,
|
||||
gtk_marshal_VOID__INT_INT_POINTER,
|
||||
GTK_TYPE_NONE, 3, GTK_TYPE_INT,
|
||||
GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
|
||||
clist_signals[ROW_MOVE] =
|
||||
@ -570,21 +570,21 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, row_move),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
|
||||
clist_signals[CLICK_COLUMN] =
|
||||
gtk_signal_new ("click_column",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, click_column),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
|
||||
clist_signals[RESIZE_COLUMN] =
|
||||
gtk_signal_new ("resize_column",
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, resize_column),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
|
||||
|
||||
clist_signals[TOGGLE_FOCUS_ROW] =
|
||||
@ -592,56 +592,56 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, toggle_focus_row),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[SELECT_ALL] =
|
||||
gtk_signal_new ("select_all",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, select_all),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[UNSELECT_ALL] =
|
||||
gtk_signal_new ("unselect_all",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, unselect_all),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[UNDO_SELECTION] =
|
||||
gtk_signal_new ("undo_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, undo_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[START_SELECTION] =
|
||||
gtk_signal_new ("start_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, start_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[END_SELECTION] =
|
||||
gtk_signal_new ("end_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, end_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[TOGGLE_ADD_MODE] =
|
||||
gtk_signal_new ("toggle_add_mode",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, toggle_add_mode),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
clist_signals[EXTEND_SELECTION] =
|
||||
gtk_signal_new ("extend_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, extend_selection),
|
||||
gtk_marshal_NONE__ENUM_FLOAT_BOOL,
|
||||
gtk_marshal_VOID__ENUM_FLOAT_BOOL,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT, GTK_TYPE_BOOL);
|
||||
clist_signals[SCROLL_VERTICAL] =
|
||||
@ -649,21 +649,21 @@ gtk_clist_class_init (GtkCListClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, scroll_vertical),
|
||||
gtk_marshal_NONE__ENUM_FLOAT,
|
||||
gtk_marshal_VOID__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT);
|
||||
clist_signals[SCROLL_HORIZONTAL] =
|
||||
gtk_signal_new ("scroll_horizontal",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, scroll_horizontal),
|
||||
gtk_marshal_NONE__ENUM_FLOAT,
|
||||
gtk_marshal_VOID__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT);
|
||||
clist_signals[ABORT_COLUMN_RESIZE] =
|
||||
gtk_signal_new ("abort_column_resize",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCListClass, abort_column_resize),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
gtk_object_class_add_signals (object_class, clist_signals, LAST_SIGNAL);
|
||||
|
||||
|
@ -1351,7 +1351,7 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkColorSelectionClass, color_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
|
||||
|
@ -172,7 +172,7 @@ gtk_container_class_init (GtkContainerClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkContainerClass, add),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
container_signals[REMOVE] =
|
||||
@ -180,7 +180,7 @@ gtk_container_class_init (GtkContainerClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkContainerClass, remove),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
container_signals[CHECK_RESIZE] =
|
||||
@ -188,7 +188,7 @@ gtk_container_class_init (GtkContainerClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkContainerClass, check_resize),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
container_signals[FOCUS] =
|
||||
gtk_signal_new ("focus",
|
||||
@ -203,7 +203,7 @@ gtk_container_class_init (GtkContainerClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkContainerClass, set_focus_child),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
gtk_object_class_add_signals (object_class, container_signals, LAST_SIGNAL);
|
||||
|
@ -391,35 +391,35 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_select_row),
|
||||
gtk_marshal_NONE__POINTER_INT,
|
||||
gtk_marshal_VOID__POINTER_INT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_CTREE_NODE, GTK_TYPE_INT);
|
||||
ctree_signals[TREE_UNSELECT_ROW] =
|
||||
gtk_signal_new ("tree_unselect_row",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_unselect_row),
|
||||
gtk_marshal_NONE__POINTER_INT,
|
||||
gtk_marshal_VOID__POINTER_INT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_CTREE_NODE, GTK_TYPE_INT);
|
||||
ctree_signals[TREE_EXPAND] =
|
||||
gtk_signal_new ("tree_expand",
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_expand),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_NODE);
|
||||
ctree_signals[TREE_COLLAPSE] =
|
||||
gtk_signal_new ("tree_collapse",
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_collapse),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_NODE);
|
||||
ctree_signals[TREE_MOVE] =
|
||||
gtk_signal_new ("tree_move",
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_move),
|
||||
gtk_marshal_NONE__POINTER_POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 3, GTK_TYPE_CTREE_NODE,
|
||||
GTK_TYPE_CTREE_NODE, GTK_TYPE_CTREE_NODE);
|
||||
ctree_signals[CHANGE_FOCUS_ROW_EXPANSION] =
|
||||
@ -428,7 +428,7 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCTreeClass,
|
||||
change_focus_row_expansion),
|
||||
gtk_marshal_NONE__ENUM,
|
||||
gtk_marshal_VOID__ENUM,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_EXPANSION_TYPE);
|
||||
gtk_object_class_add_signals (object_class, ctree_signals, LAST_SIGNAL);
|
||||
|
||||
|
@ -114,7 +114,7 @@ gtk_curve_class_init (GtkCurveClass *class)
|
||||
curve_type_changed_signal =
|
||||
gtk_signal_new ("curve_type_changed", GTK_RUN_FIRST, GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkCurveClass, curve_type_changed),
|
||||
gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0);
|
||||
gtk_marshal_VOID__VOID, GTK_TYPE_NONE, 0);
|
||||
gtk_object_class_add_signals (object_class, &curve_type_changed_signal, 1);
|
||||
|
||||
gtk_object_add_arg_type ("GtkCurve::curve_type", GTK_TYPE_CURVE_TYPE,
|
||||
|
@ -77,7 +77,7 @@ gtk_data_class_init (GtkDataClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkDataClass, disconnect),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, data_signals, LAST_SIGNAL);
|
||||
|
@ -150,7 +150,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
editable_signals[INSERT_TEXT] =
|
||||
@ -158,7 +158,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, insert_text),
|
||||
gtk_marshal_NONE__POINTER_INT_POINTER,
|
||||
gtk_marshal_VOID__POINTER_INT_POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
3,
|
||||
GTK_TYPE_STRING,
|
||||
@ -170,7 +170,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, delete_text),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE,
|
||||
2,
|
||||
GTK_TYPE_INT,
|
||||
@ -181,7 +181,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, activate),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
widget_class->activate_signal = editable_signals[ACTIVATE];
|
||||
|
||||
@ -190,7 +190,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, set_editable),
|
||||
gtk_marshal_NONE__BOOL,
|
||||
gtk_marshal_VOID__BOOLEAN,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_BOOL);
|
||||
|
||||
@ -199,7 +199,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, move_cursor),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_INT,
|
||||
GTK_TYPE_INT);
|
||||
@ -209,7 +209,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, move_word),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -218,7 +218,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, move_page),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_INT,
|
||||
GTK_TYPE_INT);
|
||||
@ -228,7 +228,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, move_to_row),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -237,7 +237,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, move_to_column),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -246,7 +246,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, kill_char),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -255,7 +255,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, kill_word),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -264,7 +264,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, kill_line),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
@ -273,7 +273,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, cut_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
editable_signals[COPY_CLIPBOARD] =
|
||||
@ -281,7 +281,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, copy_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
editable_signals[PASTE_CLIPBOARD] =
|
||||
@ -289,7 +289,7 @@ gtk_editable_class_init (GtkEditableClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkEditableClass, paste_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, editable_signals, LAST_SIGNAL);
|
||||
|
@ -27,6 +27,8 @@
|
||||
#ifndef __GTK_ENUMS_H__
|
||||
#define __GTK_ENUMS_H__
|
||||
|
||||
#include <gobject/gsignal.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
@ -236,12 +238,12 @@ typedef enum
|
||||
/* signal run types */
|
||||
typedef enum /*< flags >*/
|
||||
{
|
||||
GTK_RUN_FIRST = 1 << 0,
|
||||
GTK_RUN_LAST = 1 << 1,
|
||||
GTK_RUN_FIRST = G_SIGNAL_RUN_FIRST,
|
||||
GTK_RUN_LAST = G_SIGNAL_RUN_LAST,
|
||||
GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST),
|
||||
GTK_RUN_NO_RECURSE = 1 << 2,
|
||||
GTK_RUN_ACTION = 1 << 3,
|
||||
GTK_RUN_NO_HOOKS = 1 << 4
|
||||
GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE,
|
||||
GTK_RUN_ACTION = G_SIGNAL_ACTION,
|
||||
GTK_RUN_NO_HOOKS = G_SIGNAL_NO_HOOKS
|
||||
} GtkSignalRunType;
|
||||
|
||||
/* scrolling types */
|
||||
|
@ -183,7 +183,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkHandleBoxClass, child_attached),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
handle_box_signals[SIGNAL_CHILD_DETACHED] =
|
||||
@ -191,7 +191,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkHandleBoxClass, child_detached),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
gtk_object_class_add_signals (object_class, handle_box_signals, SIGNAL_LAST);
|
||||
|
@ -150,7 +150,7 @@ gtk_hsv_class_init (GtkHSVClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkHSVClass, changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
gtk_object_class_add_signals (object_class, hsv_signals, LAST_SIGNAL);
|
||||
|
||||
|
@ -62,7 +62,7 @@ gtk_icon_factory_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GtkIconFactory",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -76,7 +76,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkIMContextClass, preedit_start),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
im_context_signals[PREEDIT_END] =
|
||||
@ -84,7 +84,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkIMContextClass, preedit_end),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
im_context_signals[PREEDIT_CHANGED] =
|
||||
@ -92,7 +92,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkIMContextClass, preedit_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
im_context_signals[COMMIT] =
|
||||
@ -100,7 +100,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkIMContextClass, commit),
|
||||
gtk_marshal_NONE__STRING,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_STRING);
|
||||
|
||||
|
@ -143,7 +143,7 @@ gtk_input_dialog_class_init (GtkInputDialogClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkInputDialogClass, enable_device),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
|
||||
|
||||
input_dialog_signals[DISABLE_DEVICE] =
|
||||
@ -151,7 +151,7 @@ gtk_input_dialog_class_init (GtkInputDialogClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkInputDialogClass, disable_device),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
|
||||
|
||||
gtk_object_class_add_signals (object_class, input_dialog_signals,
|
||||
|
@ -89,21 +89,21 @@ gtk_item_class_init (GtkItemClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkItemClass, select),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
item_signals[DESELECT] =
|
||||
gtk_signal_new ("deselect",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkItemClass, deselect),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
item_signals[TOGGLE] =
|
||||
gtk_signal_new ("toggle",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkItemClass, toggle),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, item_signals, LAST_SIGNAL);
|
||||
|
@ -79,7 +79,7 @@ gtk_label_get_type (void)
|
||||
(GInstanceInitFunc) gtk_label_init,
|
||||
};
|
||||
|
||||
label_type = g_type_register_static (GTK_TYPE_MISC, "GtkLabel", &label_info);
|
||||
label_type = g_type_register_static (GTK_TYPE_MISC, "GtkLabel", &label_info, 0);
|
||||
}
|
||||
|
||||
return label_type;
|
||||
|
@ -360,7 +360,7 @@ gtk_layout_get_type (void)
|
||||
(GInstanceInitFunc) gtk_layout_init,
|
||||
};
|
||||
|
||||
layout_type = g_type_register_static (GTK_TYPE_CONTAINER, "GtkLayout", &layout_info);
|
||||
layout_type = g_type_register_static (GTK_TYPE_CONTAINER, "GtkLayout", &layout_info, 0);
|
||||
}
|
||||
|
||||
return layout_type;
|
||||
@ -400,7 +400,7 @@ gtk_layout_class_init (GtkLayoutClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkLayoutClass, set_scroll_adjustments),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
||||
}
|
||||
|
||||
|
@ -221,14 +221,14 @@ gtk_list_class_init (GtkListClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListClass, selection_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_signals[SELECT_CHILD] =
|
||||
gtk_signal_new ("select_child",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListClass, select_child),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
list_signals[UNSELECT_CHILD] =
|
||||
@ -236,7 +236,7 @@ gtk_list_class_init (GtkListClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListClass, unselect_child),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
|
||||
|
@ -120,72 +120,72 @@ gtk_list_item_class_init (GtkListItemClass *class)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, toggle_focus_row),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[SELECT_ALL] =
|
||||
gtk_signal_new ("select_all",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, select_all),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[UNSELECT_ALL] =
|
||||
gtk_signal_new ("unselect_all",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, unselect_all),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[UNDO_SELECTION] =
|
||||
gtk_signal_new ("undo_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, undo_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[START_SELECTION] =
|
||||
gtk_signal_new ("start_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, start_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[END_SELECTION] =
|
||||
gtk_signal_new ("end_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, end_selection),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[TOGGLE_ADD_MODE] =
|
||||
gtk_signal_new ("toggle_add_mode",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, toggle_add_mode),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
list_item_signals[EXTEND_SELECTION] =
|
||||
gtk_signal_new ("extend_selection",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, extend_selection),
|
||||
gtk_marshal_NONE__ENUM_FLOAT_BOOL,
|
||||
gtk_marshal_VOID__ENUM_FLOAT_BOOL,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_ENUM, GTK_TYPE_FLOAT, GTK_TYPE_BOOL);
|
||||
GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT, GTK_TYPE_BOOL);
|
||||
list_item_signals[SCROLL_VERTICAL] =
|
||||
gtk_signal_new ("scroll_vertical",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, scroll_vertical),
|
||||
gtk_marshal_NONE__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ENUM, GTK_TYPE_FLOAT);
|
||||
gtk_marshal_VOID__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT);
|
||||
list_item_signals[SCROLL_HORIZONTAL] =
|
||||
gtk_signal_new ("scroll_horizontal",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListItemClass, scroll_horizontal),
|
||||
gtk_marshal_NONE__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ENUM, GTK_TYPE_FLOAT);
|
||||
gtk_marshal_VOID__ENUM_FLOAT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_SCROLL_TYPE, GTK_TYPE_FLOAT);
|
||||
|
||||
gtk_object_class_add_signals (object_class, list_item_signals, LAST_SIGNAL);
|
||||
|
||||
|
@ -89,7 +89,7 @@ gtk_list_store_get_type (void)
|
||||
NULL
|
||||
};
|
||||
|
||||
list_store_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkListStore", &list_store_info);
|
||||
list_store_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkListStore", &list_store_info, 0);
|
||||
g_type_add_interface_static (list_store_type,
|
||||
GTK_TYPE_TREE_MODEL,
|
||||
&tree_model_info);
|
||||
@ -110,7 +110,7 @@ gtk_list_store_class_init (GtkListStoreClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListStoreClass, node_changed),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -119,7 +119,7 @@ gtk_list_store_class_init (GtkListStoreClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListStoreClass, node_inserted),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -128,7 +128,7 @@ gtk_list_store_class_init (GtkListStoreClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListStoreClass, node_child_toggled),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -137,7 +137,7 @@ gtk_list_store_class_init (GtkListStoreClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkListStoreClass, node_deleted),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
|
@ -383,7 +383,7 @@ gtk_init_check (int *argc,
|
||||
}
|
||||
if (!modinit_func)
|
||||
{
|
||||
g_warning ("Failed to load module \"%s\": %s",
|
||||
g_message ("Failed to load module \"%s\": %s",
|
||||
module ? g_module_name (module) : module_name,
|
||||
g_module_error ());
|
||||
if (module)
|
||||
|
@ -1,17 +1,85 @@
|
||||
BOOL:NONE
|
||||
BOOL:POINTER
|
||||
BOOL:POINTER,POINTER,INT,INT
|
||||
BOOL:POINTER,INT,INT
|
||||
BOOL:POINTER,INT,INT,UINT
|
||||
BOOL:POINTER,STRING,STRING,POINTER
|
||||
# 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,INT,INT
|
||||
BOOLEAN:POINTER,INT,INT,UINT
|
||||
BOOLEAN:POINTER,POINTER,INT,INT
|
||||
BOOLEAN:POINTER,STRING,STRING,POINTER
|
||||
BOOLEAN:VOID
|
||||
ENUM:ENUM
|
||||
INT:NONE
|
||||
INT:OBJECT,BOXED,POINTER
|
||||
INT:POINTER
|
||||
INT:POINTER,CHAR,CHAR
|
||||
INT:OBJECT,BOXED,POINTER
|
||||
POINTER:NONE
|
||||
INT:VOID
|
||||
POINTER:POINTER
|
||||
POINTER:POINTER,INT
|
||||
POINTER:VOID
|
||||
VOID:BOOLEAN
|
||||
VOID:BOXED
|
||||
VOID:BOXED,UINT,FLAGS
|
||||
VOID:ENUM
|
||||
VOID:ENUM,FLOAT
|
||||
VOID:ENUM,FLOAT,BOOLEAN
|
||||
VOID:INT
|
||||
VOID:INT,INT
|
||||
VOID:INT,INT,INT
|
||||
VOID:INT,INT,INT,INT
|
||||
VOID:INT,INT,POINTER
|
||||
VOID:OBJECT
|
||||
VOID:POINTER
|
||||
VOID:POINTER,INT
|
||||
VOID:POINTER,INT,INT,POINTER,UINT,UINT
|
||||
VOID:POINTER,INT,POINTER
|
||||
VOID:POINTER,POINTER
|
||||
VOID:POINTER,POINTER,INT
|
||||
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
|
||||
@ -25,14 +93,16 @@ 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,POINTER,UINT,UINT
|
||||
NONE:POINTER,INT,INT,POINTER,UINT,UINT
|
||||
NONE:POINTER,UINT,UINT
|
||||
NONE:POINTER,UINT,UINT
|
||||
NONE:STRING
|
||||
NONE:STRING,INT,POINTER
|
||||
@ -41,5 +111,4 @@ NONE:UINT
|
||||
NONE:UINT,POINTER,UINT,ENUM,ENUM,POINTER
|
||||
NONE:UINT,POINTER,UINT,UINT,ENUM
|
||||
NONE:UINT,STRING
|
||||
NONE:POINTER,POINTER,INT,INT
|
||||
NONE:POINTER,POINTER,INT
|
||||
VOID:ENUM,FLOAT,BOOL
|
||||
|
@ -1,17 +1,85 @@
|
||||
BOOL:NONE
|
||||
BOOL:POINTER
|
||||
BOOL:POINTER,POINTER,INT,INT
|
||||
BOOL:POINTER,INT,INT
|
||||
BOOL:POINTER,INT,INT,UINT
|
||||
BOOL:POINTER,STRING,STRING,POINTER
|
||||
# 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,INT,INT
|
||||
BOOLEAN:POINTER,INT,INT,UINT
|
||||
BOOLEAN:POINTER,POINTER,INT,INT
|
||||
BOOLEAN:POINTER,STRING,STRING,POINTER
|
||||
BOOLEAN:VOID
|
||||
ENUM:ENUM
|
||||
INT:NONE
|
||||
INT:OBJECT,BOXED,POINTER
|
||||
INT:POINTER
|
||||
INT:POINTER,CHAR,CHAR
|
||||
INT:OBJECT,BOXED,POINTER
|
||||
POINTER:NONE
|
||||
INT:VOID
|
||||
POINTER:POINTER
|
||||
POINTER:POINTER,INT
|
||||
POINTER:VOID
|
||||
VOID:BOOLEAN
|
||||
VOID:BOXED
|
||||
VOID:BOXED,UINT,FLAGS
|
||||
VOID:ENUM
|
||||
VOID:ENUM,FLOAT
|
||||
VOID:ENUM,FLOAT,BOOLEAN
|
||||
VOID:INT
|
||||
VOID:INT,INT
|
||||
VOID:INT,INT,INT
|
||||
VOID:INT,INT,INT,INT
|
||||
VOID:INT,INT,POINTER
|
||||
VOID:OBJECT
|
||||
VOID:POINTER
|
||||
VOID:POINTER,INT
|
||||
VOID:POINTER,INT,INT,POINTER,UINT,UINT
|
||||
VOID:POINTER,INT,POINTER
|
||||
VOID:POINTER,POINTER
|
||||
VOID:POINTER,POINTER,INT
|
||||
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
|
||||
@ -25,14 +93,16 @@ 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,POINTER,UINT,UINT
|
||||
NONE:POINTER,INT,INT,POINTER,UINT,UINT
|
||||
NONE:POINTER,UINT,UINT
|
||||
NONE:POINTER,UINT,UINT
|
||||
NONE:STRING
|
||||
NONE:STRING,INT,POINTER
|
||||
@ -41,5 +111,4 @@ NONE:UINT
|
||||
NONE:UINT,POINTER,UINT,ENUM,ENUM,POINTER
|
||||
NONE:UINT,POINTER,UINT,UINT,ENUM
|
||||
NONE:UINT,STRING
|
||||
NONE:POINTER,POINTER,INT,INT
|
||||
NONE:POINTER,POINTER,INT
|
||||
VOID:ENUM,FLOAT,BOOL
|
||||
|
@ -101,7 +101,7 @@ gtk_menu_item_get_type (void)
|
||||
(GInstanceInitFunc) gtk_menu_item_init,
|
||||
};
|
||||
|
||||
menu_item_type = g_type_register_static (GTK_TYPE_ITEM, "GtkMenuItem", &menu_item_info);
|
||||
menu_item_type = g_type_register_static (GTK_TYPE_ITEM, "GtkMenuItem", &menu_item_info, 0);
|
||||
}
|
||||
|
||||
return menu_item_type;
|
||||
@ -127,7 +127,7 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
|
||||
GTK_RUN_FIRST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuItemClass, activate),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
menu_item_signals[ACTIVATE_ITEM] =
|
||||
|
@ -192,21 +192,21 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuShellClass, deactivate),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
menu_shell_signals[SELECTION_DONE] =
|
||||
gtk_signal_new ("selection-done",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuShellClass, selection_done),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
menu_shell_signals[MOVE_CURRENT] =
|
||||
gtk_signal_new ("move_current",
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuShellClass, move_current),
|
||||
gtk_marshal_NONE__ENUM,
|
||||
gtk_marshal_VOID__ENUM,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_MENU_DIRECTION_TYPE);
|
||||
menu_shell_signals[ACTIVATE_CURRENT] =
|
||||
@ -214,7 +214,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuShellClass, activate_current),
|
||||
gtk_marshal_NONE__BOOL,
|
||||
gtk_marshal_VOID__BOOLEAN,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_BOOL);
|
||||
menu_shell_signals[CANCEL] =
|
||||
@ -222,7 +222,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkMenuShellClass, cancel),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, menu_shell_signals, LAST_SIGNAL);
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "gtkmodelsimple.h"
|
||||
#include "gtkmarshal.h"
|
||||
#include "gtksignal.h"
|
||||
enum {
|
||||
NODE_CHANGED,
|
||||
@ -98,7 +97,7 @@ gtk_model_simple_get_type (void)
|
||||
NULL
|
||||
};
|
||||
|
||||
model_simple_type = g_type_register_static (GTK_TYPE_TREE_MODEL, "GtkModelSimple", &model_simple_info);
|
||||
model_simple_type = g_type_register_static (GTK_TYPE_TREE_MODEL, "GtkModelSimple", &model_simple_info, 0);
|
||||
g_type_add_interface_static (model_simple_type,
|
||||
GTK_TYPE_TREE_MODEL,
|
||||
&tree_model_info);
|
||||
@ -125,7 +124,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkModelSimpleClass, node_changed),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -134,7 +133,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkModelSimpleClass, node_inserted),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -143,7 +142,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkModelSimpleClass, node_child_toggled),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -152,7 +151,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkModelSimpleClass, node_deleted),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
@ -161,7 +160,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
0,
|
||||
gtk_marshal_INT__NONE,
|
||||
gtk_marshal_INT__VOID,
|
||||
GTK_TYPE_INT, 0);
|
||||
model_simple_signals[GET_NODE] =
|
||||
gtk_signal_new ("get_node",
|
||||
@ -184,7 +183,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
0,
|
||||
gtk_marshal_NONE__POINTER_INT_POINTER,
|
||||
gtk_marshal_VOID__POINTER_INT_POINTER,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_INT,
|
||||
@ -194,7 +193,7 @@ gtk_model_simple_class_init (GtkModelSimpleClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
0,
|
||||
gtk_marshal_BOOL__POINTER,
|
||||
gtk_marshal_BOOLEAN__POINTER,
|
||||
GTK_TYPE_BOOL, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
model_simple_signals[NODE_CHILDREN] =
|
||||
|
@ -273,7 +273,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkNotebookClass, switch_page),
|
||||
gtk_marshal_NONE__POINTER_UINT,
|
||||
gtk_marshal_VOID__POINTER_UINT,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_UINT);
|
||||
|
@ -95,7 +95,7 @@ gtk_object_get_type (void)
|
||||
(GInstanceInitFunc) gtk_object_init,
|
||||
};
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT, "GtkObject", &object_info);
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT, "GtkObject", &object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
@ -161,10 +161,10 @@ gtk_object_class_init (GtkObjectClass *class)
|
||||
|
||||
object_signals[DESTROY] =
|
||||
gtk_signal_new ("destroy",
|
||||
GTK_RUN_LAST | GTK_RUN_NO_HOOKS,
|
||||
G_SIGNAL_RUN_CLEANUP | G_SIGNAL_NO_RECURSE | GTK_RUN_NO_HOOKS,
|
||||
GTK_CLASS_TYPE (class),
|
||||
GTK_SIGNAL_OFFSET (GtkObjectClass, destroy),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (class, object_signals, LAST_SIGNAL);
|
||||
@ -201,13 +201,10 @@ gtk_object_destroy (GtkObject *object)
|
||||
if (!GTK_OBJECT_DESTROYED (object))
|
||||
{
|
||||
/* need to hold a reference count around all class method
|
||||
* invocations. we guard against reinvocations during
|
||||
* destruction with the GTK_DESTROYED flag.
|
||||
* invocations.
|
||||
*/
|
||||
gtk_object_ref (object);
|
||||
GTK_OBJECT_SET_FLAGS (object, GTK_DESTROYED);
|
||||
G_OBJECT_GET_CLASS (object)->shutdown (G_OBJECT (object));
|
||||
GTK_OBJECT_UNSET_FLAGS (object, GTK_DESTROYED);
|
||||
gtk_object_unref (object);
|
||||
}
|
||||
}
|
||||
@ -217,7 +214,17 @@ gtk_object_shutdown (GObject *gobject)
|
||||
{
|
||||
GtkObject *object = GTK_OBJECT (gobject);
|
||||
|
||||
gtk_signal_emit (object, object_signals[DESTROY]);
|
||||
/* guard against reinvocations during
|
||||
* destruction with the GTK_DESTROYED flag.
|
||||
*/
|
||||
if (!GTK_OBJECT_DESTROYED (object))
|
||||
{
|
||||
GTK_OBJECT_SET_FLAGS (object, GTK_DESTROYED);
|
||||
|
||||
gtk_signal_emit (object, object_signals[DESTROY]);
|
||||
|
||||
GTK_OBJECT_UNSET_FLAGS (object, GTK_DESTROYED);
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->shutdown (gobject);
|
||||
}
|
||||
@ -225,8 +232,7 @@ gtk_object_shutdown (GObject *gobject)
|
||||
static void
|
||||
gtk_object_real_destroy (GtkObject *object)
|
||||
{
|
||||
if (GTK_OBJECT_CONNECTED (object))
|
||||
gtk_signal_handlers_destroy (object);
|
||||
g_signal_handlers_destroy (G_OBJECT (object));
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -64,7 +64,7 @@ typedef enum
|
||||
{
|
||||
GTK_DESTROYED = 1 << 0,
|
||||
GTK_FLOATING = 1 << 1,
|
||||
GTK_CONNECTED = 1 << 2,
|
||||
GTK_RESERVED = 1 << 2,
|
||||
GTK_CONSTRUCTED = 1 << 3
|
||||
} GtkObjectFlags;
|
||||
|
||||
|
@ -79,7 +79,7 @@ gtk_plug_get_type ()
|
||||
(GInstanceInitFunc) gtk_plug_init,
|
||||
};
|
||||
|
||||
plug_type = g_type_register_static (GTK_TYPE_WINDOW, "GtkPlug", &plug_info);
|
||||
plug_type = g_type_register_static (GTK_TYPE_WINDOW, "GtkPlug", &plug_info, 0);
|
||||
}
|
||||
|
||||
return plug_type;
|
||||
|
@ -733,7 +733,7 @@ gtk_rc_style_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GtkRcStyle",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
2188
gtk/gtksignal.c
2188
gtk/gtksignal.c
File diff suppressed because it is too large
Load Diff
247
gtk/gtksignal.h
247
gtk/gtksignal.h
@ -28,178 +28,109 @@
|
||||
#define __GTK_SIGNAL_H__
|
||||
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtkenums.h>
|
||||
#include <gtk/gtkobject.h>
|
||||
#include <gtk/gtkmarshal.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field))
|
||||
|
||||
|
||||
typedef void (*GtkSignalMarshal) (GtkObject *object,
|
||||
gpointer data,
|
||||
guint nparams,
|
||||
GtkArg *args,
|
||||
GtkType *arg_types,
|
||||
GtkType return_type);
|
||||
typedef void (*GtkSignalDestroy) (gpointer data);
|
||||
typedef gboolean (*GtkEmissionHook) (GtkObject *object,
|
||||
guint signal_id,
|
||||
guint n_params,
|
||||
GtkArg *params,
|
||||
gpointer data);
|
||||
|
||||
typedef struct _GtkSignalQuery GtkSignalQuery;
|
||||
|
||||
struct _GtkSignalQuery
|
||||
{
|
||||
GtkType object_type;
|
||||
guint signal_id;
|
||||
const gchar *signal_name;
|
||||
guint is_user_signal : 1;
|
||||
GtkSignalRunType signal_flags;
|
||||
GtkType return_val;
|
||||
guint nparams;
|
||||
const GtkType *params;
|
||||
};
|
||||
#define gtk_signal_default_marshaller gtk_marshal_VOID__VOID
|
||||
|
||||
|
||||
/* Application-level methods */
|
||||
guint gtk_signal_lookup (const gchar *name,
|
||||
GtkType object_type);
|
||||
gchar* gtk_signal_name (guint signal_id) G_GNUC_CONST;
|
||||
guint gtk_signal_n_emissions (GtkObject *object,
|
||||
guint signal_id);
|
||||
guint gtk_signal_n_emissions_by_name (GtkObject *object,
|
||||
const gchar *name);
|
||||
void gtk_signal_emit_stop (GtkObject *object,
|
||||
guint signal_id);
|
||||
void gtk_signal_emit_stop_by_name (GtkObject *object,
|
||||
const gchar *name);
|
||||
guint gtk_signal_connect (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data);
|
||||
guint gtk_signal_connect_after (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data);
|
||||
guint gtk_signal_connect_object (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
GtkObject *slot_object);
|
||||
guint gtk_signal_connect_object_after (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
GtkObject *slot_object);
|
||||
guint gtk_signal_connect_full (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
GtkCallbackMarshal marshal,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy_func,
|
||||
gint object_signal,
|
||||
gint after);
|
||||
|
||||
void gtk_signal_connect_object_while_alive (GtkObject *object,
|
||||
const gchar *signal,
|
||||
GtkSignalFunc func,
|
||||
GtkObject *alive_object);
|
||||
void gtk_signal_connect_while_alive (GtkObject *object,
|
||||
const gchar *signal,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkObject *alive_object);
|
||||
|
||||
void gtk_signal_disconnect (GtkObject *object,
|
||||
guint handler_id);
|
||||
void gtk_signal_disconnect_by_func (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer data);
|
||||
void gtk_signal_disconnect_by_data (GtkObject *object,
|
||||
gpointer data);
|
||||
void gtk_signal_handler_block (GtkObject *object,
|
||||
guint handler_id);
|
||||
void gtk_signal_handler_block_by_func (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer data);
|
||||
void gtk_signal_handler_block_by_data (GtkObject *object,
|
||||
gpointer data);
|
||||
void gtk_signal_handler_unblock (GtkObject *object,
|
||||
guint handler_id);
|
||||
void gtk_signal_handler_unblock_by_func (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer data);
|
||||
void gtk_signal_handler_unblock_by_data (GtkObject *object,
|
||||
gpointer data);
|
||||
guint gtk_signal_handler_pending (GtkObject *object,
|
||||
guint signal_id,
|
||||
gboolean may_be_blocked);
|
||||
guint gtk_signal_handler_pending_by_func (GtkObject *object,
|
||||
guint signal_id,
|
||||
gboolean may_be_blocked,
|
||||
GtkSignalFunc func,
|
||||
gpointer data);
|
||||
gint gtk_signal_handler_pending_by_id (GtkObject *object,
|
||||
guint handler_id,
|
||||
gboolean may_be_blocked);
|
||||
guint gtk_signal_add_emission_hook (guint signal_id,
|
||||
GtkEmissionHook hook_func,
|
||||
gpointer data);
|
||||
guint gtk_signal_add_emission_hook_full (guint signal_id,
|
||||
GtkEmissionHook hook_func,
|
||||
gpointer data,
|
||||
GDestroyNotify destroy);
|
||||
void gtk_signal_remove_emission_hook (guint signal_id,
|
||||
guint hook_id);
|
||||
|
||||
/* Report internal information about a signal. The caller has the
|
||||
* responsibility to invoke a subsequent g_free (returned_data); but
|
||||
* must not modify data pointed to by the members of GtkSignalQuery
|
||||
*/
|
||||
GtkSignalQuery* gtk_signal_query (guint signal_id);
|
||||
/* --- compat defines --- */
|
||||
#define GTK_SIGNAL_OFFSET GTK_STRUCT_OFFSET
|
||||
#define gtk_signal_init() g_type_init()
|
||||
#define gtk_signal_lookup g_signal_lookup
|
||||
#define gtk_signal_name g_signal_name
|
||||
#define gtk_signal_emit_stop g_signal_stop_emission
|
||||
#define gtk_signal_connect(o,s,f,d) gtk_signal_connect_full ((o), (s), (f), 0, (d), 0, 0, 0)
|
||||
#define gtk_signal_connect_after(o,s,f,d) gtk_signal_connect_full ((o), (s), (f), 0, (d), 0, 0, 1)
|
||||
#define gtk_signal_connect_object(o,s,f,d) gtk_signal_connect_full ((o), (s), (f), 0, (d), 0, 1, 0)
|
||||
#define gtk_signal_connect_object_after(o,s,f,d) gtk_signal_connect_full ((o), (s), (f), 0, (d), 0, 1, 1)
|
||||
#define gtk_signal_disconnect g_signal_handler_disconnect
|
||||
#define gtk_signal_handler_block g_signal_handler_block
|
||||
#define gtk_signal_handler_unblock g_signal_handler_unblock
|
||||
#define gtk_signal_disconnect_by_func(o,f,d) gtk_signal_compat_matched ((o), (f), (d), G_SIGNAL_MATCH_FUNC | \
|
||||
G_SIGNAL_MATCH_DATA, 0)
|
||||
#define gtk_signal_disconnect_by_data(o,d) gtk_signal_compat_matched ((o), 0, (d), G_SIGNAL_MATCH_DATA, 0)
|
||||
#define gtk_signal_handler_block_by_func(o,f,d) gtk_signal_compat_matched ((o), (f), (d), G_SIGNAL_MATCH_FUNC | \
|
||||
G_SIGNAL_MATCH_DATA, 1)
|
||||
#define gtk_signal_handler_block_by_data(o,d) gtk_signal_compat_matched ((o), 0, (d), G_SIGNAL_MATCH_DATA, 1)
|
||||
#define gtk_signal_handler_unblock_by_func(o,f,d) gtk_signal_compat_matched ((o), (f), (d), G_SIGNAL_MATCH_FUNC | \
|
||||
G_SIGNAL_MATCH_DATA, 2)
|
||||
#define gtk_signal_handler_unblock_by_data(o,d) gtk_signal_compat_matched ((o), 0, (d), G_SIGNAL_MATCH_DATA, 2)
|
||||
#define gtk_signal_handler_pending g_signal_has_handler_pending
|
||||
#define gtk_signal_handler_pending_by_func(o,s,b,f,d) (g_signal_handler_find ((o), G_SIGNAL_MATCH_ID | \
|
||||
G_SIGNAL_MATCH_FUNC | \
|
||||
G_SIGNAL_MATCH_DATA | \
|
||||
((b) ? 0 : G_SIGNAL_MATCH_UNBLOCKED), \
|
||||
(s), 0, (f), (d)) != 0)
|
||||
|
||||
|
||||
/* Widget-level methods */
|
||||
void gtk_signal_init (void);
|
||||
guint gtk_signal_new (const gchar *name,
|
||||
GtkSignalRunType signal_flags,
|
||||
GtkType object_type,
|
||||
guint function_offset,
|
||||
GtkSignalMarshaller marshaller,
|
||||
GtkType return_val,
|
||||
guint nparams,
|
||||
...);
|
||||
guint gtk_signal_newv (const gchar *name,
|
||||
GtkSignalRunType signal_flags,
|
||||
GtkType object_type,
|
||||
guint function_offset,
|
||||
GtkSignalMarshaller marshaller,
|
||||
GtkType return_val,
|
||||
guint nparams,
|
||||
GtkType *params);
|
||||
void gtk_signal_emit (GtkObject *object,
|
||||
guint signal_id,
|
||||
...);
|
||||
void gtk_signal_emit_by_name (GtkObject *object,
|
||||
const gchar *name,
|
||||
...);
|
||||
void gtk_signal_emitv (GtkObject *object,
|
||||
guint signal_id,
|
||||
GtkArg *params);
|
||||
void gtk_signal_emitv_by_name (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkArg *params);
|
||||
/* Non-public methods */
|
||||
void gtk_signal_handlers_destroy (GtkObject *object);
|
||||
void gtk_signal_set_funcs (GtkSignalMarshal marshal_func,
|
||||
GtkSignalDestroy destroy_func);
|
||||
|
||||
/* --- compat functions --- */
|
||||
guint gtk_signal_newv (const gchar *name,
|
||||
GtkSignalRunType signal_flags,
|
||||
GtkType object_type,
|
||||
guint function_offset,
|
||||
GtkSignalMarshaller marshaller,
|
||||
GtkType return_val,
|
||||
guint n_args,
|
||||
GtkType *args);
|
||||
guint gtk_signal_new (const gchar *name,
|
||||
GtkSignalRunType signal_flags,
|
||||
GtkType object_type,
|
||||
guint function_offset,
|
||||
GtkSignalMarshaller marshaller,
|
||||
GtkType return_val,
|
||||
guint n_args,
|
||||
...);
|
||||
void gtk_signal_emit_stop_by_name (GtkObject *object,
|
||||
const gchar *name);
|
||||
void gtk_signal_connect_object_while_alive (GtkObject *object,
|
||||
const gchar *signal,
|
||||
GtkSignalFunc func,
|
||||
GtkObject *alive_object);
|
||||
void gtk_signal_connect_while_alive (GtkObject *object,
|
||||
const gchar *signal,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkObject *alive_object);
|
||||
guint gtk_signal_connect_full (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkSignalFunc func,
|
||||
GtkCallbackMarshal unsupported,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy_func,
|
||||
gint object_signal,
|
||||
gint after);
|
||||
void gtk_signal_emitv (GtkObject *object,
|
||||
guint signal_id,
|
||||
GtkArg *args);
|
||||
void gtk_signal_emit (GtkObject *object,
|
||||
guint signal_id,
|
||||
...);
|
||||
void gtk_signal_emit_by_name (GtkObject *object,
|
||||
const gchar *name,
|
||||
...);
|
||||
void gtk_signal_emitv_by_name (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkArg *args);
|
||||
void gtk_signal_compat_matched (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer data,
|
||||
GSignalMatchType match,
|
||||
guint action);
|
||||
|
||||
|
||||
/* FIXME: non-functional relicts */
|
||||
typedef gpointer GtkEmissionHook;
|
||||
#define gtk_signal_add_emission_hook(i,h,d) (0)
|
||||
#define gtk_signal_remove_emission_hook(i,h) while (0)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -92,7 +92,7 @@ gtk_socket_get_type (void)
|
||||
(GInstanceInitFunc) gtk_socket_init,
|
||||
};
|
||||
|
||||
socket_type = g_type_register_static (GTK_TYPE_CONTAINER, "GtkSocket", &socket_info);
|
||||
socket_type = g_type_register_static (GTK_TYPE_CONTAINER, "GtkSocket", &socket_info, 0);
|
||||
}
|
||||
|
||||
return socket_type;
|
||||
|
@ -248,7 +248,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkSpinButtonClass, output),
|
||||
gtk_marshal_BOOL__NONE,
|
||||
gtk_marshal_BOOLEAN__VOID,
|
||||
GTK_TYPE_BOOL, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, spinbutton_signals, LAST_SIGNAL);
|
||||
|
@ -101,7 +101,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkStatusbarClass, text_pushed),
|
||||
gtk_marshal_NONE__UINT_STRING,
|
||||
gtk_marshal_VOID__UINT_STRING,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_UINT,
|
||||
GTK_TYPE_STRING);
|
||||
@ -110,7 +110,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkStatusbarClass, text_popped),
|
||||
gtk_marshal_NONE__UINT_STRING,
|
||||
gtk_marshal_VOID__UINT_STRING,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_UINT,
|
||||
GTK_TYPE_STRING);
|
||||
|
@ -359,7 +359,7 @@ gtk_style_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GtkStyle",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -609,7 +609,7 @@ gtk_text_class_init (GtkTextClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextClass, set_scroll_adjustments),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
||||
}
|
||||
|
||||
|
@ -96,11 +96,6 @@ static void gtk_text_buffer_real_remove_tag (GtkTextBuffer *buffe
|
||||
|
||||
static GtkTextBTree* get_btree (GtkTextBuffer *buffer);
|
||||
|
||||
void gtk_marshal_NONE__INT_POINTER_INT (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkArg *args);
|
||||
|
||||
static GtkObjectClass *parent_class = NULL;
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
@ -142,7 +137,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, insert_text),
|
||||
gtk_marshal_NONE__POINTER_POINTER_INT_INT,
|
||||
gtk_marshal_VOID__POINTER_POINTER_INT_INT,
|
||||
GTK_TYPE_NONE,
|
||||
4,
|
||||
GTK_TYPE_POINTER,
|
||||
@ -155,7 +150,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, delete_text),
|
||||
gtk_marshal_NONE__POINTER_POINTER_INT,
|
||||
gtk_marshal_VOID__POINTER_POINTER_INT,
|
||||
GTK_TYPE_NONE,
|
||||
3,
|
||||
GTK_TYPE_POINTER,
|
||||
@ -167,7 +162,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE,
|
||||
0);
|
||||
|
||||
@ -176,7 +171,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, modified_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE,
|
||||
0);
|
||||
|
||||
@ -185,7 +180,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, mark_set),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
2,
|
||||
GTK_TYPE_POINTER,
|
||||
@ -196,7 +191,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, mark_deleted),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
1,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -206,7 +201,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, apply_tag),
|
||||
gtk_marshal_NONE__POINTER_POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER_POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
3,
|
||||
GTK_TYPE_POINTER,
|
||||
@ -218,7 +213,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextBufferClass, remove_tag),
|
||||
gtk_marshal_NONE__POINTER_POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER_POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
3,
|
||||
GTK_TYPE_POINTER,
|
||||
@ -237,30 +232,6 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
|
||||
klass->remove_tag = gtk_text_buffer_real_remove_tag;
|
||||
}
|
||||
|
||||
|
||||
typedef gint (*GtkSignal_NONE__INT_POINTER_INT) (GtkObject *object,
|
||||
gint pos,
|
||||
const gchar *text,
|
||||
gint len,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
gtk_marshal_NONE__INT_POINTER_INT (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkArg *args)
|
||||
{
|
||||
GtkSignal_NONE__INT_POINTER_INT rfunc;
|
||||
|
||||
rfunc = (GtkSignal_NONE__INT_POINTER_INT) func;
|
||||
|
||||
(*rfunc) (object,
|
||||
GTK_VALUE_INT (args[0]),
|
||||
GTK_VALUE_POINTER (args[1]),
|
||||
GTK_VALUE_INT (args[2]),
|
||||
func_data);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_text_buffer_init (GtkTextBuffer *buffer)
|
||||
{
|
||||
|
@ -101,10 +101,6 @@ static void gtk_text_layout_class_init (GtkTextLayoutClass *klass);
|
||||
static void gtk_text_layout_destroy (GtkObject *object);
|
||||
static void gtk_text_layout_finalize (GObject *object);
|
||||
|
||||
void gtk_marshal_NONE__INT_INT_INT_INT (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkArg *args);
|
||||
|
||||
static GtkObjectClass *parent_class = NULL;
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
@ -149,7 +145,7 @@ gtk_text_layout_class_init (GtkTextLayoutClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextLayoutClass, invalidated),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE,
|
||||
0);
|
||||
|
||||
@ -158,7 +154,7 @@ gtk_text_layout_class_init (GtkTextLayoutClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextLayoutClass, changed),
|
||||
gtk_marshal_NONE__INT_INT_INT,
|
||||
gtk_marshal_VOID__INT_INT_INT,
|
||||
GTK_TYPE_NONE,
|
||||
3,
|
||||
GTK_TYPE_INT,
|
||||
@ -2284,28 +2280,6 @@ gtk_text_layout_move_iter_visually (GtkTextLayout *layout,
|
||||
|
||||
}
|
||||
|
||||
typedef void (*GtkSignal_NONE__INT_INT_INT_INT) (GtkObject *object,
|
||||
gint x, gint y,
|
||||
gint width, gint height,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
gtk_marshal_NONE__INT_INT_INT_INT (GtkObject *object,
|
||||
GtkSignalFunc func,
|
||||
gpointer func_data,
|
||||
GtkArg *args)
|
||||
{
|
||||
GtkSignal_NONE__INT_INT_INT_INT rfunc;
|
||||
|
||||
rfunc = (GtkSignal_NONE__INT_INT_INT_INT) func;
|
||||
(*rfunc) (object,
|
||||
GTK_VALUE_INT (args[0]),
|
||||
GTK_VALUE_INT (args[1]),
|
||||
GTK_VALUE_INT (args[2]),
|
||||
GTK_VALUE_INT (args[3]),
|
||||
func_data);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_text_layout_spew (GtkTextLayout *layout)
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ gtk_text_mark_get_type (void)
|
||||
|
||||
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||||
"GtkTextMark",
|
||||
&object_info);
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
return object_type;
|
||||
|
@ -63,7 +63,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextTagTableClass, tag_changed),
|
||||
gtk_marshal_NONE__POINTER_INT,
|
||||
gtk_marshal_VOID__POINTER_INT,
|
||||
GTK_TYPE_NONE,
|
||||
2,
|
||||
GTK_TYPE_OBJECT,
|
||||
@ -74,7 +74,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextTagTableClass, tag_added),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
1,
|
||||
GTK_TYPE_OBJECT);
|
||||
@ -84,7 +84,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextTagTableClass, tag_removed),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE,
|
||||
1,
|
||||
GTK_TYPE_OBJECT);
|
||||
|
@ -383,7 +383,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, move),
|
||||
gtk_marshal_NONE__INT_INT_INT,
|
||||
gtk_marshal_VOID__INT_INT_INT,
|
||||
GTK_TYPE_NONE, 3, GTK_TYPE_MOVEMENT_STEP, GTK_TYPE_INT, GTK_TYPE_BOOL);
|
||||
|
||||
signals[SET_ANCHOR] =
|
||||
@ -391,7 +391,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, set_anchor),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
signals[INSERT] =
|
||||
@ -399,7 +399,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, insert),
|
||||
gtk_marshal_NONE__STRING,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_STRING);
|
||||
|
||||
signals[DELETE] =
|
||||
@ -407,7 +407,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, delete),
|
||||
gtk_marshal_NONE__INT_INT,
|
||||
gtk_marshal_VOID__INT_INT,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_DELETE_TYPE, GTK_TYPE_INT);
|
||||
|
||||
signals[CUT_CLIPBOARD] =
|
||||
@ -415,7 +415,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, cut_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
signals[COPY_CLIPBOARD] =
|
||||
@ -423,7 +423,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, copy_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
signals[PASTE_CLIPBOARD] =
|
||||
@ -431,7 +431,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, paste_clipboard),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
signals[TOGGLE_OVERWRITE] =
|
||||
@ -439,7 +439,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST | GTK_RUN_ACTION,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, toggle_overwrite),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
signals[SET_SCROLL_ADJUSTMENTS] = widget_class->set_scroll_adjustments_signal =
|
||||
@ -447,7 +447,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTextViewClass, set_scroll_adjustments),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
||||
|
||||
gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL);
|
||||
|
@ -305,7 +305,7 @@ gtk_theme_engine_register_type (GtkThemeEngine *engine,
|
||||
plugin->engine = NULL;
|
||||
plugin->engine_name = NULL;
|
||||
plugin->parent_type = parent_type;
|
||||
plugin->type = g_type_register_dynamic (parent_type, type_name, (GTypePlugin *)plugin);
|
||||
plugin->type = g_type_register_dynamic (parent_type, type_name, (GTypePlugin *) plugin, 0);
|
||||
}
|
||||
|
||||
if (plugin->engine)
|
||||
|
@ -127,21 +127,21 @@ gtk_tips_query_class_init (GtkTipsQueryClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTipsQueryClass, start_query),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
tips_query_signals[SIGNAL_STOP_QUERY] =
|
||||
gtk_signal_new ("stop_query",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTipsQueryClass, stop_query),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
tips_query_signals[SIGNAL_WIDGET_ENTERED] =
|
||||
gtk_signal_new ("widget_entered",
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTipsQueryClass, widget_entered),
|
||||
gtk_marshal_NONE__POINTER_STRING_STRING,
|
||||
gtk_marshal_VOID__POINTER_STRING_STRING,
|
||||
GTK_TYPE_NONE, 3,
|
||||
GTK_TYPE_WIDGET,
|
||||
GTK_TYPE_STRING,
|
||||
@ -151,7 +151,7 @@ gtk_tips_query_class_init (GtkTipsQueryClass *class)
|
||||
GTK_RUN_LAST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTipsQueryClass, widget_selected),
|
||||
gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER,
|
||||
gtk_marshal_BOOLEAN__POINTER_STRING_STRING_POINTER,
|
||||
GTK_TYPE_BOOL, 4,
|
||||
GTK_TYPE_WIDGET,
|
||||
GTK_TYPE_STRING,
|
||||
|
@ -124,7 +124,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkToggleButtonClass, toggled),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, toggle_button_signals, LAST_SIGNAL);
|
||||
|
@ -145,7 +145,7 @@ gtk_toolbar_class_init (GtkToolbarClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkToolbarClass, orientation_changed),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
toolbar_signals[STYLE_CHANGED] =
|
||||
@ -153,7 +153,7 @@ gtk_toolbar_class_init (GtkToolbarClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkToolbarClass, style_changed),
|
||||
gtk_marshal_NONE__INT,
|
||||
gtk_marshal_VOID__INT,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_INT);
|
||||
|
||||
|
@ -117,14 +117,14 @@ gtk_tree_class_init (GtkTreeClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeClass, selection_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
tree_signals[SELECT_CHILD] =
|
||||
gtk_signal_new ("select_child",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeClass, select_child),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
tree_signals[UNSELECT_CHILD] =
|
||||
@ -132,7 +132,7 @@ gtk_tree_class_init (GtkTreeClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeClass, unselect_child),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_WIDGET);
|
||||
|
||||
|
@ -147,14 +147,14 @@ gtk_tree_item_class_init (GtkTreeItemClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeItemClass, expand),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
tree_item_signals[COLLAPSE_TREE] =
|
||||
gtk_signal_new ("collapse",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeItemClass, collapse),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, tree_item_signals, LAST_SIGNAL);
|
||||
|
@ -42,7 +42,7 @@ gtk_tree_model_get_type (void)
|
||||
NULL, /* base_finalize */
|
||||
};
|
||||
|
||||
tree_model_type = g_type_register_static (G_TYPE_INTERFACE, "GtkTreeModel", &tree_model_info);
|
||||
tree_model_type = g_type_register_static (G_TYPE_INTERFACE, "GtkTreeModel", &tree_model_info, 0);
|
||||
}
|
||||
|
||||
return tree_model_type;
|
||||
|
@ -59,7 +59,7 @@ gtk_tree_selection_get_type (void)
|
||||
(GInstanceInitFunc) gtk_tree_selection_init
|
||||
};
|
||||
|
||||
selection_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkTreeSelection", &selection_info);
|
||||
selection_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkTreeSelection", &selection_info, 0);
|
||||
}
|
||||
|
||||
return selection_type;
|
||||
@ -78,7 +78,7 @@ gtk_tree_selection_class_init (GtkTreeSelectionClass *class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeSelectionClass, selection_changed),
|
||||
gtk_marshal_NONE__NONE,
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
|
||||
gtk_object_class_add_signals (object_class, tree_selection_signals, LAST_SIGNAL);
|
||||
|
@ -90,7 +90,7 @@ gtk_tree_store_get_type (void)
|
||||
NULL
|
||||
};
|
||||
|
||||
tree_store_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkTreeStore", &tree_store_info);
|
||||
tree_store_type = g_type_register_static (GTK_TYPE_OBJECT, "GtkTreeStore", &tree_store_info, 0);
|
||||
g_type_add_interface_static (tree_store_type,
|
||||
GTK_TYPE_TREE_MODEL,
|
||||
&tree_model_info);
|
||||
@ -111,7 +111,7 @@ gtk_tree_store_class_init (GtkTreeStoreClass *tree_store_class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeStoreClass, node_changed),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -120,7 +120,7 @@ gtk_tree_store_class_init (GtkTreeStoreClass *tree_store_class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeStoreClass, node_inserted),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -129,7 +129,7 @@ gtk_tree_store_class_init (GtkTreeStoreClass *tree_store_class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeStoreClass, node_child_toggled),
|
||||
gtk_marshal_NONE__POINTER_POINTER,
|
||||
gtk_marshal_VOID__POINTER_POINTER,
|
||||
GTK_TYPE_NONE, 2,
|
||||
GTK_TYPE_POINTER,
|
||||
GTK_TYPE_POINTER);
|
||||
@ -138,7 +138,7 @@ gtk_tree_store_class_init (GtkTreeStoreClass *tree_store_class)
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkTreeStoreClass, node_deleted),
|
||||
gtk_marshal_NONE__POINTER,
|
||||
gtk_marshal_VOID__POINTER,
|
||||
GTK_TYPE_NONE, 1,
|
||||
GTK_TYPE_POINTER);
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user