Hello Everyone,
I am partially-finished writing a book on Declares for the Raspberry Pi. I have been asked to share the declares created so-far, and they are available on my Github page at:
Raspberry Pi Functionality Suite - Xojo
Keeping with the naming convention of the Windows Functionality Suite containing many declares, this is called the PiFS - Short-form for Raspberry Pi Functionality Suite. As I continue to write more declares, I’ll update the Github repository with updated PiFS versions.
Warm regards.
14 Likes
Added more declares, and the next sections will start focusing on file handling and dialogs. Here is a link to github and the updates.
Raspberry Pi Functionality Suite - Xojo. Declares for the Pi OS.
Version 1.11 (13 June 2025)
added gtk_init Declare
added gtk_window_new Declare
added gtk_main Declare
added gtk_box_new Declare
added gtk_container_set_border_width Declare
Version 1.12 (14 June 2025)
added gtk_button_new_with_label() Declare
added gtk_button_new_with_label(cLabel) Declare
readded g_idle_add Declare
Changed gtk_main from a function to a sub
added GTK_ORIENTATION_VERTICAL constant
Version 1.13 (18 June 2025)
change gtk_container_add from Sub to Function
added gtk_widget_set_size_request Declare
added gtk_fixed_new Declare
added gtk_fixed_put Declare
added gtk_widget_get_xid Declare
added gtk_widget_show Declare
changed gtk_widget_show_all from a Sub to Function
added gdk_x11_window_get_xid Declare
changed gtk_widget_realize from a Sub to Function
added xOpenDisplay Declare
added XFindWindow Declare
added gtk_container_get_children Declare
added gtk_window_get_title Declare
added GTK_ORIENTATION_HORIZONTAL Constant
added g_main_context_get_default Declare
Version 1.14 (19 June 2025)
added O_WRONLY Constant
added O_CREAT Constant
added O_TRUNC Constant
added S_IRUSR Constant
added S_IWUSR Constant
modified Open Declare
Overload Write Declare
2 Likes