Re: Updates for AbiWord Manual: Does someone want to commit these?

From: msevior_at_physics.unimelb.edu.au
Date: Sat Mar 13 2004 - 09:39:42 EST

  • Next message: Christian Neumair: "commit (both): MetaData dialog HIG tweakage"

    Hi everyone,
                Here is the example code for embedding the AbiWord bonobo
    control *AGAIN*.

    Please put this on the website so I don;t have to keep posting it every week.

    Cheers

    Martin

    The Text from the README follows...

    --------------------------------------------------------------------------

    This little demo shows how to embed a AbiWord Bonobo control into a GTK
    program.

    You'll need AbiWord > 2.0 and the GNOME_AbiWord_Control_2_0.server IDL
    file placed in /usr/lib/bonobo/servers

    Recent Linux distros like fedora-1 should this for you or you can can just
    grab a 2.0.3 GNOME rpm and "embeddable" rpm and install them.

    The program loads simple document with a nice little table called
    AbiTableTest.abw at line 240 in the test-abi2Container.c.

    You'll need to change the full path name of "/home/msevior/abiBonoboDemo"
    to where-ever you place this directory.

    If you know how to fix this to use a relative path to where the directory
    is placed, please send me a patch :-)

    To build type "make"
    The clean up type "make clean"

    To play, load in the document (or one of your own via the "load-file"
    command)
    Click in the window and start typing. Try changing th column widths, and
    heights like you normally would.

    Resize the app and watch AbiWord zoom to fit inside the new window.

    Then type "undo" in the command line and watch your changes get undone.
    Type "redo" see them come back. Type something missspelled and see it get
    underlined with squiggles.

    Have fun and think of the possiblities for your app :-)





    This archive was generated by hypermail 2.1.4 : Sat Mar 13 2004 - 09:41:37 EST