Re: How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
On Thu, Apr 10, 2008 at 11:28 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > ying lcs wrote: > > > On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> > wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash:

Re: How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > ying lcs wrote: > | Hi, > | > | How can I find out what is the gtk development version that I am using > on linux? > >

How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
Hi, How can I find out what is the gtk development version that I am using on linux? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Question in using gdk_pixbuf_get_from_drawable()

2008-03-30 Thread ying lcs
NULL, 0, 0, 0, 0, width, height); > > gdk_pixbuf_save(pb, filename, "png", NULL, > "compression", "9", > NULL); > } > > ying lcs a écrit : > > > >

Re: Question in using gdk_pixbuf_get_from_drawable()

2008-03-22 Thread ying lcs
ndow" object come from ? Could you please give us the > code where you initilized it ? I've tried to adapt your code in a simple > example, and it just works... I get a screenshot of what is in the > window, without the window decoration. > > Cheers, > > Luis &g

Question in using gdk_pixbuf_get_from_drawable()

2008-03-20 Thread ying lcs
Hi, I have a question of using gdk_pixbuf_get_from_drawable(). I have the following code which save the gdk window to a png file. But something I get something which is totally not what is displayed on the window. Can you please tell me what am I missing? GdkWindow *window ; if (window != NULL)

How to use 'gdk_pixbuf_get_from_drawable'

2008-03-19 Thread ying lcs
Hi, I am trying to use 'gdk_pixbuf_get_from_drawable' to capture screen shot from a gdk window. Can you please tell me if I need to grab a semphore lock for the window (so that nothing is being painted) before I call that function gdk_pixbuf_get_from_drawable() to capture the pixbuf? Thank you.

[no subject]

2008-02-29 Thread ying lcs
___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

how can I find out the current font size

2008-01-11 Thread ying lcs
Hi, When I use this function to paint text, can you please tell me how can I find out the font size of the text. voidgdk_draw_layout (GdkDrawable *drawable, GdkGC *gc,

How to scroll my gtk application window programmically

2007-11-14 Thread ying lcs
Hi, I would like to know how can I scroll my gtk application window programmically? I have tried this, but the scroll bar does not make and the content of the window did not get refresh? GtkWidget* topLevelWindow; GdkWindow* win = topLevelWindow->window; gdk_window_scroll (win, 1, 880); Tha

How can I tell if a GTKWidget is realized?

2007-11-10 Thread ying lcs
Hi, Can you please tell me how can I tell programmically if a GTKWidget is realized? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list