Re: Background/Canvas colour
- From: Havoc Pennington <hp redhat com>
- To: <pverheuvel roax nl>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Background/Canvas colour
- Date: 20 Jan 2002 12:22:15 -0500
"Petro Verheuvel" <pverheuvel roax nl> writes:
1) I want to know i can change the colour of the X-server background
(canvas?).
Look at the "xsetroot" application.
2) Is it possible to have keyboard-events when no GTK-Windows are
shown?
Two ways:
- to get all keyboard events, create a GtkInvisible and
gdk_keyboard_grab() on the GtkInvisible, or just use a GtkWindow
type GTK_WINDOW_POPUP that's offscreen (position it somewhere
offscreen)
- to get specific keyboard events you need to use Xlib and use
XGrabKey(), there are examples in the GNOME panel source code.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]