-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/19/10 20:29, Tristan Schmelcher wrote:
> Actually, after debugging and looking at the code, it seems that
> gdk_window_foreign_new() first looks up if there is already a GdkWindow
> for that XID and re-uses it if so (gdk/x11/gdkwindow-x11.c:1008)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/19/10 20:09, Tristan Schmelcher wrote:
> Thanks Kevin! I'm trying out your suggestion and I've got the GtkWindow
> hooking up to the foreign GdkWindow properly, but it looks like I still
> get the same X server error when trying to draw after the
Actually, after debugging and looking at the code, it seems that
gdk_window_foreign_new() first looks up if there is already a GdkWindow for
that XID and re-uses it if so (gdk/x11/gdkwindow-x11.c:1008). So I don't
think this approach will work. :(
On 19 January 2010 19:09, Tristan Schmelcher wrot
Thanks Kevin! I'm trying out your suggestion and I've got the GtkWindow
hooking up to the foreign GdkWindow properly, but it looks like I still get
the same X server error when trying to draw after the browser destroys the
GtkSocket's window, and I still can't find a signal/event that gets
dispatch
okay. I want to do things the right way. It's hard sometimes because
the documentation is a little light. *grin*
I guess I'll look into how to construct the button manually.
Garth Upshaw
On Jan 19, 2010, at 4:20 PM, David Nečas wrote:
On Tue, Jan 19, 2010 at 10:14:28AM -0800, Garth's KidSt
On Tue, Jan 19, 2010 at 10:14:28AM -0800, Garth's KidStuff wrote:
> Thanks. After some digging, I managed to find out how to set the settings:
>
> // Set button/menu images on by default -- 9.10 turned them off
> GtkSettings *settings = gtk_settings_get_default ();
> gtk_settings_set_
Hi Tadej,
many thanks for responding!
I saw your bug report, will study gtk-demo to understand how this can be
achieved
Best regards,
Carlos
Hello.
1) Submenus should look the same in ComboBox and Popup menus. Therefore
Main 1 and Main 2 (see working example or tree store below) should
Hello.
> 1) Submenus should look the same in ComboBox and Popup menus. Therefore
> Main 1 and Main 2 (see working example or tree store below) should not
> appear repeated again in the submenus. Even if they were there, they should
> not be selectable as they are only entry points to submenus. Th
It seems the mailling list is filtering even small tar.gz files as mine,
so I posted it here:
http://www.gamgi.org/combo.tar.gz
Regards,
Carlos
My ComboBox submenus are working fine. There are however a couple of
visual details that could be improved, in my opinion.
I am sending as attacheme
My ComboBox submenus are working fine. There are however a couple of
visual details that could be improved, in my opinion.
I am sending as attachement a small (70 lines) working example (C +
makefile) showing my points:
1) Submenus should look the same in ComboBox and Popup menus. Therefore
Thanks. After some digging, I managed to find out how to set the settings:
// Set button/menu images on by default -- 9.10 turned them off
GtkSettings *settings = gtk_settings_get_default ();
gtk_settings_set_long_property (settings, "gtk-button-images", 1,
".gtkrc:0"); // I don't und
Hello.
> The following code works great in 32 bit and 64bit <= 9.04, but no bitmap
> appears when I run in 64bit 9.10.
>
> Gtk::Image* img = NULL;
> if (btnImageName.length() > 0)
> {
> cppstring path = GUtils::OSGetIconFolder() + btnImageName + L".png";
> img = new
> Gtk::I
Hey, All,
The following code works great in 32 bit and 64bit <= 9.04, but no bitmap
appears when I run in 64bit 9.10.
Gtk::Image* img = NULL;
if (btnImageName.length() > 0)
{
cppstring path = GUtils::OSGetIconFolder() + btnImageName + L".png";
img = new
Gtk::Image(GTex
13 matches
Mail list logo