GTK v1.2 Tutorial: GTK Signals

Next Previous Contents

## 28. GTK Signals

As GTK is an object oriented widget set, it has a hierarchy of inheritance. This inheritance mechanism applies for signals. Therefore, you should refer to the widget hierarchy tree when using the signals listed in this section.

## 28.1 GtkObject

> `

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

> `

## 28.2 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);

> `

## 28.3 GtkData

> `

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

> `

## 28.4 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);

> `

## 28.5 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);

> `

## 28.6 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);

> `

## 28.7 GtkTipsQuery

> `

>     void GtkTipsQuery::start-query  (GtkTipsQuery *,
>                                      gpointer);
>     void GtkTipsQuery::stop-query   (GtkTipsQuery *,
>                                      gpointer);
>     void GtkTipsQuery::widget-entered       (GtkTipsQuery *,
>                                              GtkWidget *,
>                                              GtkString *,
>                                              GtkString *,
>                                              gpointer);
>     gboolean GtkTipsQuery::widget-selected  (GtkTipsQuery *,
>                                              GtkWidget *,
>                                              GtkString *,
>                                              GtkString *,
>                                              GdkEvent *,
>                                              gpointer);

> `

## 28.8 GtkCList

> `

>     void GtkCList::select-row       (GtkCList *,
>                                      ggint,
>                                      ggint,
>                                      GdkEvent *,
>                                      gpointer);
>     void GtkCList::unselect-row     (GtkCList *,
>                                      ggint,
>                                      ggint,
>                                      GdkEvent *,
>                                      gpointer);
>     void GtkCList::row-move (GtkCList *,
>                              ggint,
>                              ggint,
>                              gpointer);
>     void GtkCList::click-column     (GtkCList *,
>                                      ggint,
>                                      gpointer);
>     void GtkCList::resize-column    (GtkCList *,
>                                      ggint,
>                                      ggint,
>                                      gpointer);
>     void GtkCList::toggle-focus-row (GtkCList *,
>                                      gpointer);
>     void GtkCList::select-all       (GtkCList *,
>                                      gpointer);
>     void GtkCList::unselect-all     (GtkCList *,
>                                      gpointer);
>     void GtkCList::undo-selection   (GtkCList *,
>                                      gpointer);
>     void GtkCList::start-selection  (GtkCList *,
>                                      gpointer);
>     void GtkCList::end-selection    (GtkCList *,
>                                      gpointer);
>     void GtkCList::toggle-add-mode  (GtkCList *,
>                                      gpointer);
>     void GtkCList::extend-selection (GtkCList *,
>                                      GtkScrollType,
>                                      ggfloat,
>                                      gboolean,
>                                      gpointer);
>     void GtkCList::scroll-vertical  (GtkCList *,
>                                      GtkScrollType,
>                                      ggfloat,
>                                      gpointer);
>     void GtkCList::scroll-horizontal        (GtkCList *,
>                                              GtkScrollType,
>                                              ggfloat,
>                                              gpointer);
>     void GtkCList::abort-column-resize      (GtkCList *,
>                                              gpointer);

> `

## 28.9 GtkNotebook

> `

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

> `

## 28.10 GtkList

> `

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

> `

## 28.11 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);

> `

## 28.12 GtkToolbar

> `

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

> `

## 28.13 GtkTree

> `

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

> `

## 28.14 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);

> `

## 28.15 GtkItem

> `

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

> `

## 28.16 GtkWindow

> `

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

> `

## 28.17 GtkHandleBox

> `

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

> `

## 28.18 GtkToggleButton

> `

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

> `

## 28.19 GtkMenuItem

> `

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

> `

## 28.20 GtkListItem

> `

>     void GtkListItem::toggle-focus-row      (GtkListItem *,
>                                              gpointer);
>     void GtkListItem::select-all    (GtkListItem *,
>                                      gpointer);
>     void GtkListItem::unselect-all  (GtkListItem *,
>                                      gpointer);
>     void GtkListItem::undo-selection        (GtkListItem *,
>                                              gpointer);
>     void GtkListItem::start-selection       (GtkListItem *,
>                                              gpointer);
>     void GtkListItem::end-selection (GtkListItem *,
>                                      gpointer);
>     void GtkListItem::toggle-add-mode       (GtkListItem *,
>                                              gpointer);
>     void GtkListItem::extend-selection      (GtkListItem *,
>                                              GtkEnum,
>                                              ggfloat,
>                                              gboolean,
>                                              gpointer);
>     void GtkListItem::scroll-vertical       (GtkListItem *,
>                                              GtkEnum,
>                                              ggfloat,
>                                              gpointer);
>     void GtkListItem::scroll-horizontal     (GtkListItem *,
>                                              GtkEnum,
>                                              ggfloat,
>                                              gpointer);

> `

## 28.21 GtkTreeItem

> `

>     void GtkTreeItem::collapse      (GtkTreeItem *,
>                                      gpointer);
>     void GtkTreeItem::expand        (GtkTreeItem *,
>                                      gpointer);

> `

## 28.22 GtkCheckMenuItem

> `

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

> `

## 28.23 GtkInputDialog

> `

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

> `

## 28.24 GtkColorSelection

> `

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

> `

## 28.25 GtkStatusBar

> `

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

> `

## 28.26 GtkCTree

> `

>     void GtkCTree::tree-select-row  (GtkCTree *,
>                                      GtkCTreeNode *,
>                                      ggint,
>                                      gpointer);
>     void GtkCTree::tree-unselect-row        (GtkCTree *,
>                                              GtkCTreeNode *,
>                                              ggint,
>                                              gpointer);
>     void GtkCTree::tree-expand      (GtkCTree *,
>                                      GtkCTreeNode *,
>                                      gpointer);
>     void GtkCTree::tree-collapse    (GtkCTree *,
>                                      ggpointer,
>                                      gpointer);
>     void GtkCTree::tree-move        (GtkCTree *,
>                                      GtkCTreeNode *,
>                                      GtkCTreeNode *,
>                                      GtkCTreeNode *,
>                                      gpointer);
>     void GtkCTree::change-focus-row-expansion       (GtkCTree *,
>                                                      GtkCTreeExpansionType,
>                                                      gpointer);

> `

## 28.27 GtkCurve

> `

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

> `

## 28.28 GtkAdjustment

> `

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

> `

Next Previous Contents