Re: Differentiating between Entry and Text



if (GTK_IS_ENTRY (widget))
{
...
}
else if (GTK_IS_TEXT (widget))
{
...
}

Padraig

> Hi,
> 
> I have a function for which I am getting Widget reference from some
> other function.
> >From this reference, I have to check whether this widget is GtkEntry or
> GtkText. How can I do it??
> 
> Thanks in Advance,
> Jyothi.
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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