Gtk3

gtk3

#gtk3

Table of Contents

About

1

Chapter 1: Getting started with gtk3

2

Remarks

2

Versions

2

Examples

2

Installation or Setup

3

Python

3

C++

3

[C++] "Hello World" in gtkmm

4

[C] "Hello World" in Gtk+

5

starter kit

6

Chapter 2: GTK+ 3 with Vala

8

Examples

8

Hello world

8

The code

8

Compilation and Running on Linux

8

Chapter 3: gtk+3 linux c

9

Introduction

9

Examples

9

css in action

9

glarea sample

11

Chapter 4: GTK+3 with Python

16

Examples

16

A simple GTK window

16

Simple binding to a widget's key-press-event

16

Embed a Video in a Gtk window in Python3

18

Chapter 5: Gtk3 with Ruby

20

Examples

20

Get up and running

20

Chapter 6: Installation of GTK+3 On Windows (using GNOME GIT Repository)( C Language-

Assum

21

Examples

21

Downloading GTK+3 (also suitable for other versions) and Setting Up

21

Chapter 7: Using Glade with Builder API

25

Examples

25

[C++] using Gtk::Builder in gtkmm

25

Overview

25

Workflow

25

Example

25

Using Gio::Resource

29

Credits

31

About

You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: gtk3

It is an unofficial and free gtk3 ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official gtk3.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@



1

Chapter 1: Getting started with gtk3

Remarks

GTK+ 3 also known as Gtk3 is a multi-platform GUI toolkit, it is written in C but has bindings for a lot of languages including C++, Python, Vala and Ruby. (For the full list see the Gtk website).

Gtk+ is part of the GNU Project and falls under the GNU LGPL licences meaning it is allowed to be used by all developers, including those developing proprietary software, without any license fees or royalties.

Credits: loosely based on

Versions

Version Release date

3.20

2016-03-01

3.18

2015-09-01

3.16

2015-03-01

3.14

2014-09-01

3.12

2014-03-01

3.10

2013-09-01

3.8

2013-03-01

3.6

2012-09-01

3.4

2012-04-01

3.2

2011-10-01

3.0

2010-02-01

Sources:

? ?

Examples



2

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download