Hi!
Is there a way to set the text of a GtkTextView but also keep the cursor
location and adjustments of a GtkScrolledWindow where the text view resides?
I am trying to do it using the attached code but there are two problems:
1. When you scroll down, set the cursor and then press 'Reload'
It seems the attachment got lost so I put it here in plain text:
-- Steffen
/*
** gcc -o textview textview.c -Wall `pkg-config gtk+-2.0 --cflags --libs`
*/
#include string.h
#include gtk/gtk.h
static void reload(GtkWidget *tv)
{
static char text[20];
char *s = text;
int i;
On Wed, Dec 24, 2008 at 2:18 PM, Peter Clifton pc...@cam.ac.uk wrote:
Hi,
I'm wanting to make a menu-bar item without any offset allocated due to
toggle-size (space left to line up all GtkMenuItems icons /
accelerators).
What I want to implement is something which looks like the screen-shot