Project Homepage Sourceforge Page CVS Repository Freshmeat.net Page Download project Author's Homepage

callbacks.h

Go to the documentation of this file.
00001 /*!\file callbacks.h
00002   \brief callback functions for the application
00003 */
00004 /* NOTICE:
00005     Copyright (C) 2004  Karl N. Redman (SleepingStill.com)
00006 
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program; if not, write to the Free Software
00019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 
00021     For further information contact: parasyte@sleepingstill.com
00022 */
00023 
00024 #include <gtk/gtk.h>
00025 #ifndef _CALLBACKS_H_
00026 #define _CALLBACKS_H_
00027 
00028 
00029 void
00030 on_mainWindow_destroy                  (GtkObject       *object,
00031                                         gpointer         user_data);
00032 
00033 void
00034 on_combo_entry1_changed                (GtkEditable     *editable,
00035                                         gpointer         user_data);
00036 
00037 gboolean
00038 on_combo_entry1_key_press_event        (GtkWidget       *widget,
00039                                         GdkEventKey     *event,
00040                                         gpointer         user_data);
00041 
00042 gboolean
00043 on_combo_key_press_event        (GtkWidget       *widget,
00044                                         GdkEventKey     *event,
00045                                         gpointer         user_data);
00046 
00047 void
00048 on_browseButton_clicked                (GtkButton       *button,
00049                                         gpointer         user_data);
00050 
00051 void
00052 on_checkbutton_toggled                 (GtkToggleButton *togglebutton,
00053                                         gpointer         user_data);
00054 
00055 void
00056 on_ok_button1_clicked                  (GtkButton       *button,
00057                                         gpointer         user_data);
00058 
00059 void
00060 on_cancel_button1_clicked              (GtkButton       *button,
00061                                         gpointer         user_data);
00062 
00063 gboolean
00064 on_fileselection_key_press_event       (GtkWidget       *widget,
00065                                         GdkEventKey     *event,
00066                                         gpointer         user_data);
00067 
00068 gboolean
00069 on_mainWindow_key_press_event          (GtkWidget       *widget,
00070                                         GdkEventKey     *event,
00071                                         gpointer         user_data);
00072 void
00073 on_runButton_clicked                    (GtkButton       *button,
00074                                          gpointer         user_data);
00075 
00076 void
00077 on_optionsButton_clicked               (GtkButton       *button,
00078                                         gpointer         user_data);
00079 
00080 void
00081 on_whoEntry_activate                   (GtkEditable     *editable,
00082                                         gpointer         user_data);
00083 
00084 void
00085 on_passwordEntry_activate              (GtkEditable     *editable,
00086                                         gpointer         user_data);
00087 
00088 void
00089 on_whoEntry_grab_focus                 (GtkWidget       *widget,
00090                                         gpointer         user_data);
00091 
00092 void
00093 on_passwordEntry_grab_focus            (GtkWidget       *widget,
00094                                         gpointer         user_data);
00095 
00096 void handle_options_display();
00097 
00098 gboolean
00099 on_fileselection_delete_event          (GtkWidget       *widget,
00100                                         GdkEvent        *event,
00101                                         gpointer         user_data);
00102 
00103 ///calculate the combo box positions
00104 static void //MOVE THIS
00105 gtk_combo_get_pos (GtkCombo * combo,
00106                    gint * x,
00107                    gint * y,
00108                    gint * height,
00109                    gint * width);
00110 
00111 ///handle a dialog ok button click
00112 void
00113 dialog_ok_clicked                       (GtkButton       *button,
00114                                         gpointer         user_data);
00115 #endif //_CALLBACKS_H_

Generated on Thu Mar 18 07:26:17 2004 for run-free by doxygen 1.3.5