View Single Post
Old 09-06-2007, 08:48 AM   #6
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Hey tribble. You wanted grey font. This works this way:
Code:
./bin/gtkclock --format=%H:%M --foreground=grey --background=white
What is the name of local screen of a GtkWindow?
I get
Code:
(clock:1484): Gtk-WARNING **: gtk_migration not initialised yet

(clock:1484): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(clock:1484): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
Segmentation fault
when trying to give the GTK window a name.

This is the most interesting option:
Code:
--class=CLASS Program class as used by the window manager
Right now I have hard encoded in sourcecode that it should behave as "GDK_WINDOW_TYPE_HINT_DIALOG".

Last edited by yokos; 09-06-2007 at 08:49 AM. Reason: spelling
yokos is offline   Reply With Quote