因为 GTK 是一个面向对象的构件集,它有一个继承的层次。这个继承机制也应用于信号。因此,当你使用这个一章所列出的信号的时候,应该同时参考构件层次树。

GtkObject

void GtkObject::destroy    (GtkObject *,
                            gpointer);

GtkWidget

void GtkWidget::show    (GtkWidget *,
                         gpointer);
void GtkWidget::hide    (GtkWidget *,
                         gpointer);
void GtkWidget::map    (GtkWidget *,
                        gpointer);
void GtkWidget::unmap    (GtkWidget *,
                          gpointer);
void GtkWidget::realize    (GtkWidget *,
                            gpointer);
void GtkWidget::unrealize    (GtkWidget *,
                              gpointer);
void GtkWidget::draw    (GtkWidget *,
                         ggpointer,
                         gpointer);
void GtkWidget::draw-focus    (GtkWidget *,
                               gpointer);
void GtkWidget::draw-default    (GtkWidget *,
                                 gpointer);
void GtkWidget::size-request    (GtkWidget *,
                                 ggpointer,
                                 gpointer);
void GtkWidget::size-allocate    (GtkWidget *,
                                  ggpointer,
                                  gpointer);
void GtkWidget::state-changed    (GtkWidget *,
                                  GtkStateType,
                                  gpointer);
void GtkWidget::parent-set    (GtkWidget *,
                               GtkObject *,
                               gpointer);
void GtkWidget::style-set    (GtkWidget *,
                              GtkStyle *,
                              gpointer);
void GtkWidget::add-accelerator    (GtkWidget *,
                                    gguint,
                                    GtkAccelGroup *,
                                    gguint,
                                    GdkModifierType,
                                    GtkAccelFlags,
                                    gpointer);
void GtkWidget::remove-accelerator    (GtkWidget *,
                                       GtkAccelGroup *,
                                       gguint,
                                       GdkModifierType,
                                       gpointer);
gboolean GtkWidget::event    (GtkWidget *,
                              GdkEvent *,
                              gpointer);
gboolean GtkWidget::button-press-event    (GtkWidget *,
                                           GdkEvent *,
                                           gpointer);
gboolean GtkWidget::button-release-event    (GtkWidget *,
                                             GdkEvent *,
                                             gpointer);
gboolean GtkWidget::motion-notify-event    (GtkWidget *,
                                            GdkEvent *,
                                            gpointer);
gboolean GtkWidget::delete-event    (GtkWidget *,
                                     GdkEvent *,
                                     gpointer);
gboolean GtkWidget::destroy-event    (GtkWidget *,
                                      GdkEvent *,
                                      gpointer);
gboolean GtkWidget::expose-event    (GtkWidget *,
                                     GdkEvent *,
                                     gpointer);
gboolean GtkWidget::key-press-event    (GtkWidget *,
                                        GdkEvent *,
                                        gpointer);
gboolean GtkWidget::key-release-event    (GtkWidget *,
                                          GdkEvent *,
                                          gpointer);
gboolean GtkWidget::enter-notify-event    (GtkWidget *,
                                           GdkEvent *,
                                           gpointer);
gboolean GtkWidget::leave-notify-event    (GtkWidget *,
                                           GdkEvent *,
                                           gpointer);
gboolean GtkWidget::configure-event    (GtkWidget *,
                                        GdkEvent *,
                                        gpointer);
gboolean GtkWidget::focus-in-event    (GtkWidget *,
                                       GdkEvent *,
                                       gpointer);
gboolean GtkWidget::focus-out-event    (GtkWidget *,
                                        GdkEvent *,
                                        gpointer);
gboolean GtkWidget::map-event    (GtkWidget *,
                                  GdkEvent *,
                                  gpointer);
gboolean GtkWidget::unmap-event    (GtkWidget *,
                                    GdkEvent *,
                                    gpointer);
gboolean GtkWidget::property-notify-event    (GtkWidget *,
                                              GdkEvent *,
                                              gpointer);
gboolean GtkWidget::selection-clear-event    (GtkWidget *,
                                              GdkEvent *,
                                              gpointer);
gboolean GtkWidget::selection-request-event    (GtkWidget *,
                                                GdkEvent *,
                                                gpointer);
gboolean GtkWidget::selection-notify-event    (GtkWidget *,
                                               GdkEvent *,
                                               gpointer);
