OK, I think I have it figured out. I thought I had to get ahold of the gutter and then place things inside of it. But, as the test-widget.c shows you just work with source marks. My mind was obviously on a completely different track :).
-Jeff On Sun, Oct 30, 2011 at 7:10 PM, Jeff Johnston <[email protected]>wrote: > Is there an example of using the GtkSourceGutter? It seems that it should > be so easy but I cannot seem to get anything to render. Here is something > simple I am trying... > > > GtkSourceGutter *gutter; > GtkSourceGutterRenderer *renderer; > > gutter = gtk_source_view_get_gutter (view, GTK_TEXT_WINDOW_LEFT); > > renderer = gtk_source_gutter_renderer_text_new (); > > gtk_source_gutter_renderer_text_set_text > (GTK_SOURCE_GUTTER_RENDERER_TEXT (renderer), > "OK", -1); > gtk_source_gutter_insert (gutter, renderer, 20); > > > Even pointing me to a project that has it working would be helpful. I > think that Anjuta is doing something custom...that would be the obvious > place to look. > > -Jeff > >
_______________________________________________ gnome-devtools mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devtools
