I do it. Refresh  is made only  some functions beeing freeze after 2..50
seconds (not all).
Program prints in console correct information about variables and
checkpoints (flowcontrol).

Arkadiusz Krysiak


2014-04-28 18:45 GMT+02:00 Jose Paulo <pa...@sistemasolar.com.br>:

> I believe that you wouldn't  invoke gtk_widget_show_all() with GtkDialogs.
>
> Try change to gtk_widget_show(datastruct->label).
>
>
> José Paulo
>
>
> Le 23/04/2014 05:29, Arkadiusz Krysiak a écrit :
> > i'm beginner and i have problem with gtk_dialog.
> >
> > it's my source code:
> > {
> >     datastruct->flags=GTK_DIALOG_DESTROY_WITH_PARENT;
> >     datastruct->dialog=gtk_dialog_new_with_buttons
> >                             (
> >                             "Komunikat",
> >                             GTK_WINDOW(parent),
> >                             datastruct->flags,
> >                             message1,GTK_RESPONSE_OK,
> >                             message0,GTK_RESPONSE_REJECT,
> >                             NULL
> >                         );
> >     datastruct->content_area=gtk_dialog_get_content_area
> > (GTK_DIALOG(datastruct->dialog));
> >     datastruct->label=gtk_label_new(opis);
> >     gtk_container_add (GTK_CONTAINER (datastruct->content_area),
> > datastruct->label);
> >     gtk_widget_show_all (datastruct->dialog);
> >     datastruct->data=gtk_dialog_run(GTK_DIALOG(datastruct->dialog));
> >     gtk_widget_destroy(datastruct->dialog);
> >     return(datastruct->data);
> > }
> >
> > for main window it's ok but for next level windows line:
> > datastruct->data=gtk_dialog_run(GTK_DIALOG(datastruct->dialog)); cause
> > dead-lock.
> > have any idea for reason.
> > _______________________________________________
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to