Top/bottom margins for GtkTextView ?

2008-03-03 Thread Miroslav Rajcic
Is there a way to set the top and bottom margins for text within the GtkTextView ? I've noticed there are methods to set the left and right margins, but not the ones for top and bottom. Regards, Miroslav ___ gtk-app-devel-list mailing list

答复: Please help: How to embed a X wind ow in a GTK window?

2008-03-03 Thread Ke Jin
Hi Bin, Thanks for the reply. I am new to GTK and could you please explain it in more details? Thanks, Kay -邮件原件- 发件人: Bin Chen [mailto:[EMAIL PROTECTED] 发送时间: 2008年3月2日 7:33 收件人: Ke Jin 抄送: gtk-app-devel-list@gnome.org 主题: Re: Please help: How to embed a X window in a GTK window? On

A question about GtkStyle

2008-03-03 Thread zfei
Dear all: I am a new user of gtk.I have a question about GtkStyle! As we konw the GtkStyle of a GtkWidget determine that how the widget to be drawn,that is to say the GtkStyle determine the appearance of a widget! But when the GtkStyle of a widget is been created.

OpenGL, GtkGlArea, GtkGLExt

2008-03-03 Thread Carlos Pereira
Hi, What is the currently recommended way to link GTK with OpenGL graphic areas? GtkGLarea? GtkGLext? other? What are the future plans for GTK regarding OpenGL? is GTK planning to support OpenGL directly without need for another library? I am not particularly interested in fancy arbitrary

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-03 Thread Mikael Hallendal
3 mar 2008 kl. 22.48 skrev Carlos Pereira: Hi Carlos, GtkGLext seems to be the most popular GL Area to use these days. You might also want to look at Clutter [1] or Pigment [2] which are canvases offering some higher level abstractions for 2D/3D usages. It depends a bit on what you need,

Problem on gdk_window_shape_combine_mask and gtk_timeout

2008-03-03 Thread Magicloud Magiclouds
Hello, I use gdk_window_shape_combine_mask in gtk_timeout timer, to change my window's shape every second. While I first use gdk_window_shape_combine_mask without timer, it works. Then put it in the timer, the application crashed, with message: The program 'crazyclock.rb'