Re: Problem with popup menu in GTK 2
- From: Havoc Pennington <hp redhat com>
- To: Dudley Irish <dirish arsmagna com>
- Cc: gtk-list gnome org
- Subject: Re: Problem with popup menu in GTK 2
- Date: 20 Jul 2002 12:21:11 -0400
Dudley Irish <dirish arsmagna com> writes:
> I am building an app with gtk 2.0 (2.0.1) on a RedHat 7.2 system. I
> am trying to get a popup menu to work with a TreeView widget. I have
> used the example given in the documentation to connect the signal and
> to call the gtk_menu_popup. Everything works except that the menu is
> only visable as a tiny box which appears to be about 2 pixels on a
> side. Clearly I am doing something wrong. If you have a simple
> example of using gtk_menu_popup or better yet have encountered this
> problem and no the solution, please let me know. In the meantime, I
> am going to strip down the application to a simple test case and see
> if I am still getting this behaviour. If so, I will post the test
> case for everyone to take a look at.
>
Maybe you forgot to gtk_widget_show the menu items?
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]