gtk_statusbar question

2008-11-22 Thread Vasiliy G Tolstov
Hello. I'm try to use gtk_statusbar in my application. I'm use gtkbuild to load GtkWidget. Then i'm click to open file executes on_open_menu_item_activate, Widgets struct contains all needed widgets, but message not displayed in statusbar, only errors in colsole, where is my mista

gtk_statusbar!!

2006-07-11 Thread ferri_marllo
Hi everyone!! Thanks a lot about your help in my first statusbar problem..now i have another question!! I'm reading a list file like this: c:\hello c:\hello1 c:hello2 ... while it's reading,my status bar is changing like this: reading hello reading hello1 but if there isn't one of my

Re: gtk_statusbar!

2006-06-30 Thread Fernando ApesteguĂ­a
As I previously said, you should call to gtk_main_iteration after you do a GUI change (update the gtk_statusbar, update a label, whatever...). If not, the GUI will be updated when the control is out of the callback (and you call to real_operation() from a callback) Try with the links I posted

Re: gtk_statusbar!

2006-06-29 Thread Fernando ApesteguĂ­a
That's because you are calling real_opration() from the button callback. So the event loop is not running and it can't update your GUI. You should call gtk_main_iteration while gtk_events_pending==true more at http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-events-pending and http:

gtk_statusbar!

2006-06-28 Thread ferri_marllo
Hi everyone! I built a gtk_application with glade,it's a main window with menu.When i select a menu option, my program opens a new window with entries and buttons. In the entry i write the name of a file to open. This file has the structure: number1 (ex.25) number 2 (ex.34) operation (p

Re: gtk_statusbar!!

2006-06-05 Thread Tristan Van Berkom
ed to do it with this code. fp=fopen("C:\data\2003.1","r") while(fscanf(fp,"%s",fichdat)!=EOF) { g_snprintf(regi,200,"Processing el File: %s",fichdat); gtk_statusbar_push(GTK_STATUSBAR(statusbar2),1,regi);

Re: gtk_statusbar!!

2006-06-05 Thread tomas
On Mon, Jun 05, 2006 at 11:31:40AM +0200, [EMAIL PROTECTED] wrote: > > Hi!! > I need help to buid an statusbar... > i create an application with glade...this is the structure. [...] > gtk_statusbar_push(GTK_STATUSBAR(statusbar2),1,regi); > [...] >

gtk_statusbar!!

2006-06-05 Thread ferri_marllo
. fp=fopen("C:\data\2003.1","r") while(fscanf(fp,"%s",fichdat)!=EOF) { g_snprintf(regi,200,"Processing el File: %s",fichdat); gtk_statusbar_push(GTK_STATUSBAR(statusbar2),1,regi); novd=real_estad_fic

Re: gtk_statusbar

2006-05-09 Thread Iago Rubio
processing time > "File open" > > How can i do it?? gint context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR(statusbar),"default"); gtk_statusbar_push (statusbar, context_id, "Opening filename..."); // open file // get out "Opening filename.

gtk_statusbar

2006-05-08 Thread ferri_marllo
Hi!! I need to create a window with an status bar and an open dialog. Each time i select a file,i want to write into the status bar this two sentences: "Opening filename..." and then after the processing time "File open" How can i do it?? I'm trying but the only sentence that is written is the l