anjuta questions

2008-04-23 Thread Roman Makurin
 I`ve got anjuta-2.4.1 installed in ubuntu hardy. I`m new with anjuta(mostly vim user). There are some questions: 1) When importing gtk+ project with make files writen by hand, I can build it without problem, but when I press F3 button to launch my executable, anjuta gives me error: there is no

Re: Cant get GtkTextBuffer from GtkTextView widget

2008-04-14 Thread Roman Makurin
В Пнд, 14/04/2008 в 09:59 +0300, Tiberius DULUMAN пишет: The handler should be: static void handler(GtkWidget *widget, GtkTextView *tview) { GtkTextBuffer *buffer = NULL; GtkTextIter iterator; buffer = gtk_text_view_get_buffer(tview); g_assert(buffer != NULL);

Re: Callback Question

2008-04-13 Thread Roman Makurin
В Вск, 13/04/2008 в 15:46 -0300, Matí­as Alejandro Torres пишет: Hi, Can I call GTK Functions that modifies the GUI inside a callback? Just an example: /*CALLBACK*/ void text_to_upper_callback (GtkEntry *entry, gpointer data) { /* I modify the GUI by setting the text of an entry

Cant get GtkTextBuffer from GtkTextView widget

2008-04-13 Thread Roman Makurin
Hi All! I`ve got a problem with GtkTextView object. I want to append text to it everytime when some event occurs. Here is code snippet: static void handler(GtkWidget *widget, GtkTextView *tview) { GtkTextBuffer *buffer; GtkTextIter *iterator; buffer =

gtk+ and eclipse problems

2008-03-25 Thread Roman Makurin
Hi All! It`s my first post to this list, so be patient :) I`ve got a problem with compiling gtk+ project in eclipse. Here is the simplest project from gtk tutorial: #include gtk/gtk.h int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (argc, argv);