Re: [gtk-list] Signals



Udo Giacomozzi wrote:

> Where can I find information about what signals widgets (for example a
> window) can emmit?
>
> *For example* I need to know how to get notified when a certain window is
> being selected.
>
> Regards
> Udo Giacomozzi

The 28th section of the tutorial, named GTK Signals shows, by hierarchy, every
signals a GtkObject can emit. So for example, everything in Gtk can be
destroyed.

In case of the Windows,  you can connect the signal set-focus. which is
probably what you're looking for, and if not...

But as a window is also a widget, the windows can emit the following signals :

show
hide

    map

    unmap

    realize

    unrealize

    draw


    draw-focus

    draw-default

    size-request


    size-allocate


    state-changed

    parent-set

    style-set

    add-accelerator


    remove-accelerator


     event

     button-press-event


     button-release-event


     motion-notify-event


     delete-event


     destroy-event


     expose-event


     key-press-event


     key-release-event


     enter-notify-event


     leave-notify-event


     configure-event


     focus-in-event


     focus-out-event


     map-event


     unmap-event


     property-notify-event


     selection-clear-event


     selection-request-event


     selection-notify-event


    selection-get


    selection-received

I'm sure the one you're looking for is in !

Bruno



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