On Mon, 4 Jun 2007 03:37:51 -0300
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:
> On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > fpc header for the gdk function is
> >
> > procedure gdk_window_get_frame_extents(window:PGdkWindow;
> > rect:PGdkRectangle);
> >
> > so, having
On Sun, 3 Jun 2007 19:10:02 -0300
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:
> I don't have access to FPC right now, but it seems as if PGdkRectangle
> is a pointer type already, not a record type?
>
> -Flávio
Thanks for that. If I replace the PGtkRectangle with a TRect, or a
simple home-grown
Hello, all.
I'm trying to get the current position and size of a GTK2 gtkwindow
using the following:
===
function configure_event(widget: PGtkWidget; event : PGdkEvent; data :
gpointer):gboolean;cdecl;
var
grect :PGdkRectangle;
begin
gdk_window_get_frame_extents(GDK_WINDOW(widget^.window),