gtkIdleAddFull {RGtk2}R Documentation

gtkIdleAddFull

Description

Like gtkIdleAdd this function allows you to have a function called when the event loop is idle. The difference is that you can give a priority different from GTK_PRIORITY_DEFAULT to the idle function. WARNING: gtk_idle_add_full is deprecated and should not be used in newly-written code. Use gIdleAddFull() instead.

Usage

gtkIdleAddFull(priority, fun, data = NULL)

Arguments

priority [integer] The priority which should not be above G_PRIORITY_HIGH_IDLE. Note that you will interfere with GTK+ if you use a priority above GTK_PRIORITY_RESIZE.
data [R object] Data to pass to that function.

Value

[numeric] A unique id for the event source.

Note

This function is deprecated. You should use GDK_PRIORITY_REDRAW instead. This function is deprecated. You should use G_PRIORITY_HIGH instead. This function is deprecated. You should use G_PRIORITY_DEFAULT_IDLE instead. This function is deprecated. You should use G_PRIORITY_LOW instead.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.8.6 Index]