Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-01

focus

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink

Hi, I'm currently working on Caret support and allmpost got something working here. One of the things I'm struggeling with at the moment is to find the currently focussed control using GTK/GDK/GLIB. Has anyone any idea/hints/tips ?
Otherwise I'll look further

Marc

Reply by email

Marc Weustink
to Shane Miller: There is a focused signal called "draw_focused" which is sent when a control get's focus.…

+ From: Shane Miller
+
+ There is a focused signal called "draw_focused" which is sent
+ when a control get's focus. We could set a property in tthe
+ gtkobject class that holds the widget that has focus and you
+ could use that to look it up.

Hm..... this is something, however we have to attach this signal to every control created. I'll think of it, thanks

Marc

Reply by email

Shane Miller

There is a focused signal called "draw_focused" which is sent when a control get's focus. We could set a property in tthe gtkobject class that holds the widget that has focus and you could use that to look it up.

Shane

>> 01/19/00 04:03PM >>>

Hi, I'm currently working on Caret support and allmpost got something working here. One of the things I'm struggeling with at the moment is to find the currently focussed control using GTK/GDK/GLIB. Has anyone any idea/hints/tips ?
Otherwise I'll look further

Marc

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email