Logo Search packages:      
Sourcecode: avant-window-navigator version File versions  Download package

void awn_register_effects ( GObject *  obj,
AwnEffects *  fx 
)

Registers enter-notify and leave-notify events for managed window.

Parameters:
obj Managed window to which the effects will apply.
fx Pointer to AwnEffects structure.

Definition at line 1939 of file awn-effects.c.

                                                    {
      if (fx->focus_window) {
            awn_unregister_effects(fx);
      }
      fx->focus_window = GTK_WIDGET(obj);
      fx->enter_notify = g_signal_connect(obj, "enter-notify-event", G_CALLBACK(awn_on_enter_event), fx);
      fx->leave_notify = g_signal_connect(obj, "leave-notify-event", G_CALLBACK(awn_on_leave_event), fx);
}


Generated by  Doxygen 1.6.0   Back to index