Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

TScrollingWinControl with GTK2

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

Hello General mailing list!

I have few components based on TScrollingWinControl, but under GTK2 an exception is called in

1. unit      gtkproc.inc
2. procedure ConnectSignal(const AnObject:PGTKObject; const ASignal: PChar;
3. line      HasRealizeSignal:=g_signal_lookup('realize', GTK_OBJECT_TYPE(AnObject))>0;

The code to reproduce it:

   with TScrollingWinControl.Create(self) do begin
    Parent := self;
  end;

... and the parent is just TForm.

What is going on, or what else should be set on GTK2 not to have that exception.

Reply by email