Very basic porting guide, for your enjoyment/amusement. xap_UnixDialog_About is finished. Functions of interest are:
/*! * Runs the dialog \me as a modal dialog * 1) Connect focus to toplevel frame * 2) Centers dialog over toplevel window * 3) Connects F1 to help system * 4) Makes dialog modal * 5) Returns value of gtk_dialog_run(me) * 6) Destroys the dialog */ gint abiRunModalDialog(GtkDialog * me, XAP_Frame * pFrame, XAP_Dialog * pDlg) /*! * Runs the dialog \me as a modeless dialog * 1) Connect focus to toplevel frame * 2) Centers dialog over toplevel window * 3) Makes the App remember this modeless dialog * 4) Connects F1 to help system * 5) Makes dialog non-modal (modeless) */ void abiRunModelessDialog(GtkDialog * me, XAP_Frame * pFrame, XAP_Dialog * pDlg) /*! * Create a new GtkDialog */ GtkWidget * abiDialogNew(gboolean resizable) /*! * Create a new GtkDialog with this title */ GtkWidget * abiDialogNew(gboolean resizable, const char * title, ...) /*! * Calls gtk_widget_destroy on \me if \me is non-null * and GTK_IS_WIDGET(me) */ void abiDestroyWidget(GtkWidget * me)
gtk+2_porting_guide.abw
Description: application/abiword
signature.asc
Description: This is a digitally signed message part
