Click MainWindow to launch the GUI designer tool. Drag the part from the toolbox.
After putting Fixed in VBox, you can adjust the layout inside the box by setting the height of Fixed.
Explanation of Button Control
How to write the coding for TreeView
It is an application that manages data running on Linux. List Insert Update Delete works. I'm using Sqlite3
Install GTKSharp
install glade $ sudo apt-get install glade
Install MonoDevelop on Linux
Postscript 4/14 Be sure to go to User Settings-Project-Build ** Disable "Build with MSBuild instead of xbuild" **
“/Home/pi/,cache/MonoDevelop/7.0/MSBuild/1068_1/Microsoft.CSharp.Core.targets was not found.
If you get
~~ Solution-Refer-Add or update Microsoft.CSharp ~~ ~~ If you still get an error ~~ ~~ RaspberryPi-Display-Display hidden folders ~~ ~~ MSBuild / If there are multiple folders under, delete both ~~ ~~ Add Microsoft.CSharp again ~~
Postscript 4/14 User Settings-Project-Build I get an error ** Disable "Build with MSBuild instead of xbuild" **
https://github.com/mono/mono/issues/14875
This is a setting you need to do in Monodevelop before starting a new project. Search under Settings and disable "Create with MSBuild instead of xbuild"
Install and launch monodevelop $ monodevelop
Load and debug the Visual Studio SIN file Visual Studio Sin files on Windows and Visul Studio files on Mac are compatible
Mount using NetTalk sudo apt-get install netatalk https://studio.beatnix.co.jp/diary/apple/mac2raspberry-pi/ https://qiita.com/junkoda/items/d024ee0bf6c50d2f3cc4
Use RealVnc
Use RealVnc which is pre-installed on Raspberry Pi. Connect from Mac to Raspberry Pi with RealVnc You can also connect from the Finder, but you cannot transfer files, so use RealVncViewr to connect.
Official site describes how to bind.
WindowsForm bindings> Cococa bindings >>> Gtk bindings
type | Impressions |
---|---|
WindowsForm | Select the class property name from the part property window Connect to the DB from the property window |
CoCoa | Select a part in StoryBoard, set ArrayController etc. and connect with DB, set in the property window of the part A little coding |
Gtk | Implemented by coding |
Double-click the icon file $ mono app path
I made a library that simply generates bindings.
void _mkTreeView() {
Gtk.TreeViewColumnEx artistColumn = new Gtk.TreeViewColumnEx();
artistColumn._mkCellRendererText();
artistColumn.Sizing = TreeViewColumnSizing.Fixed;
artistColumn.FixedWidth = 200;
artistColumn.Title = "Artist";
artistColumn.bindingPropertyName = "Artist";
treeview.AppendColumn(artistColumn);
artistColumn._mkBinding();
this.ShowAll();
}
There seems to be a way to run it without installing mono. It seems that the dll can be bundled and distributed. There seems to be a way to make it in .dmg format. http://wraikny.hatenablog.com/entry/2018/03/29/225021 https://qiita.com/econa77/items/d0e7d3a75d8fd3bb7777
Introduction and use of .NET program obfuscation tool
I've bought Babel before and it worked fine and was reasonably priced.
There is software called sqlcipher, which can be used free of charge if implemented from open source.
Password encryption / decryption of SQLite3 DB for each file
I was able to easily create a data app using the GUI Windows and Cocoa are easier to develop for treeView and bindings.
Please let me know if there is any convenient way to make GTK.
I will list the sources that are coming from git
I found a site where you can browse the GTK source on GitHub like this
It is a convenient software although it is charged.
I am thinking of using it as a database application on Raspberry Pi. I am thinking of a management application that displays and sends the information fetched by the sensor in a list.
C # side Use database application Sqlite3 Export API client source with Swagger Codegen Tensorflow (GPU version of C # is faster) C # version of OpenCV C # version of picamera Combined with Swagger, a Web API communication library for third parties IO related Run python script
Python side Various sensors written with python are written with python IO related
If there is a sensor written in C #, write it in C #
Easy Raspberry Pi GUI App Development Beginner Part 1 Easy introduction to Raspberry Pi Gui application development Easy Raspberry Pi GUI application development parts sample collection
Recommended Posts