Re: [gtk-list] Unsolvable bug ...



Maki Todoriki wrote:
> 
> Hello,
> 
> I have a bug I can't solve. My program crash desperately.
> 
> I have tried to re-think the approach, and the code, but ...
> 
> I just had an idea, maybe what I want to do is basically wrong : I want
> to modify the content of a part of a windows.
> 
> It's a search area, so the user can define the fields,.... then click on
> the search button. At this time I do a gtk_widget_destroy of a vbox
> inside the window, and put the result of the research instead.
> 
> But I want my user to be able to refine the search, so once again I
> destroy the box and put the search widget inside.

You could try using gtk_widget_hide() and gtk_widget_show() to only show
the relevant widgets each time.

Or if you want the window to stay the same size, put the widgets in a
notebook, with the notebook tabs hidden, and show the appropriate page.

Damon




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