Murray Cumming a écrit :
On Wed, 2005-02-23 at 15:35 +0100, David Sillou wrote:Hello, I'm new to gtkmm programming and i'm trying to make a custom widget (for using libxine in a project). I thought starting from examples/book/custom/custom_widget was good idea. The example compiles fines but othing is drawn in the myWidget 's GDK::Window. Any idea ?Do you have the latest version from gtkmm 2.4 version. It's also possible that only the version in gtkmm 2.5 works, but you should be able to adapt the 2.5 code to 2.4. If necessary, I'd welcome a patch for that.
I'm actually using gtmm 2.4.8, I'll have a try with 2.5 and bring info back to you.I've tested the example provided with gtkmm2.5 with gtkmm2.5 and it works perfectly.Then, I turned back to gtmm2.4.8 and it works perfectly too (without any change). It seems that there was a problem with on_size_allocate and on_expose_event that were never called (the flags setting is the matter i guess).
thx for the tip. PS: sorry for my approximative english. _______________________________________________ gtkmm-list mailing list gtkmm-list gnome org http://mail.gnome.org/mailman/listinfo/gtkmm-list