hi tomlukeywood
i made one lol
/*
*icecactus
*New web browser
* Copyright (c) 2015 ali abdul ghani
*    This Program is free software: you can redistribute it and/or modify
*    it under the terms of the GNU  General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*    This Program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
 *    You should have received a copy of the GNU General Public License
*    along with this Program.  If not, see .
*/


#include
  #include
  int main(int argc, char* argv[]) {
    const char *uri="https://www.trisquel.info";;
    GtkWidget* window;
    WebKitWebView* web_view;
    gtk_init(&argc, &argv);

    if(!g_thread_supported())
      g_thread_init(NULL);

    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    gtk_window_set_default_size(GTK_WINDOW(window), 600, 400);
    g_signal_connect(window, "destroy", G_CALLBACK(destroy_cb), NULL);

    web_view = web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
    webkit_web_view_set_transparent(web_view, TRUE);


    webkit_web_view_load_uri(web_view, uri);

    gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(web_view));
    gtk_widget_grab_focus(GTK_WIDGET(web_view));
    gtk_widget_show_all(window);
    gtk_main();
    return 0;
  }

Reply via email to