beautypg.com

Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual

Page 162

background image

KTD-S0057-I

Page 158 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


The following demonstration program realizes two standard dialogs (color and font), one user-defined
dialog and a Cairo object with color gradients. The sourcecode is fully compatible to GTK+ 3.x but does not
take some updates from version 3.2 respectively 3.4 into account. In the past GTK has too often gone
through substantial changes.


/***************************************************************
* GTK+ 3.x demonstration program
* 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 2 of the License.
*
* PLEASE NOTE: THE SAMPLE DOES NOT SUPPORT ALL NEW FEATURES
*

FROM VERSION 3.2 RESP. 3.4

****************************************************************/

#include

static GtkWidget * create_color_area (GtkWidget *, gboolean);
static GtkWidget * create_font_area (GtkWidget *, gboolean);
static GtkWidget * create_radius_area (GtkWidget *, gboolean);

This manual is related to the following products: