New installers: 2020-07-15

This commit is contained in:
Tom Schoonjans
2020-07-15 09:14:15 +01:00
parent d5e9dc5286
commit d401405d87
763 changed files with 112903 additions and 19 deletions

View File

@@ -1,8 +1,7 @@
#include "hello-world-gtk.h"
#include <iostream>
#include <vector>
#include <gtksourceviewmm/languagemanager.h>
#include <gtksourceviewmm/init.h>
#include <gtksourceview/gtksource.h>
#include <json-glib/json-glib.h>
#include <libpeas/peas.h>
#include <libsoup/soup.h>
@@ -19,11 +18,9 @@ HelloWorld::HelloWorld()
xmlpp::Document doc;
Gsv::init();
Glib::RefPtr<Gsv::LanguageManager> language_manager =
Gsv::LanguageManager::create();
std::vector<std::string> langs = language_manager->get_language_ids ();
std::cout << "number of languages found: " << langs.size () << std::endl;
GtkSourceLanguageManager *language_manager = gtk_source_language_manager_get_default();
const gchar * const *ids = gtk_source_language_manager_get_language_ids(language_manager);
std::cout << "number of languages found: " << g_strv_length((gchar **) ids) << std::endl;
// Sets the border width of the window.

View File

@@ -1,6 +1,8 @@
#include "hello-world-gtk.h"
#include <gtkmm/main.h>
// compile with: g++ -o hello-world-gtkmm3.exe hello-world-gtk.cpp main-gtk.cpp $(pkg-config --cflags --libs gtkmm-3.0 gtksourceview-4 json-glib-1.0 libpeas-1.0 libsoup-2.4 libxml++-3.0)
int main (int argc, char *argv[])
{
Gtk::Main kit(argc, argv);