gitkcallback.h File Reference

libgitk callback routines More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define gitk_dialog_attach_callback(dialog, widget_id, type, user_data, callback)   gitk__dialog_attach_callback(dialog,widget_id,type,user_data,callback,PACKAGE"::"#callback"()")

Functions

void gitk__dialog_attach_callback (GitkDialogPtr const dialog, gchar *const widget_id, const GitkEventType type, gpointer user_data, GitkCallbackPtr const callback, gchar *const callback_name)
 connect a callback-method to one event-slot of a widget in a dialog. Widget related callbacks need a dialog and a widget_id. For global callbacks both parameters need to be NULL.

void gitk_dialog_detach_callback (GitkDialogPtr const dialog, gchar *const widget_id, const GitkEventType type)
 removes the callback from one event-slot of a widget

gboolean gitk_dialog_process_event (GitkDialogPtr const dialog, gchar *const widget_id, GitkEventPtr const event)
 searches event-callback lists for a callback to this event for this widget and ivokes it. It first checks the list of callbacks that belongs to the dialog. If no handler is found, the global callbacklist (those of handlers connected with dialog=NULL) is searched.

void gitk_dialog_trans_callback (GitkDialogPtr dialog)
 registers all global callbacks in giml dialog


Detailed Description

libgitk callback routines

Id
gitkcallback.h,v 1.10 2004/01/26 09:40:23 ensonic Exp

Author:
Stefan Kost <ensonic@users.sf.net>
Date:
Thu Jan 17 11:24:53 2002

Definition in file gitkcallback.h.


Generated on Thu Oct 28 10:59:24 2004 for gitk by doxygen 1.3.6