Statusbar not showing proper message
- From: "ashok kalculate com" <ashok kalculate com>
- To: gtk-list gnome org
- Subject: Statusbar not showing proper message
- Date: Fri, 23 Feb 2007 04:42:33 -0500
Hello List,
I write one callback function on a button clicked.
void
on_button1_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget *stat;
guint cont;
stat=lookup_widget(window1,"statusbar1");
cont=gtk_statusbar_get_context_id(stat,"context");
gtk_statusbar_push(stat,cont,"statusbar one");
system("find /home/ashok -name abc -type f");
cont=gtk_statusbar_get_context_id(stat,"context");
gtk_statusbar_push(stat,cont,"statusbar two");
system("find /home/ashok -name abc -type f");
}
But when i run this program it shows only "statusbar two" string, means it
shows only last entry.
plz. help me, i'm not able to understand why it is showing like this.
Thanks
Ashok
--------------------------------------------------------------------
mail2web.com ? Enhanced email for the mobile individual based on Microsoft®
Exchange - http://link.mail2web.com/Personal/EnhancedEmail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]