Hi all, I am porting some code from gtk2 to gtk3 and am having some minor issues with respect to visual appearance of various widgets. This is on a CentOS 6.2 Linux platform with CentOS-installed gtk2 and a self-installed gtk3 which I downloaded from gnome.org and installed into /usr/local. AFAIK I'm using the latest of everything: gtk+-3.4.0, glib-2.32.0, gdk-pixbuf-2.26.0, cairo-1.12.0, pixman-0.24.4, atk-2.4.0.
First, I have some code that creates and displays popup menus. Some items in the popup menu trigger a pullright menu when selected. The popup menu is being created with recursive code that looks roughly like this (in crudely abbreviated pseudo-code): GtkWidget * make_menu(... menu item description arguments ...) { GtkWidget *m, *mi, *sm; m= gtk_menu_new(); for each item in menu { mi= gtk_menu_item_new_with_label(itemlabel); if (submenu on this item) { sm= make_menu(... submenu item description arguments ...); gtk_menu_item_set_submenu(GTK_MENU_ITEM(mi), sm); } gtk_menu_shell_append(GTK_MENU_SHELL(m), mi); } } The popup is then displayed with gtk_menu_popup( ... ). This all works fine from a functional standpoint in both gtk2 and gtk3, but in gtk3 the submenus attached to items of the top-level popup menu are being drawn with no borders of any kind. Any idea why this is and how I can fix it? Second, all of my widgets appear to be getting drawn with a different theme, e.g., the button and scrollbar styles, etc., look different. I am using the Crux theme in my user environment. Finally, when I run the application I get these messages: Gtk-Message: Failed to load module "pk-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. Any idea how to fix any or all of these things? Thanks! Roger Davis Univ. of Hawaii _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list