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



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 ***



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