aboutsummaryrefslogtreecommitdiffstats
path: root/notes/test-notes.c
blob: 8352ea789ff0c3ffdb15137d0a047588338bbb08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */

#include <config.h>
#include <gnome.h>
#include <gdk/gdkx.h>

#include "e-util/e-canvas.h"
#include "widgets/e-text/e-text.h"

#include "e-note.h"

void
text_changed (GtkWidget *widget, gpointer data)
{
    g_print ("Text changed!\n");
}

gint
main (gint argc, gchar **argv)
{
    GtkWidget *note;
    
    gnome_init ("NotesTest", "0.0.1", argc, argv);

    note = e_note_new ();
    e_note_set_text (E_NOTE (note), "This is a text note widget");
    gtk_signal_connect (GTK_OBJECT (note), "changed",
                GTK_SIGNAL_FUNC (text_changed), NULL);
    
    gtk_widget_show (note);
    gtk_main ();
    
    return 0;
}
i2011-03-201-1/+0 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-211-4/+0 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Reset conrads@cox.net due to lack of time to work on FreeBSD.linimon2008-08-201-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-221-2/+1 * - Fix build with gcc 4.2miwi2007-06-263-2/+24 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * Add a new patch/files dir to news/klibido port to enable supportitetcu2007-01-132-0/+23 * - Pass maintainership to submittermiwi2006-11-011-1/+1 * Reset bouncing maintainer address.linimon2006-10-091-1/+1 * Fix plistvs2006-05-161-0/+1 * Update to 2.5vs2006-05-093-13/+17 * Conversion to a single libtool environment.ade2006-02-231-2/+2 * SHA256ifyedwin2006-01-241-0/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-0/+1 * Update to 0.2.4.1arved2005-10-292-3/+3 * Upgrade to 0.2.3.thierry2005-05-132-3/+3 * . Update to 0.2.2.2.glewis2005-04-152-3/+3 * Update to 0.2.2vs2005-03-162-4/+3 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-0/+1