Re: [gtk-list] Gtk_Menu NOT drawn ...
- From: Eckehard Berns <eb berns prima de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Gtk_Menu NOT drawn ...
- Date: Sun, 29 Mar 1998 19:08:51 +0200
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]