To do somenthin knowing the type of the widget

From: Date: Mon, 20 Aug 2007 22:38:54 +0000
Subject: To do somenthin knowing the type of the widget
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8045@lists.php.net to get a copy of this message
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. roberto.barcenas@gmail.com Tel. 57949690 (Recados) ================ ("-''-/").___..--''"-._ 6_ 6 ) -. ( ).-.__.) (_Y_.)' ._ ) ._ . ``-..-' _..`--'_..-_/ /--'_.' ,' (il),-'' (li),' ((!.-' Por mí raza hablará el espíritu... ======================

« previous php.gtk.general (#8045) next »