Before get focus how to know which kind of widget

View: New views
1 Messages — Rating Filter:   Alert me  

Before get focus how to know which kind of widget

by AngeloP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I move the cursor I would to know what is the kind of the next widget
for example if I want to have a function that return

GtkEntry
or
GtkText
or
Gtk....widget

if(inspection function!="GtkTetx")
{
 make something
}


thanks