Kontron KTAM3874-pITX Manual de usuario Pagina 172

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 293
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 171
KTD-S0057-I Page 168 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_default_size (GTK_WINDOW (window), SAMPLE_DIMENS);
gtk_window_set_title (GTK_WINDOW (window), MAIN_TITLE);
gtk_container_set_border_width (GTK_CONTAINER (window), MAIN_BORDER);
g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (gtk_main_quit), (gpointer) NULL);
vbox = create_environment (window);
create_menubar (vbox);
info = create_infobar (vbox);
msg = create_infolabel (info);
set_infobar_msg (msg, MSG_INIT);
table = gtk_table_new (5, 5, TRUE);
gtk_container_add (GTK_CONTAINER (vbox), table);
create_button (table, msg, rc_color, ID_COLOR, BUTTON_COLTXT);
create_button (table, msg, rc_font, ID_FONT, BUTTON_FONTTXT);
create_button (table, msg, rc_radius, ID_RADIUS, BUTTON_RADTXT);
create_button_frame (table, rc_frame);
create_color_area (table, TRUE);
create_font_area (table, TRUE);
create_radius_area (table, TRUE);
gtk_widget_show_all (window);
gtk_main ();
return 0;
}
Some unpleasant surprises are waiting behind the pretty facade, for example the disappearing of the
frame-widget with the standard theme Adwaita. Have a look on the dialog 'Applications x System Tools x
Preferences x Advanced Settings'.
The existing themes do not support the frame-widget, therefore it is necessary to download some additio-
nal themes. A first option would be:
sudo apt-get install clearlooks-phenix-theme
Vista de pagina 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 292 293

Comentarios a estos manuales

Sin comentarios