void GtkWidget::selection-get    (GtkWidget *,
                                  GtkSelectionData *,
                                  gguint,
                                  gpointer);
void GtkWidget::selection-received    (GtkWidget *,
                                       GtkSelectionData *,
                                       gguint,
                                       gpointer);
gboolean GtkWidget::proximity-in-event    (GtkWidget *,
                                           GdkEvent *,
                                           gpointer);
gboolean GtkWidget::proximity-out-event    (GtkWidget *,
                                            GdkEvent *,
                                            gpointer);
void GtkWidget::drag-begin    (GtkWidget *,
                               GdkDragContext *,
                               gpointer);
void GtkWidget::drag-end    (GtkWidget *,
                             GdkDragContext *,
                             gpointer);
void GtkWidget::drag-data-delete    (GtkWidget *,
                                     GdkDragContext *,
                                     gpointer);
void GtkWidget::drag-leave    (GtkWidget *,
                               GdkDragContext *,
                               gguint,
                               gpointer);
gboolean GtkWidget::drag-motion    (GtkWidget *,
                                    GdkDragContext *,
                                    ggint,
                                    ggint,
                                    gguint,
                                    gpointer);
gboolean GtkWidget::drag-drop    (GtkWidget *,
                                  GdkDragContext *,
                                  ggint,
                                  ggint,
                                  gguint,
                                  gpointer);
void GtkWidget::drag-data-get    (GtkWidget *,
                                  GdkDragContext *,
                                  GtkSelectionData *,
                                  gguint,
                                  gguint,
                                  gpointer);
void GtkWidget::drag-data-received    (GtkWidget *,
                                       GdkDragContext *,
                                       ggint,
                                       ggint,
                                       GtkSelectionData *,
                                       gguint,
                                       gguint,
                                       gpointer);
gboolean GtkWidget::client-event    (GtkWidget *,
                                     GdkEvent *,
                                     gpointer);
gboolean GtkWidget::no-expose-event    (GtkWidget *,
                                        GdkEvent *,
                                        gpointer);
gboolean GtkWidget::visibility-notify-event    (GtkWidget *,
                                                GdkEvent *,
                                                gpointer);
void GtkWidget::debug-msg    (GtkWidget *,
                              GtkString *,
                              gpointer);

GtkData


void GtkData::disconnect    (GtkData *,
                             gpointer);

GtkContainer

void GtkContainer::add    (GtkContainer *,
                           GtkWidget *,
                           gpointer);
void GtkContainer::remove    (GtkContainer *,
                              GtkWidget *,
                              gpointer);
void GtkContainer::check-resize    (GtkContainer *,
                                    gpointer);
GtkDirectionType GtkContainer::focus    (GtkContainer *,
                                         GtkDirectionType,
                                         gpointer);
void GtkContainer::set-focus-child    (GtkContainer *,
                                       GtkWidget *,
                                       gpointer);

GtkCalendar

void GtkCalendar::month-changed    (GtkCalendar *,
                                    gpointer);
void GtkCalendar::day-selected    (GtkCalendar *,
                                   gpointer);
void GtkCalendar::day-selected-double-click    (GtkCalendar *,
                                                gpointer);
void GtkCalendar::prev-month    (GtkCalendar *,
                                 gpointer);
void GtkCalendar::next-month    (GtkCalendar *,
                                 gpointer);
void GtkCalendar::prev-year    (GtkCalendar *,
                                gpointer);
void GtkCalendar::next-year    (GtkCalendar *,
                                gpointer);

GtkEditable

void GtkEditable::changed    (GtkEditable *,
                              gpointer);
void GtkEditable::insert-text    (GtkEditable *,
                                  GtkString *,
                                  ggint,
                                  ggpointer,
                                  gpointer);
void GtkEditable::delete-text    (GtkEditable *,
                                  ggint,
                                  ggint,
                                  gpointer);
void GtkEditable::activate    (GtkEditable *,
                               gpointer);
void GtkEditable::set-editable    (GtkEditable *,
                                   gboolean,
                                   gpointer);
void GtkEditable::move-cursor    (GtkEditable *,
                                  ggint,
                                  ggint,
                                  gpointer);
void GtkEditable::move-word    (GtkEditable *,
                                ggint,
                                gpointer);
void GtkEditable::move-page    (GtkEditable *,
                                ggint,
                                ggint,
                                gpointer);
