Re: How to draw focus?


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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]