mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
export the priority at which events are processed.
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org> * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which events are processed. * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp variants: gtk_container_foreach_interp, gtk_idle_add_interp, gtk_timeout_add_interp, gtk_signal_connect_interp.
This commit is contained in:
parent
cbf5479263
commit
af2c3bd16f
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
|
||||
events are processed.
|
||||
|
||||
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
|
||||
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
|
||||
gtk_timeout_add_interp, gtk_signal_connect_interp.
|
||||
|
||||
Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* configure.in: added sv to ALL_LIGNUAS
|
||||
|
40
gdk/gdk.h
40
gdk/gdk.h
@ -29,30 +29,31 @@ extern "C" {
|
||||
|
||||
/* Initialization, exit and events
|
||||
*/
|
||||
void gdk_init (int *argc,
|
||||
char ***argv);
|
||||
void gdk_exit (int error_code);
|
||||
gchar* gdk_set_locale (void);
|
||||
#define GDK_PRIORITY_EVENTS (-10)
|
||||
void gdk_init (gint *argc,
|
||||
gchar ***argv);
|
||||
void gdk_exit (gint error_code);
|
||||
gchar* gdk_set_locale (void);
|
||||
|
||||
gint gdk_events_pending (void);
|
||||
GdkEvent *gdk_event_get (void);
|
||||
GdkEvent *gdk_event_get_graphics_expose (GdkWindow *window);
|
||||
void gdk_event_put (GdkEvent *event);
|
||||
gboolean gdk_events_pending (void);
|
||||
GdkEvent* gdk_event_get (void);
|
||||
GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window);
|
||||
void gdk_event_put (GdkEvent *event);
|
||||
|
||||
GdkEvent *gdk_event_copy (GdkEvent *event);
|
||||
void gdk_event_free (GdkEvent *event);
|
||||
guint32 gdk_event_get_time (GdkEvent *event);
|
||||
GdkEvent* gdk_event_copy (GdkEvent *event);
|
||||
void gdk_event_free (GdkEvent *event);
|
||||
guint32 gdk_event_get_time (GdkEvent *event);
|
||||
|
||||
void gdk_event_handler_set (GdkEventFunc func,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
void gdk_event_handler_set (GdkEventFunc func,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
|
||||
void gdk_set_show_events (gint show_events);
|
||||
void gdk_set_use_xshm (gint use_xshm);
|
||||
void gdk_set_show_events (gint show_events);
|
||||
void gdk_set_use_xshm (gint use_xshm);
|
||||
|
||||
gint gdk_get_show_events (void);
|
||||
gint gdk_get_use_xshm (void);
|
||||
gchar *gdk_get_display (void);
|
||||
gint gdk_get_show_events (void);
|
||||
gint gdk_get_use_xshm (void);
|
||||
gchar* gdk_get_display (void);
|
||||
|
||||
guint32 gdk_time_get (void);
|
||||
guint32 gdk_timer_get (void);
|
||||
@ -65,7 +66,6 @@ gint gdk_input_add_full (gint source,
|
||||
GdkInputFunction function,
|
||||
gpointer data,
|
||||
GdkDestroyNotify destroy);
|
||||
#define gdk_input_add_interp gdk_input_add_full
|
||||
gint gdk_input_add (gint source,
|
||||
GdkInputCondition condition,
|
||||
GdkInputFunction function,
|
||||
|
@ -127,7 +127,7 @@ gdk_events_init (void)
|
||||
event_poll_fd.fd = connection_number;
|
||||
event_poll_fd.events = G_IO_IN;
|
||||
|
||||
g_main_add_poll (&event_poll_fd, -10);
|
||||
g_main_add_poll (&event_poll_fd, GDK_PRIORITY_EVENTS);
|
||||
|
||||
/* This is really crappy. We have to look into the display structure
|
||||
* to find the base resource id. This is only needed for recording
|
||||
@ -160,7 +160,7 @@ gdk_events_init (void)
|
||||
*--------------------------------------------------------------
|
||||
*/
|
||||
|
||||
gint
|
||||
gboolean
|
||||
gdk_events_pending (void)
|
||||
{
|
||||
return (queued_events || putback_events);
|
||||
|
@ -127,7 +127,7 @@ gdk_events_init (void)
|
||||
event_poll_fd.fd = connection_number;
|
||||
event_poll_fd.events = G_IO_IN;
|
||||
|
||||
g_main_add_poll (&event_poll_fd, -10);
|
||||
g_main_add_poll (&event_poll_fd, GDK_PRIORITY_EVENTS);
|
||||
|
||||
/* This is really crappy. We have to look into the display structure
|
||||
* to find the base resource id. This is only needed for recording
|
||||
@ -160,7 +160,7 @@ gdk_events_init (void)
|
||||
*--------------------------------------------------------------
|
||||
*/
|
||||
|
||||
gint
|
||||
gboolean
|
||||
gdk_events_pending (void)
|
||||
{
|
||||
return (queued_events || putback_events);
|
||||
|
@ -1152,17 +1152,6 @@ gtk_container_foreach_unmarshal (GtkWidget *child,
|
||||
fdata->callback (fdata->container, fdata->callback_data, 1, args);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_container_foreach_interp (GtkContainer *container,
|
||||
GtkCallbackMarshal marshal,
|
||||
gpointer callback_data,
|
||||
GtkDestroyNotify notify)
|
||||
{
|
||||
g_message ("gtk_container_foreach_interp() is deprecated");
|
||||
gtk_container_foreach_full (container, NULL, marshal,
|
||||
callback_data, notify);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_container_foreach_full (GtkContainer *container,
|
||||
GtkCallback callback,
|
||||
|
@ -221,11 +221,6 @@ void gtk_container_unblock_resize (GtkContainer *container);
|
||||
|
||||
/* Use gtk_container_check_resize() instead */
|
||||
gint gtk_container_need_resize (GtkContainer *container);
|
||||
/* use gtk_container_foreach_full() inistead */
|
||||
void gtk_container_foreach_interp (GtkContainer *container,
|
||||
GtkCallbackMarshal marshal,
|
||||
gpointer callback_data,
|
||||
GtkDestroyNotify notify);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -1006,15 +1006,6 @@ gtk_timeout_add (guint32 interval,
|
||||
return g_timeout_add_full (0, interval, function, data, NULL);
|
||||
}
|
||||
|
||||
guint
|
||||
gtk_timeout_add_interp (guint32 interval,
|
||||
GtkCallbackMarshal function,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy)
|
||||
{
|
||||
return gtk_timeout_add_full (interval, NULL, function, data, destroy);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_timeout_remove (guint tag)
|
||||
{
|
||||
@ -1061,14 +1052,6 @@ gtk_idle_add_priority (gint priority,
|
||||
return g_idle_add_full (priority, function, data, NULL);
|
||||
}
|
||||
|
||||
guint
|
||||
gtk_idle_add_interp (GtkCallbackMarshal marshal,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy)
|
||||
{
|
||||
return gtk_idle_add_full (GTK_PRIORITY_DEFAULT, NULL, marshal, data, destroy);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_idle_remove (guint tag)
|
||||
{
|
||||
|
@ -138,14 +138,6 @@ void gtk_key_snooper_remove (guint snooper_handler_id);
|
||||
GdkEvent* gtk_get_current_event (void);
|
||||
GtkWidget* gtk_get_event_widget (GdkEvent *event);
|
||||
|
||||
/* deprecated */
|
||||
guint gtk_idle_add_interp (GtkCallbackMarshal marshal,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy);
|
||||
guint gtk_timeout_add_interp (guint32 interval,
|
||||
GtkCallbackMarshal function,
|
||||
gpointer data,
|
||||
GtkDestroyNotify notify);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -760,20 +760,6 @@ gtk_signal_connect_full (GtkObject *object,
|
||||
object_signal, after, FALSE);
|
||||
}
|
||||
|
||||
guint
|
||||
gtk_signal_connect_interp (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkCallbackMarshal func,
|
||||
gpointer func_data,
|
||||
GtkDestroyNotify destroy_func,
|
||||
gint after)
|
||||
{
|
||||
g_message ("gtk_signal_connect_interp() is deprecated");
|
||||
|
||||
return gtk_signal_connect_full (object, name, NULL, func,
|
||||
func_data, destroy_func, FALSE, after);
|
||||
}
|
||||
|
||||
guint
|
||||
gtk_signal_connect_object (GtkObject *object,
|
||||
const gchar *name,
|
||||
|
@ -185,13 +185,6 @@ void gtk_signal_set_funcs (GtkSignalMarshal marshal_func,
|
||||
*/
|
||||
GtkSignalQuery* gtk_signal_query (guint signal_id);
|
||||
|
||||
/* deprecated */
|
||||
guint gtk_signal_connect_interp (GtkObject *object,
|
||||
const gchar *name,
|
||||
GtkCallbackMarshal func,
|
||||
gpointer data,
|
||||
GtkDestroyNotify destroy_func,
|
||||
gint after);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user