Re: Basic GTK+2.0 AbiWord porting guide

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed May 22 2002 - 19:52:48 EDT

  • Next message: Martin Sevior: "Re: STABLE dies on launch"

    Hi Dom,
            I just read your gtk-2.0 porting guide. It all makes good sense to
    me except for one item:

            Make signal callbacks private static member functions

    Would this mean that the gnome build could not inherit these callbacks?

    Cheers

    Martin

    On Wed, 22 May 2002, Dom Lachowicz wrote:

    > 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)
    >
    >



    This archive was generated by hypermail 2.1.4 : Wed May 22 2002 - 19:57:12 EDT