Re: Gtk events ???

2006-06-17 Thread Paul Davis
On Wed, 2006-06-14 at 12:59 +0200, Papel wrote: > Hello, > > From a few days ago, i have a lot of problems with gtk events (MainLoop). > I have created a GTK frame into a main widget and a box into this frame. > I have reparent this widget (window) to a XWindow. > I would like to send events (XEv

Re: drawing a generated bitmap

2006-06-17 Thread Yeti
On Thu, Jun 15, 2006 at 10:59:50PM +, kamil stachowski wrote: > i understand this is a basic question and am sorry for my ignorance. i really > haven't managed to find an answer though i've searched quite a time. > > i've actually got two problems (using nemerle (mono, i.e. gtk#)): > > 1. i'

Re: Button background colors

2006-06-17 Thread Anna
On Thu, Jun 15, 2006 at 11:27:35AM +0200, Jose Hevia wrote: > 2006/6/15, David Ne?as (Yeti) <[EMAIL PROTECTED]>: > > On Wed, Jun 14, 2006 at 07:08:31PM -0700, Anna wrote: > > > > > > I use gtk_widget_modify_bg() without trouble. piece of a function: > > > > It works for people who use a decent Gtk

Gtk events ???

2006-06-17 Thread Papel
Hello, From a few days ago, i have a lot of problems with gtk events (MainLoop). I have created a GTK frame into a main widget and a box into this frame. I have reparent this widget (window) to a XWindow. I would like to send events (XEvents) to this widget. How I can do to send this XEvents to G

How to create a new customized GSource

2006-06-17 Thread Liangjing Zhao
Dear All, Sorry, I am not sure if I post this question twice in this list. But it seems the first time was failed. I have a problem when I create a new GSource structure. In fact, I would send some events to the main loop of my app from other threads only with the glib APIs. I create my own GSo

Re: Button background colors

2006-06-17 Thread Jose Hevia
2006/6/15, David Nečas (Yeti) <[EMAIL PROTECTED]>: > On Wed, Jun 14, 2006 at 07:08:31PM -0700, Anna wrote: > > > > I use gtk_widget_modify_bg() without trouble. piece of a function: > > It works for people who use a decent Gtk+ theme. But themes > and theme engines can easily make similar things

Re: Button background colors

2006-06-17 Thread dale_mellor
I too use gtk_widget_modify_bg without trouble on a GtkButton object, using GTK version 2.9.2. Anna writes: > On Wed, Jun 14, 2006 at 03:30:29PM -0500, Michael Kahn wrote: > > I am using Gtk 2.8.18. > > > > I would like to know how to set the background color in a GtkButton. > > > > I cann

opengl and gtk

2006-06-17 Thread andy gill
is there any officially supported way of integrating opengl into a gtk/gtkmm/gtk# application? the gtkglarea and gtkglext extensions seem to have varying levels of support for different platforms/language bindings, and i don't quite understand why there isn't opengl support in the main tree. what's

How to create a new customized GSource

2006-06-17 Thread Liangjing Zhao
Dear All, I have a problem when I create a new GSource structure. In fact, I would send some events to the main loop of my app from other threads only with the glib APIs. I create my own GSource structure and attach it with the default main context. But I always get a segment fault when the othe

drawing a generated bitmap

2006-06-17 Thread kamil stachowski
hello :) i understand this is a basic question and am sorry for my ignorance. i really haven't managed to find an answer though i've searched quite a time. i've actually got two problems (using nemerle (mono, i.e. gtk#)): 1. i'd like to generate a terrain heightmap and draw it onto a widget. sh