| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Contribute

This version was saved 17 years, 10 months ago View current version     Page history
Saved by PBworks
on June 7, 2006 at 10:53:40 am
 

Contribute

 

If you wish to make changes to both platform files and Squeak code, please send us any changeset or bug report and we'll accomplish your request for the benefits of the project.

 

If you ever want to wrap Gtk+ functions, take a look at the GtkAutoGenerate class, which auto generates primitives from headers. Here's an example:

 

header _ 'GtkEntry* gtk_entry_new (void);'.
(GtkAutoGenerate fromHeader: header) install

 

You'll then find #primitiveGtkEntryNew: in GtkPlugin and primGtkEntryNew: in GtkEntry.

For multiple headers:

 

headers _ '....;.......;......;'.
(GtkAutoGenerate fromMultipleHeaders: headers) do: ea install

 

NB: for multiple headers, no matter if there are spaces, tabs or new lines in the declarations, the most important thing is that only at the end of the headers there are no spaces.

 

Thanks for ANY contribute you'll send us :)

Comments (0)

You don't have permission to comment on this page.