Re: The menu popup direction

2008-09-24 Thread XiuHua Wu
It works. Thanks very much! Mike Massonnet wrote: Le Thu, 25 Sep 2008 09:00:21 +0800, XiuHua Wu <[EMAIL PROTECTED]> a 茅crit : Yes, I know it can use this function to determine the position of the menu. But if the menu is dynamic, I mean the length is not fixed and can be changed during the

Re: The menu popup direction

2008-09-24 Thread Mike Massonnet
Le Thu, 25 Sep 2008 09:00:21 +0800, XiuHua Wu <[EMAIL PROTECTED]> a écrit : > Yes, I know it can use this function to determine the position of the > menu. But if the menu is dynamic, I mean the length is not fixed and > can be changed during the program running, so the menu position must > be ca

Re: The menu popup direction

2008-09-24 Thread XiuHua Wu
Yes, I know it can use this function to determine the position of the menu. But if the menu is dynamic, I mean the length is not fixed and can be changed during the program running, so the menu position must be calculated every time. If the menu can be dropped from down to up, and it only needs

Re: The menu popup direction

2008-09-24 Thread Mike Massonnet
Le Wed, 24 Sep 2008 16:16:20 +0800, XiuHua Wu <[EMAIL PROTECTED]> a écrit : > Hi All: >Can GTK+ control the menu popup direction ?? When I create a > popup menu and use the function gtk_menu_popup to show the menu, and > the menu alway pops from up to down. Is it possible to pop the menu

Re: API's Differences between 2.13.5 & 2.14.1

2008-09-24 Thread Emmanuele Bassi
On Wed, 2008-09-24 at 13:59 +0100, Matt Keenan wrote: > Can anyone shed some light on why the following API's are missing from 2.14.1 > : > > * gtk_font_selection_get_face_entry > * gtk_font_selection_get_family_entry >Both of these were removed in 2.13.7 > > * gtk_widget_

API's Differences between 2.13.5 & 2.14.1

2008-09-24 Thread Matt Keenan
Can anyone shed some light on why the following API's are missing from 2.14.1 : * gtk_font_selection_get_face_entry * gtk_font_selection_get_family_entry Both of these were removed in 2.13.7 * gtk_widget_get_allocation Removed in 2.14.1 (that I know of) * gtk_window_

The menu popup direction

2008-09-24 Thread XiuHua Wu
Hi All: Can GTK+ control the menu popup direction ?? When I create a popup menu and use the function gtk_menu_popup to show the menu, and the menu alway pops from up to down. Is it possible to pop the menu from down to up ?? I try to find solution for this from the Google search and the