Re: adding a window into a widget

2010-12-03 Thread Kees Kling
Sorry, but I don't know anything about ogr3d yet, but I started to work on a similar thing. I also want a window in which I can draw, but then with the Cairo::context. In the tutorial is a chapter about custom widgets, which is the way I try to do it. Perhaps this will be also a lead for you

Re: adding a window into a widget

2010-12-03 Thread Krzysztof Kosiński
2010/12/3 Kees Kling ckl...@upcmail.nl: Sorry, but I don't know anything about ogr3d yet, but I started to work on a similar thing. I also want a window in which  I can draw, but then with the Cairo::context. In the tutorial is a chapter about custom widgets, which is the way I try to do it.

Re: How class deriving from GInitiallyUnowned should be wrapped?

2010-12-03 Thread Murray Cumming
On Thu, 2010-12-02 at 20:47 +0100, Krzesimir Nowak wrote: On Thu, 2010-12-02 at 14:48 +0100, Murray Cumming wrote: On Tue, 2010-11-30 at 19:38 +0100, Krzesimir Nowak wrote: Hi, I'm looking at Gtk::CellRenderer and Gtk::FileFilter. Both C types derives GInitiallyUnowned, but in

Re: How class deriving from GInitiallyUnowned should be wrapped?

2010-12-03 Thread Krzesimir Nowak
2010/12/3 Murray Cumming murr...@murrayc.com: On Thu, 2010-12-02 at 20:47 +0100, Krzesimir Nowak wrote:  Which leads me to another question: how to wrap a function taking GType as a parameter? Said function is: GtkSourceGutterRenderer * gtk_source_gutter_insertv (GtkSourceGutter *gutter,  

Glib::Dialog signal_key_press_event problem

2010-12-03 Thread Culpian Camilo Martin
Hi, I'm having a problem, when i connect a dialog to a signal_key_press_event, the event is not triggered I Connect: my_dialog-signal_key_press_event().connect(sigc::mem_fun(*this, class_my_dialog::on_key_press_event)); (my_dialog is a pointer to a Gtk::Dialog, i load them with gtkbuilder, and