Re: transparent gtkwindow

2007-03-25 Thread 3saul
Have a look here (with code) http://plan99.net/~mike/blog/?p=38 Let me know how you go. Suma H.S wrote: > > hi, > How to create a transparent gtkwindow with alpha values on Windows and > Linux? > > Regards, > Suma > > ___ > gtk-app-devel-list mail

gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-25 Thread 3saul
when trying to: GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen); gtk_widget_set_colormap(widget, colormap); This is literally as complicated as my program is. Create a window (using libglade), setup callbacks, apply colormap. What does this mean? Is there a web page somewhere with

dilspay image -- i need help

2007-03-25 Thread bajone
I am trying to load and display an image(jpg,gif) in a window , but something is going wrong... I insert a button in a box, and then i add it in window container... after I chose a file from directory,and i add it into box can be image added into box? I do it in 2 ways: image=gtk_image_new_fr

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-25 Thread Paul Pogonyshev
3saul wrote: > > when trying to: > > GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen); > gtk_widget_set_colormap(widget, colormap); > > This is literally as complicated as my program is. Create a window (using > libglade), setup callbacks, apply colormap. > > What does this mean? Is

Re: dilspay image -- i need help

2007-03-25 Thread Yeti
On Sun, Mar 25, 2007 at 05:05:12AM -0700, bajone wrote: > > I am trying to load and display an image(jpg,gif) in a window , but something > is going wrong... I insert a button in a box, and then i add it in window > container... after I chose a file from directory,and i add it into box > can b

A problem with GtkFileChooserButton

2007-03-25 Thread galtgendo
Does GtkFileChooserButton have "file-set" signal or not ? GTK API (on the web) claims it does, but when I try to connect to it, I'm getting GLib-GObject-WARNING **: gsignal.c:1669: signal `file-set' is invalid for instance `0x82ab978' and I'm connecting right after creating it, so I seems it sho

A problem with GtkFileChooserButton (minor correction)

2007-03-25 Thread galtgendo
OK, should have noticed that, "file-set" will be in 2.12. Any sane way to emulate it before ? Something simpler than making a "response" callback for dialog of the GtkFileChooserButton, if not, any tips about one ? ___ gtk-app-devel-list mailing list gtk

Re: Move decorationless window with mouse

2007-03-25 Thread Gabriel Schulhof
Hey! On Thu, 2007-03-22 at 18:14 -0700, 3saul wrote: > I had this in mind also. But how would I detect the movements of the mouse > and where to place the window? You need to connect to the "button-press-event" signal and the "motion-notify-event" signal. You also need to enable the reception of t

Re: Q: GtkHTMLx Situation

2007-03-25 Thread Gabriel Schulhof
Hey! On Fri, 2007-03-23 at 16:41 +0100, Martin Fischer wrote: > Currently I'm thinking about starting with GtkHTML2 and moving to > GtkHTML3 once GtkPrint is supported. I already coded some basic > functionality so I'm pretty confident that I will be able to implement > all I need. I maintain

Re: Unsolved mystery - How to control GtkTreeView row height

2007-03-25 Thread Gabriel Schulhof
Hey! On Sat, 2007-03-24 at 13:29 +1100, Anthony E. Rich wrote: > Remember: all gtk code has been tried, and all doc and forums have been > searched unsuccessfully for a solution, for the past 2 years. It is time > to put > our minds to fixing this universal problem of fixed-height grids, so that

Re: SIGINT with gtk_main

2007-03-25 Thread Andreas Stricker
Chris Vine wrote: > On Wednesday 21 March 2007 17:50, Michiel Jan Laurens de Hoon wrote: > >>For my application, I need to run gtk_main but I want to quit gtk_main >>when either input is available on stdin or the user presses Ctrl-C. [snip] > > You can write to a pipe in the signal handler (assu