Re: gtk_action_block_activate fails to block ?!?



Hi.

API docs state that this function is only intended to be called when
manually modifying state of action's proxy and this modification could
cause recursion. In reality, gtk_action_block_activate() simply causes
gtk_action_activate() function calls to be ignored.

There is no way to stop signal from being emitted when modifying
action directly. You'll need to block signal handlers that are
connected to this signal in order to avoid calling them. You may find
g_signal_handlers_block* family of functions useful here.

Tadej

-- 
Tadej BorovÅak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]