To do somenthin knowing the type of the widget

[email protected] (Robertico)
Newsgroups php.gtk.general
Message-ID <[email protected]>
Hi, I am building some form using a for each loop to insert GtkEntry and
GtkCombobox widgets in an array, then I want to to display the values of
each widget.

At this time I'm abble to know which type of widget is by the array
position, but I wish to do it knowing the widget type. I mean

if(widget_type == 'GtkEntry')
 do something
else if(widget_type == 'GtkCombobox')
  do something

What I looking for is the function to know which is the type!!

Thanks in advance!!

-- 
L.I. Roberto Carlos Bárcenas Adame.
[email protected]
Tel. 57949690 (Recados)
================
      ("`-''-/").___..--''"`-._
       `6_ 6  )   `-.  (     ).`-.__.`)
       (_Y_.)'  ._   )  `._ `. ``-..-'
     _..`--'_..-_/  /--'_.' ,'
    (il),-''  (li),'  ((!.-'
Por mí raza hablará el espíritu...
======================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.