Embed GTK3 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon and there are more demos here Page 2 demos Page 3 demos Page 4 demos Page...
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
Class to Bacon
GRID-PACKING ported from the grid-packing example in gtk3 sources modified for BaCon use Example code: grid-packing-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_container_add PROTO gtk_container_set_border_width...
GRID-PACKING ported from the grid-packing example in gtk3 sources modified for BaCon use Example code: grid-packing-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_container_add PROTO gtk_container_set_border_width...
SCROLLED Example code: scrolled-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_container_add PROTO gtk_container_set_border_width PROTO gtk_scrolled_window_add_with_viewport PROTO gtk_scrolled_window_set_policy...
SCROLLED Example code: scrolled-gtk3-proto.bac ~~~~~~ '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS pkg-config --cflags gtk+-3.0 PRAGMA LDFLAGS pkg-config --libs gtk+-3.0 PRAGMA INCLUDE <gtk-3.0 gtk="" gtk.h=""> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE</gtk-3.0> PROTO gtk_container_add PROTO gtk_container_set_border_width PROTO gtk_scrolled_window_add_with_viewport PROTO...
Widget examples HSCALE KEYPRESSED HSCALE Example code: hscale-gtk2-proto.bac PRAGMA LDFLAGS `pkg-config --cflags --libs gtk+-2.0` '--- '--- GTK example with BACON '--- March 2009 - PvE. '--- Adapted November 2009. adapted for Hscale 2013 alexfish '--- Ported to PROTO/PRAGMA/IMPORT syntax 2013 bigbass '--- Get needed functions from GTK PROTO gtk_table_attach_defaults PROTO gtk_window_set_title PROTO gtk_button_new_from_stock 'PROTO gtk_range_get_value PROTO gtk_table_new PROTO gtk_window_new PROTO...
Page4
FILECHOOSER Example code: filechooser-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_file_chooser_dialog_new PROTO gtk_dialog_run PROTO gtk_file_chooser_get_filename PROTO gtk_widget_destroy PROTO gtk_init...
IF tabnumber < 1 THEN tabnumber = 1 END IF END SUB
Page7
Page5
ENTRY source code ported from here https://developer.gnome.org/gnome-devel-demos/stable/entry.c.html.en Example code: entry-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO...
TABS3 Example code: tabs3-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_button_new_with_label PROTO gtk_label_new PROTO gtk_notebook_new PROTO gtk_window_new...
TABS3 Example code: tabs3-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_button_new_with_label PROTO gtk_label_new PROTO gtk_notebook_new PROTO gtk_window_new...
Page3
ENTRY source code converted to PROTO https://developer.gnome.org/gnome-devel-demos/stable/entry.c.html.en Example code: entry-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new...
ENTRY source code converted to PROTO https://developer.gnome.org/gnome-devel-demos/stable/entry.c.html.en Example code: entry-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new...
Page3
TOGGLE-SPINNER Example code: toggle-spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add...
TOGGLE-SPINNER Example code: toggle-spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add...
Page3
Page3
Page3
MENU2 http://zetcode.com/tutorials/gtktutorial/menusandtoolbars/ Image menus, removed the mnemonics & accelerators to make it easier to compile Example code: menu2-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE...
MENU2 http://zetcode.com/tutorials/gtktutorial/menusandtoolbars/ Image menus, removed the mnemonics & accelerators to make it easier to compile Example code: menu2-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE...
TABS3 Example code: tabs3-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_button_new_with_label PROTO gtk_label_new PROTO gtk_notebook_new PROTO gtk_window_new...
TABS3 Example code: tabs3-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_button_new_with_label PROTO gtk_label_new PROTO gtk_notebook_new PROTO gtk_window_new...
TOGGLE-SPINNER Example code: toggle-spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add...
TOGGLE-SPINNER Example code: toggle-spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add...
TOGGLE-SPINNER Example code: toggle-spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add...
Page2
Page2
CHECK how to convert official examples to Simplified embedded gtk ones in BaCon using this official example code as the reference https://developer.gnome.org/gnome-devel-demos/stable/checkbutton.c.html.en Example code: check-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS...
Embed GTK3 and GTK2 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon and there are more demos here Page 2 demos Page 3 demos...
Embed GTK3 and GTK2 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon and there are more demos here Page 2 demos [Page 3 demos]https://sourceforge.net/p/baconproto/wiki/Page3/)...
Embed GTK3 and GTK2 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon and there are more demos here Page 2 demos https://sourceforge.net/p/baconproto/wiki/Page3/...
Embed GTK3 and GTK2 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon and there are more demos here https://sourceforge.net/p/baconproto/wiki/Page2/...
Embed GTK3 and GTK2 in BaCon updated to work on mint 20.1 xfce 64bit 2021 Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples ported to BaCon code as a reference only to make it easier to see how to code it with BaCon
PROGRESS This is how to add a timeout to GTK3 and use it with PROTO now the progressbar auto updates automatically there wasn't a complete simple example so I had to make one I had to add a few void* casts for 64 bit machines Example code: progress-gtk3-proto.bac '--- updated to work with 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER...
PROGRESS This is how to add a timeout to GTK3 and use it with PROTO now the progressbar auto updates automatically there wasn't a complete simple example so I had to make one and notice pointer free code Example code: progress-gtk3-proto.bac '--- updated to work with 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE...
SPINBUTTON3 original code ported and modified https://developer.gnome.org/gnome-devel-demos/stable/spinbutton.c.html.en] Example code: spinbutton-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE FALSE PROTO gtk_label_set_text PROTO gtk_container_add PROTO gtk_container_set_border_width...
SPINBUTTON3 original code ported and modified https://developer.gnome.org/gnome-devel-demos/stable/spinbutton.c.html.en] Example code: spinbutton-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE FALSE PROTO gtk_label_set_text PROTO gtk_container_add PROTO gtk_container_set_border_width...
SWITCH Example code: switch-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add PROTO gtk_widget_show_all...
SWITCH Example code: switch-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add PROTO gtk_widget_show_all...
SWITCH Example code: switch-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_container_add PROTO gtk_widget_show_all...
TEXT another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO...
TEXT ![]https://sourceforge.net/p/baconproto/wiki/_discuss/thread/7eb08a4b/9946/attachment/text-gtk3-proto.png) another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS...
TEXT ![image]https://sourceforge.net/p/baconproto/wiki/discuss/thread/7eb08a4b/9946/attachment/text-gtk3-proto.png) another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA...
TEXT another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO...
TEXT another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO...
TEXT another official example https://developer.gnome.org/gnome-devel-demos/stable/textview.c.html.en Example code: text-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit -Wno-deprecated-declarations OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO...
RADIO https://developer.gnome.org/gnome-devel-demos/stable/radiobutton.c.html.en Example code: radio-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_box_set_homogeneous...
RADIO https://developer.gnome.org/gnome-devel-demos/stable/radiobutton.c.html.en Example code: radio-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_box_set_homogeneous...
RADIO https://developer.gnome.org/gnome-devel-demos/stable/radiobutton.c.html.en Example code: radio-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc OPTION PARSE FALSE PROTO gtk_init PROTO gtk_window_new PROTO gtk_main PROTO gtk_main_quit PROTO g_signal_connect_data PROTO gtk_box_set_homogeneous...
SPINNER original code was not complete to show callbacks and a fully working example https://developer.gnome.org/gnome-devel-demos/stable/spinner.c.html.en had to add callbacks , buttons and signals Example code: spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit...
SPINNER original code was not complete to show callbacks and a fully working example https://developer.gnome.org/gnome-devel-demos/stable/spinner.c.html.en had to add callbacks , buttons and signals Example code: spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit...
SPINNER original code was not complete to show callbacks and a fully working example https://developer.gnome.org/gnome-devel-demos/stable/spinner.c.html.en had to add callbacks , buttons and signals Example code: spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit...
SPINNER original code was not complete to show callbacks and a fully working example https://developer.gnome.org/gnome-devel-demos/stable/spinner.c.html.en had to add callbacks , buttons and signals Example code: spinner-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA COMPILER gcc PRAGMA OPTIONS -Wno-implicit...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
CHECK how to convert official examples to Simplified embedded gtk ones in BaCon using the new PROTO option using this official example code as the reference https://developer.gnome.org/gnome-devel-demos/stable/checkbutton.c.html.en Example code: check-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA...
CHECK how to convert official examples to Simplified embedded gtk ones in BaCon using the new PROTO option using this official example code as the reference https://developer.gnome.org/gnome-devel-demos/stable/checkbutton.c.html.en ![image]https://sourceforge.net/p/baconproto/wiki/_discuss/thread/7eb08a4b/7fa8/attachment/check-gtk3-proto.png) Example code: check-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config...
CHECK how to convert official examples to Simplified embedded gtk ones in BaCon using the new PROTO option using this official example code as the reference https://developer.gnome.org/gnome-devel-demos/stable/checkbutton.c.html.en Example code: check-gtk3-proto.bac '--- updated to work wih 64 bit mint 20.1 April 26 2021 '--- set up for compiling embedded library GTK PRAGMA OPTIONS `pkg-config --cflags gtk+-3.0` PRAGMA LDFLAGS `pkg-config --libs gtk+-3.0` PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h> PRAGMA...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Page7
Page5
Page4
Page3
Page2
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon updated to 64bit Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the...
Embed GTK3 and GTK2 in BaCon Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples...
Embed GTK3 and GTK2 in BaCon Summary Convert GTK3 and GTK2 official examples to BaCon The official site is http://www.basic-converter.org/ The official forum is http://basic-converter.proboards.com/ I have several examples for embedding gtk in BaCon BaCon with GTK3 and GTK2 Examples any problems with gtk2 or gtk3 code please post errors here http://basic-converter.proboards.com/post/5157/thread Getting started with sample widgets Most of the examples have been converted from the gtk3 official examples...