Sign in Join

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

Mailing lists / lazarus / 2000-08

GTK WidgetSet

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author
1 . Is there a document on the net that show you all widgets that exists at this moment ? I remember I have seen a tree-like overview somewhere but now I can't find it again :-(

You can use the C documentation found on http://www.gtk.org

2. If a components don't exist as a widget and I want to create it, could I create it the same way as in Delphi or ?

No, GTK has no real class model, it's a pure C library with object like features

Peter

Reply by email

Unknown author

Hi

1 . Is there a document on the net that show you
all widgets that exists at this moment ?
I remember I have seen a tree-like overview somewhere but now I can't find it again :-(

2. If a components don't exist as a widget and I
want to create it, could I create it the same way
as in Delphi or ?

Chris

Reply by email

Shane Miller

If your talking about which widgets exist in Lazarus, you should go to http://www.lazarus.freepascal.org/documentation.php3?language=english

You can view all the classes and such and that should give you an idea of what controls exist.

In regards to your second question: If you want to create the control in Lazarus and it's just a combination of two or more existing controls then the answer is "yrs". You can create the control just like you would in Delphi. Create a class that inherits from the TCustom??? and add your code to the class definition. However, if you want to add something like a TGRID control or something, it should be looked at first in GTK to see if it exists there. Then all you would need to do is write the interface between GTK and the LCL.....

If you need any help, just let the mailing list know... Shane

>> 08/13/00 10:48PM >>>

Hi

1 . Is there a document on the net that show you
all widgets that exists at this moment ?
I remember I have seen a tree-like overview somewhere but now I can't find it again :-(

2. If a components don't exist as a widget and I
want to create it, could I create it the same way
as in Delphi or ?

Chris

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email