Re: [gtk-list] gtk lines and points
- From: Rob Browning <rlb cs utexas edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk lines and points
- Date: 28 Mar 1998 19:38:14 -0600
Omar Armas <kaos@indyta.iquimica.unam.mx> writes:
> i know there's a XDrawLine and XDrawPoint in motif, but how can i do it
> under gtk?
>
> i tried the gdk info, but there are a lot of empty nodes.
> where can i find more documentation?
The best place to look is the headers and the source. (The source
really is quite readable). Also check out gtk/testgtk.c in the source
tree. In your case, you want to look at /usr/include/gdk/gdk.h which
includes:
*/
void gdk_draw_point (GdkDrawable *drawable,
GdkGC *gc,
gint x,
gint y);
void gdk_draw_line (GdkDrawable *drawable,
GdkGC *gc,
gint x1,
gint y1,
gint x2,
gint y2);
etc.
> is there something like a DrawingArea widget?
/usr/include/gtk/gtkdrawingarea.h
--
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]