Theme engine using TQt for GTK+ 3.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-widgets.c 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* The TdeGtk Theming Engine for Gtk+.
  2. * Copyright (C) 2011 Canonical Ltd
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free
  16. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
  17. * MA 02110-1301, USA.
  18. *
  19. * Authored by Andrea Cimitan <andrea.cimitan@canonical.com>
  20. *
  21. */
  22. #include <gtk/gtk.h>
  23. int
  24. main (int argc, char *argv[])
  25. {
  26. GtkBuilder *builder;
  27. GtkWidget *window;
  28. gtk_init (&argc, &argv);
  29. builder = gtk_builder_new ();
  30. gtk_builder_add_from_file (builder, "./test-widgets.glade", NULL);
  31. window = GTK_WIDGET (gtk_builder_get_object (builder, "window"));
  32. gtk_builder_connect_signals (builder, NULL);
  33. g_object_unref (G_OBJECT (builder));
  34. gtk_widget_show (window);
  35. gtk_main ();
  36. return 0;
  37. }