Re: searching text

2010-01-05 Thread Emmanuel Rodriguez
On Jan 5, 2010, at 20:50, Chris Bare wrote: I'm working on porting a simple text note taking application from motif to gtk. The basics were very easy to get working, but I'm a little stuck on how to implement search. In the old implementation, I got the text data, got the curser offset a

Re: Capture console app output into texview?

2009-11-20 Thread Emmanuel Rodriguez
t forced to bind it to a shell. VteTerminal will take care of monitoring your process and grabbing all output for you. The only drawback is that the widget doesn't work on win32. [1] http://library.gnome.org/devel/vte/unstable/VteTerminal.html Emmanuel Rodriguez __

Re: using doxygen to document gobject/gtk classes?

2009-11-16 Thread Emmanuel Rodriguez
gen quite annoying, but it's your project so you know what's best for it! ;) [1] http://developer.pidgin.im/doxygen/dev/html/main.html -- Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Ctrl-Click keyboard mouse event

2009-11-10 Thread Emmanuel Rodriguez
mp; GDK_CONTROL_MASK) != 0) { /* Button 1 with contro clicked */ } -- Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: all about gobject references

2009-08-22 Thread Emmanuel Rodriguez
about this and > you should be able to find some documentation. > Libchamplain's wiki [1] has a section named "Valgrind error suppression" that shows how to prepare valgrind to behave better with glib. The instructions should be easy to adapt to any project. [1] http://live.gnome.

Re: GDK + GLib main loop

2009-08-11 Thread Emmanuel Rodriguez
p://live.gnome.org/). -- Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GDK + GLib main loop

2009-07-22 Thread Emmanuel Rodriguez
elf: GMainLoop *loop = g_main_loop_new (NULL, FALSE); g_main_loop_run(loop); -- Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GDK + GLib main loop

2009-07-22 Thread Emmanuel Rodriguez
ge of your code and the example simple.c provided by gtkglext.tar.gz. Your current drawing method doesn't work but I'm not that good with OpenGL. Although if I substitue your drawing by the one of simple.c it works. I'm sure that you will be able to figure this bit out for me :) -- E

Re: gtk & gis

2009-06-11 Thread Emmanuel Rodriguez
ute" branch that should be merged before the end of the week that will allow for basic drawing. The current version allows markers to be added to an existing maps and markers can be rendered with cairo. -- Emmanuel Rodriguez ___ gtk-app-devel-list

Re: Stop alt-spacebar window menu

2009-05-27 Thread Emmanuel Rodriguez
On Wed, May 27, 2009 at 9:04 PM, Brian J. Tarricone wrote: > Bill Farmer wrote: > >> I am porting a native windows application to linux gtk. I want to stop the >> alt-spacebar key combination popping up the application window menu. This >> can be done in windows by capturing the WM_SYSCHAR message

Re: Segmentation fault debug help needed

2009-03-06 Thread Emmanuel Rodriguez
; gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: g_malloc overhead

2009-01-20 Thread Emmanuel Rodriguez
ower cost. > I recall reading somewhere that mmap can be used to build custom memory allocators. If that's true than one can bypass malloc. I think that you can request memory through mmap by using MAP_ANONYMOUS. Emmanuel Rodriguez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list