GObject docs improvements

2007-02-07 Thread Stefan Kost
hi, yesterday I committed a first batch of cleanups to the GObject docs. http://developer.gnome.org/doc/API/2.0/gobject/index.html IMHO this is a crucial documentation for the GNOME platform and it can be improved further. Marc-Andre Lureau and Zeeshan Ali already joined in the quest to impro

when and where to destroy "popup menu"?

2007-02-07 Thread Zhang Yang
Hello. I have created a popup menu in my function(list below). But I have a question "when and where to destroy it?". I tried connect its selection-done handler to gtk_widget_destroy.But it seems nothing happened. I run the program and monitor it through "system monitor". The program continuing ea

Re: scrolledview

2007-02-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 07, 2007 at 08:32:26PM +0100, Mehmet YASAR wrote: > [EMAIL PROTECTED] a écrit : [...] > >> how can I know that all the widget have done their size negotiations ? > >> I can't rely on the "realized" signal since the gtkvbox is already > >>

RE: transparent gtkwindow

2007-02-07 Thread Suma H.S
It doesn't work. Can u plz give me a working example if u have? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian J. Tarricone Sent: Wednesday, February 07, 2007 3:15 PM To: gtk-app-devel-list@gnome.org Subject: Re: transparent gtkwindow Suma H.S wrote:

Re: GtkFileChooserDialog: response from Location

2007-02-07 Thread Braden McDaniel
On Wed, 2007-02-07 at 20:56 -0500, Braden McDaniel wrote: > It seems that--by default, at least--pressing "Enter" in the Location > entry of a GtkFileChooserDialog does not constitute a "response" (that > is, it does not close the dialog). > > Can this be changed? Or can it be fudged? Nevermind.

Re: GtkFileChooserDialog: response from Location

2007-02-07 Thread Leandro A. F. Pereira
Hello, Braden! On 2/7/07, Braden McDaniel <[EMAIL PROTECTED]> wrote: > > (I came across in the > course of googling about this. But it just left me more confused; > particularly Federico's last comment about there being "no location > dialog anymo

GtkFileChooserDialog: response from Location

2007-02-07 Thread Braden McDaniel
It seems that--by default, at least--pressing "Enter" in the Location entry of a GtkFileChooserDialog does not constitute a "response" (that is, it does not close the dialog). Can this be changed? Or can it be fudged? (I came across in the course

Re: transparent gtkwindow

2007-02-07 Thread Brian J. Tarricone
Suma H.S wrote: > thanks...shall look into that. > But, do u by any chance know how to use multiple masks for the function > gtk_widget_shape_combine_mask ()? > If I try to call this function multiple times using different mask > everytime, only the effect of the last call is seen. > I want to have

Re: scrolledview

2007-02-07 Thread Mehmet YASAR
[EMAIL PROTECTED] a écrit : >> Another question : suppose I'm adding gtktextviews to a GtkVbox which is >> already >> visible (realized and mapped). >> how can I know that all the widget have done their size negotiations ? >> I can't rely on the "realized" signal since the gtkvbox is already reali

Re: scrolledview

2007-02-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 07, 2007 at 10:06:26AM +0100, [EMAIL PROTECTED] wrote: > Selon James Scott Jr <[EMAIL PROTECTED]>: > > > If you have caused the GtkVBox to be Realized, meaning all the widget > > have done their size negotiations > > OK, so I just need to

Re: Newby question on Glade2

2007-02-07 Thread Tristan Van Berkom
On Wed, 2007-02-07 at 10:32 -0500, Gerald I. Evenden wrote: > Host hardware: amd64. OS-flavor: kubuntu > > I managed to successfully complete one of the tutorials on Glade2 by getting > an example up and running and making a few personal tweaks to the project. > I feel that I am ready to progress

Newby question on Glade2

2007-02-07 Thread Gerald I. Evenden
Host hardware: amd64. OS-flavor: kubuntu I managed to successfully complete one of the tutorials on Glade2 by getting an example up and running and making a few personal tweaks to the project. I feel that I am ready to progress to using Glade2 to provide a gui to frontend some software that is c

pixel position of a point

2007-02-07 Thread ferri_marllo
Hello!! I have plot points in an X-Y plot using this code: void grafica(GtkWidget *plot) { GdkColor color; GtkPlotAxis *axis; int i,j,k,l; int np_x,np_y; np_x=0; np_y=0; t1a=g_array_new(FALSE,FALSE,sizeof(gdouble)); t2a=g_array_new(FALSE,FALSE,sizeof(gdouble)); v1a=g_array_new(FAL

RE: transparent gtkwindow

2007-02-07 Thread Suma H.S
thanks...shall look into that. But, do u by any chance know how to use multiple masks for the function gtk_widget_shape_combine_mask ()? If I try to call this function multiple times using different mask everytime, only the effect of the last call is seen. I want to have the effect of gdk_window_se

Re: transparent gtkwindow

2007-02-07 Thread Tor Lillqvist
> > How to create a transparent gtkwindow with alpha values on Windows and > > Linux? Presumably you mean with the X11 backend (which is in no way Linux specific) when you say "on Linux"? > gtk_widget_shape_combine_mask () could be what you want. No, it wouldn't. That sets the shape of a wind

Re: scrolledview

2007-02-07 Thread myasar
Selon James Scott Jr <[EMAIL PROTECTED]>: > If you have caused the GtkVBox to be Realized, meaning all the widget > have done their size negotiations OK, so I just need to catch the "realized" signal. Another question : suppose I'm adding gtktextviews to a GtkVbox which is already visible (reali