Re: Text in Drawing area



Use the "gdk_draw..." functions to draw whatever you want into the window of
the DrawingArea. You can get the Gdk window handle from the .window field in
GtkWidget. You cannot get the window handle until the DrawingArea is
realized, and you cannot realize a drawing area manually until it has a real
parent window (segfault otherwise).

Best Regards,
Norman Black
Stony Brook Software

----- Original Message -----
From: "Marco Quezada" <mquezada nlxcorp com>
To: "GTK List" <gtk-app-devel-list gnome org>
Sent: Thursday, October 12, 2000 08:06 AM
Subject: Text in Drawing area


Hi all,

A quick question since the tutorial doesn't have the drawing area
documented.  Is it possible to insert text strings into a drawing area?
And can this be rotated at different angles?

Thanks.

--
Marco Quezada
Aerospaceo Engineero
NLX Corporation
22626 Sally Ride Dr.
Sterling, VA, 20164
703-234-2100 x1028




_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]