RGtk2 (version 2.20.31)

gtkActionConnectProxy: gtkActionConnectProxy

Description

Connects a widget to an action object as a proxy. Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. WARNING: gtk_action_connect_proxy has been deprecated since version 2.16 and should not be used in newly-written code. Use gtkActivatableSetRelatedAction instead.

Usage

gtkActionConnectProxy(object, proxy)

Arguments

object
the action object
proxy
the proxy widget

Details

If the widget is already connected to an action, it is disconnected first. Since 2.4