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: 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? ~ pkg-config --modversion gtk+-2.0 Should give

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: SHA1 ying lcs wrote: | Hi, | | How can I find out what

Re: Question in using gdk_pixbuf_get_from_drawable()

2008-03-30 Thread ying lcs
, compression, 9, NULL); } ying lcs a écrit : Luis, The 'window' object is from: gtk_window_new(GTK_WINDOW_TOPLEVEL) I do see it works something, while other times, I see the screenshot get out of place (as shown in the image I

Re: Question in using gdk_pixbuf_get_from_drawable()

2008-03-22 Thread ying lcs
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 ying lcs a écrit : Hi, I have a question of using

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);

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