Re: [Lazarus] switch to fpc 2.4.0

2010-01-09 Thread zeljko
On Friday 08 January 2010 20:10, Graeme Geldenhuys wrote: 2010/1/8 zeljko zel...@holobit.net: I'd be like to be ready ;-) I'm still stucked to 2.2.5 so r 23379 is your friend :) Well, that is why you guys should have helped testing the 2.4.0-rc releases, otherwise what is the point of

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread Mattias Gaertner
On Sat, 9 Jan 2010 01:07:46 +0100 Kjow antispamm...@gmail.com wrote: Hi all, I need some GTK2 behaviors in my Lazarus application, so I added gtk2 unit to uses... but how to link (???) my form with PGtkWindow? e.g. new lazarus application with two buttons on the form:

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread Kjow
2010/1/9 Paul Ishenin webpi...@mail.ru: All gtk_something_new() return PGtkWidget. Just typecast it: PGtkWindow(gtk_window_new()) Best regards, Paul Ishenin. Thanks, but how can I pass form to gtkwindow? Kjow -- ___ Lazarus mailing list

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread Kjow
2010/1/9 Mattias Gaertner nc-gaert...@netcologne.de: If you want to make a form full screen under gtk, use: uses gtkproc; SetWindowFullScreen(Form1,true); Mattias Thank you! It works, but can I use gtk2 calls in lazzarus apps? Kjow -- ___

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread Mattias Gaertner
On Sat, 9 Jan 2010 10:24:26 +0100 Kjow antispamm...@gmail.com wrote: 2010/1/9 Mattias Gaertner nc-gaert...@netcologne.de: If you want to make a form full screen under gtk, use: uses gtkproc; SetWindowFullScreen(Form1,true); Mattias Thank you! It works, but can I use gtk2 calls

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread Kjow
2010/1/9 Mattias Gaertner nc-gaert...@netcologne.de: It depends. They may conflict with the gtk2 interface of the LCL. Mattias e.g. I need to use: gtk_widget_show (menu) Where menu is a menu like TMainMenu, but I don't know how to create the menu itself... I'm sorry if I'm not using

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-09 Thread Juha Manninen
On lauantai, 9. tammikuuta 2010 06:38:01 dmitry boyarintsev wrote: On Sat, Jan 9, 2010 at 12:20 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: At least the error message could mention the actual number of entries, as found in source code. This doesn't require any change to the

Re: [Lazarus] GTK2 behaviors

2010-01-09 Thread cobines
2010/1/9 Kjow antispamm...@gmail.com: e.g. I need to use: gtk_widget_show (menu) Where menu is a menu like TMainMenu, but I don't know how to create the menu itself... If you want to use LCL components in GTK then cast the Handle: MainMenu := TMainMenu.Create(...); ...

Re: [Lazarus] Shorcuts

2010-01-09 Thread Mattias Gaertner
On Fri, 08 Jan 2010 13:55:41 -0300 Horacio Jamilis hjami...@pymesoft.com.ar wrote: I was trying to assign a shortcut to the menu option - View - Components List (or something like that) that allows to search a component by class name, but it is not available in the options dialog, section