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
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
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
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:
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
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);
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);
>
[...]
>
.
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
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.
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
10 matches
Mail list logo