Re: Gtk signals descriptions

2006-10-06 Thread Kirill Kirichenko
> I'm not sure what you mean by fields/states but the parameters at > least are correct in the docs since they are genereated automatically. For example when "realize" is fired (as far as I know) widget->window gets a valid value but not NULL or garbage... Specifically I'm interested in next signa

Gtk signals descriptions

2006-10-05 Thread Kirill Kirichenko
Hi. Where can I find descriptions for singlas listed here: http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-realize ? I mean not all signals have descriptions. I'd like to have descriptions for signals that would say: 1) when it's generated 2) what fields/states become valid, su

Re: Wrapper for arbitrary Drawable

2006-09-20 Thread Kirill Kirichenko
Hi Alex, > Why do you have to access it through the same display though? The > drawable is just an id for the pixmap, and its the same independent on > what connection to the x server (==display) you use. Simply because it doesn't work, it generates BadDrawable X error. Check out the code below:

Re: Wrapper for arbitrary Drawable

2006-09-19 Thread Kirill Kirichenko
> > I have an X Drawable (either Window or Pixmap, I can't predict) which > > is created for another Display than gdk opens during initialization. > > > > I would like to create a GdkDrawable wrapper for the Drawable that I > > would use with GtkStyle to draw parts of widgets. > > > > Any ideas, su

Wrapper for arbitrary Drawable

2006-09-18 Thread Kirill Kirichenko
Hi there ! I have an X Drawable (either Window or Pixmap, I can't predict) which is created for another Display than gdk opens during initialization. I would like to create a GdkDrawable wrapper for the Drawable that I would use with GtkStyle to draw parts of widgets. Any ideas, suggestions ? T

Solaris fopen issue

2006-05-10 Thread Kirill Kirichenko
Hi folks. I have run into problems of GTK using fopen on Solaris. The Solaris implementation has a problem with any fopen() which opens a file above the 256 file descriptor. How can I get around the problem ? I use gtk 2.4.9 on Solaris 5.10. I created a program that emulates my situation. It's a