Re: Problem with popup menu in GTK 2



if you see a little box instead of a menu for the popup then you are probably popping up an empty menu.

todd

On Thu, 18 Jul 2002 17:20:13 -0600
Dudley Irish <dirish arsmagna com> wrote:

> 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.
> 
> Thanks in advance,
> 
> Dudley Irish
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 



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