Overview GUI Programming with GTK+ and GLADE 장정철.

Slides:



Advertisements
Similar presentations
IIIMF GUI Open Source Software Foundry
Advertisements

Computer Science 112 Fundamentals of Programming II User Interfaces
Chapters 12 and 13 A Display Model and Graphics Classes John Keyser’s Modifications of Slides by Bjarne Stroustrup
Media Player for the i.MX31 Advanced Embedded Systems Architecture Class Project May 14, 2011 Rafael Castro Ryan Ugland Carlos Cabral.
Tafseer Ahmed Department of Computer Science University of Karachi Urdu on Linux International Support.
COMP 6703 Project A GUI Interface to the Gene Microarray Data Analysis Program SigMotif. Student: Ye Luo (u ) Clients: Professor Susan Wilson and.
JMeter Workshop Friday 1 December 2006 Anthony Colebourne IT Services The University of Manchester.
Course Map The Java Programming Language Basics Object-Oriented Programming Exception Handling Graphical User Interfaces and Applets Multithreading Communications.
Functional Simulation Overview1 OpenTV PC Simulator.
Web-based Control Interface For a model train control system By: Kevin Sendra.
Client-side Applications with PHP Andrei Zmievski & Frank M. Kromann Track: PHP Conference Date: Friday, July 27 Time: 3:45pm – 4:30pm Location: Fairbanks.
An Overview of Qt - asankar1. Agenda About Qt –A brief intro of Qt Qt development tools –Tools used for building Qt application Qt Architecture –The underlying.
Python Introduction.
MySQL GUI Administration Tools Rob Donahue Manager, Distributed Systems Development May 7th, 2001 Rob Donahue Manager, Distributed Systems Development.
A.NET desktop application and it’s future And solutions for command line application interoperability.
Eric Westfall – Indiana University Jeremy Hanson – Iowa State University Building Applications with the KNS.
XO Software Operating system Linux Kernel: Linux ; Fedora 7 base environment OLPC-specific bits available on OLPC-2.6 GIT tree at dev.laptop.org.
SB ScriptBasic Introduction to ScriptBasic There are more people writing programs in BASIC than the number of people capable programming.
DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.
COMP 410 & Sky.NET May 2 nd, What is COMP 410? Forming an independent company The customer The planning Learning teamwork.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Octave-GTK 24/02/05 © Octave-GTK Team 24/02/05 Octave-GTK Team Octave-GTK, a language bindings project Hemant Muthu Rams Manik {gnufied, gnumuthu,
Linux Audio Mangler Project Design Presentation Yu Chong Hector Urtubia Tony Zuliani.
WordFreak A Language Independent, Extensible Annotation Tool.
Embedded Software SKKU 17 1 Embedded Software Lab. Tizen v2.3 Input Service Framework.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Ex3 Preview, Swing tutorial Ex1 review Amit Shabtay.
CS 3131 Introduction to Programming in Java Rich Maclin Computer Science Department.
XML Database Birdstep Database Engine Kangseok Kim.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
Visual Linker Prototype presentation.
GTK Binding for Alice Robert Grabowski Eine GTK-Schnittstelle für Alice.
About These Slides This slide set is designed to be used with the OMA sample application It is recommended you follow the steps outlined in the “Preparing.
Chapter 4 – Threads (Pgs 153 – 174). Threads  A "Basic Unit of CPU Utilization"  A technique that assists in performing parallel computation by setting.
GUI With GTK+ Under Linux Fanfan Xiong. Introduction GTK+ (GIMP toolkit) : A library for creating graphical user interfaces(GUI) Two examples developed.
MIT 6.893; SMA 5508 Spring 2004 Larry Rudolph Lecture 4: Graphic User Interface Graphical User Interface Larry Rudolph MIT 6.893; SMA 5508 Spring 2004.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
TCL TK. Tcl/Tk C functions can become Tcl commands that are invoked interactively Tk = scriptable, portable user interface –Windows, X (Unix), MacOS,
Byoung-Jo CHOI Fall 2007 SW Project II Advanced Linux Programming.
NetChat Communications Systems Steven Fuqua Barnett Trzcinski Andy Street.
GTK+
Microsoft Foundation Classes
Ganga/Dirac Data Management meeting October 2003 Gennady Kuznetsov Production Manager Tools and Ganga (New Architecture)
Iterative Design and Evaluation of Event Architecture for Pen-and-Paper Interfaces HCI Group Stanford University Ron B. Yeh Andreas Paepcke Scott R. Klemmer.
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
Computer Graphics Lecture 1. Books D. Hearn, M. P. Baker, "Computer Graphics with OpenGL", 3rd Ed., Prentice Hall, 2003, ISBN
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Embedded Linux Conference.
User Interface Programming Libraries for GUI programming Jozef Mlích – Department of Computer Graphics and Multimedia Faculty of Information.
CLUG TALK Gnome Desktop Environment Tuesday, 28 AUG 2007 Jonathan Carter.
1 /13 SPICE* Roadmap Presentation for KVM Forum 2011 Alon Levy, Red Hat *or Spice or spice.
Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008.
G ambas A lmost M eans BAS IC...really?. Gambas 2.0 RC 1 ● Two years of development since the release of Gambas 1.0. ● Seven years since the first beginning.
Gtk2 GTK+ (the GIMP ToolKit) Bratislava, Gtk2 - Overview Graphical toolkit native to X11 (Linux, Unix) Ported to Windows and OS X Written in C,
1. 2 Qt Toolkit ● C++ toolkit for cross-platform GUI application development – GUI functions (GUI = graphical user interface) – Data access components,
Writing Really Rad GTK+ & GNOME Applications in C, Python or Java
Linux on the desktop: The ubuntu phenomenon and the GNOME project.
Building GUI applications with Python, GTK and Glade
Embedded Linux Conference Europe
Radare >1.0 &&
Fedora Project / Red Hat
Event Driven Programming Dick Steflik
Quick Introduction for Desktop
Sinhala Language Support for Java Micro Edition
GNOME/GTK+ Introduction
Scaling of Eclipse on High Density Displays
Developing applications using Chromium
GTK + Programming.
Development The Foundation Window.
The Basic Usage and The Event Handling in Glade.
Presentation transcript:

Overview GUI Programming with GTK+ and GLADE 장정철

Overview – GTK+ The GIMP ToolKit the GNU LGPL 2.1 Base of GTK+ GLIB low-level core library – basis of GTK+ data structure, portability, event loop, thread, dynamic loading, object Pango Layout and rendering of text text and font handling Cairo 2D graphics with support for multiple output devices ATK Set of interface providing accessibility

Overview - GLADE User Interface Designer for GTK+ and GNOME the GNU GPL saved as XML Generating C sources using libglade, loaded by applications dynamically Glade-3 is a complete rewrite Useful new features Undo / Redo Multiple project supportand

Environment - linux

Sample – Linux

Environment – Win32

Sample – Win32

UI Design - GLADE

UI Dynamic Loading - libglade Simple usage 1.Include header file libglade.h 2.UI XML file open with function glade_xml_new 3.get widget from XML with function glade_xml_get_widget 4.Connect signal of loaded widget 5.Linking with libglade #include sp_main_xml = glade_xml_new( UI_XML_FILE, NULL, NULL ); sp_window = glade_xml_get_widget( sp_main_xml, "window_bm104" ); g_signal_connect( G_OBJECT( sp_window ), "delete_event", G_CALLBACK( on_window_exit ), NULL ); # gcc –o bm104 bm104.c ucs-utils.c ucs-cell-renderer.c `pkg-config –cflags – libs gtk+-2.0 libglade-2.0`

Languages not only support C gtkmm for C++ java-gnome for JAVA PyGTK for Python gtk2-perl for Perl RGtk2 for R lua-gtk for Lua gtkd for D tGtk for Harbour(xHarbour)

Sample - gengdic

Sample – t-gtk with xHarbour