void GtkEditable::move-to-row    (GtkEditable *,
                                  ggint,
                                  gpointer);
void GtkEditable::move-to-column    (GtkEditable *,
                                     ggint,
                                     gpointer);
void GtkEditable::kill-char    (GtkEditable *,
                                ggint,
                                gpointer);
void GtkEditable::kill-word    (GtkEditable *,
                                ggint,
                                gpointer);
void GtkEditable::kill-line    (GtkEditable *,
                                ggint,
                                gpointer);
void GtkEditable::cut-clipboard    (GtkEditable *,
                                    gpointer);
void GtkEditable::copy-clipboard    (GtkEditable *,
                                     gpointer);
void GtkEditable::paste-clipboard    (GtkEditable *,
                                      gpointer);

GtkNotebook

void GtkNotebook::switch-page    (GtkNotebook *,
                                  ggpointer,
                                  gguint,
                                  gpointer);

GtkList

void GtkList::selection-changed    (GtkList *,
                                    gpointer);
void GtkList::select-child    (GtkList *,
                               GtkWidget *,
                               gpointer);
void GtkList::unselect-child    (GtkList *,
                                 GtkWidget *,
                                 gpointer);

GtkMenuShell

void GtkMenuShell::deactivate    (GtkMenuShell *,
                                  gpointer);
void GtkMenuShell::selection-done    (GtkMenuShell *,
                                      gpointer);
void GtkMenuShell::move-current    (GtkMenuShell *,
                                    GtkMenuDirectionType,
                                    gpointer);
void GtkMenuShell::activate-current    (GtkMenuShell *,
                                        gboolean,
                                        gpointer);
void GtkMenuShell::cancel    (GtkMenuShell *,
                              gpointer);

GtkToolbar


void GtkToolbar::orientation-changed    (GtkToolbar *,
                                         ggint,
                                         gpointer);
void GtkToolbar::style-changed    (GtkToolbar *,
                                   ggint,
                                   gpointer);

GtkButton


void GtkButton::pressed    (GtkButton *,
                            gpointer);
void GtkButton::released    (GtkButton *,
                             gpointer);
void GtkButton::clicked    (GtkButton *,
                            gpointer);
void GtkButton::enter    (GtkButton *,
                          gpointer);
void GtkButton::leave    (GtkButton *,
                          gpointer);

GtkItem


void GtkItem::select    (GtkItem *,
                         gpointer);
void GtkItem::deselect    (GtkItem *,
                           gpointer);
void GtkItem::toggle    (GtkItem *,
                         gpointer);

GtkWindow

void GtkWindow::set-focus    (GtkWindow *,
                              ggpointer,
                              gpointer);

GtkHandleBox


void GtkHandleBox::child-attached    (GtkHandleBox *,
                                      GtkWidget *,
                                      gpointer);
void GtkHandleBox::child-detached    (GtkHandleBox *,
                                      GtkWidget *,
                                      gpointer);

GtkToggleButton

void GtkToggleButton::toggled    (GtkToggleButton *,
                                  gpointer);

GtkMenuItem

void GtkMenuItem::activate    (GtkMenuItem *,
                               gpointer);
void GtkMenuItem::activate-item    (GtkMenuItem *,
                                    gpointer);

GtkCheckMenuItem

void GtkCheckMenuItem::toggled    (GtkCheckMenuItem *,
                                   gpointer);

GtkInputDialog


void GtkInputDialog::enable-device    (GtkInputDialog *,
                                       ggint,
                                       gpointer);
void GtkInputDialog::disable-device    (GtkInputDialog *,
                                        ggint,
                                        gpointer);

GtkColorSelection


void GtkColorSelection::color-changed    (GtkColorSelection *,
                                          gpointer);

GtkStatusBar


void GtkStatusbar::text-pushed    (GtkStatusbar *,
                                   gguint,
                                   GtkString *,
                                   gpointer);
void GtkStatusbar::text-popped    (GtkStatusbar *,
                                   gguint,
                                   GtkString *,
                                   gpointer);

GtkCurve


void GtkCurve::curve-type-changed    (GtkCurve *,
                                      gpointer);

GtkAdjustment


void GtkAdjustment::changed    (GtkAdjustment *,
                                gpointer);
void GtkAdjustment::value-changed    (GtkAdjustment *,
                                      gpointer);