Re: How to draw focus?
- From: Sven Neumann <sven gimp org>
- To: Peter Krueger <pkrueger appss de>
- Cc: gtk-list gnome org
- Subject: Re: How to draw focus?
- Date: 13 Oct 2003 17:05:56 +0200
Peter Krueger <pkrueger appss de> writes:
> I have a GtkDrawingArea which shall get the keyboard focus when a
> user clicks with the mouse over it. I want to draw a focus then as
> explained in the GtkDrawingArea-docs with gtk_paint_focus(). But
> gtk_paint_focus() is not documented. Can anyone explain me please
> how it shall be used and what the meaning of the different
> parameters is?
I suggest you take a look at the GTK+ source code and check how GTK+
uses this function. It's pretty much straight-forward.
] [Thread Prev