[10628] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: "GtkWindowPosition" in gtk+-1.0.1

daemon@ATHENA.MIT.EDU (D. Emilio Grimaldo Tunon)
Thu Dec 3 04:11:40 1998

Date: Thu, 03 Dec 1998 10:07:37 +0100
From: "D. Emilio Grimaldo Tunon" <emilio_tunon@nl.compuware.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Yoel Benitez Fonseca wrote:

>  Somebody can say me which is GtkWindowPosition, if it is a class, who is
> its functions and variable members, where can get this information.
>  I needs this information for obtaining data about the window ( position
> in the screen, width, height).

When in desperation do 'grep /usr/local/include/gtk/*' and
try the gdk directory as well. This shows GtkWindowPosition is
an enumeration in gtkenums.h and not a class. The info you
seek you will find in GDK ( gdk/gdk.h):

************** [ gtk_add_output(GTK_SPANISH) *****************

 Cuando estes desesperado usa "grep" en los directorios 
donde instalaste gtk y gdk (/usr/local/include/ ?). Eso me
indica que GtkWindowPosition es una enumeracion en gtkenums.h
y no una clase. La informacion que necesitas es parte de
GDK en gdk/gdk.h como lo muestro abajo:

**************************************************************

       void gdk_window_get_position    (GdkWindow       *window,
                                          gint            *x,
                                          gint            *y);
       void gdk_window_get_size        (GdkWindow       *window,
                                        gint            *width,
                                        gint            *height);


-- 
D. Emilio Grimaldo Tunon       Compuware Europe B.V. (Uniface Lab)
Software Engineer	       Amsterdam, The Netherlands
emilio_tunon@nl.compuware.com  Tel. +31 (0)20 3126 516
*** The opinions expressed hereby are mine and not my employer's ***

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post