Re: [gtk-list] Gtk_Menu NOT drawn ...



On Sun, Mar 29, 1998 at 04:59:37PM +0300, Mike Flouris wrote:
> The problem is that when I click on them they
> are not drawn the first time, only when I click
> on another menu and then reclick on them ...
> 
> The code looks like :
> 
> ------------------------------
> [...]
> menu = gtk_menu_new();
> gtk_widget_show (menu);

You souldn't show the menu. It will be shown when you click on `File' in the
menubar.

> Does anybody know what I'm doing wrong ???
> Do I have to use MenuFactory ??

You just have to gtk_widget_show the menubar (and not the menu).

-- 
Eckehard Berns



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