Re: GtkTreeView: How do I detect right-click?

2006-04-09 Thread Guy Rouillier
Ang Bodhi wrote: Hi, I have a GtkTreeView widget that I would like to detect the mouse button right-click, how can I do that? In Gtk 1.2, I used to be able to connect to a button_press_event signal of a GtkTreeItem widget. Did you search archives before posting? I just answered this 5 days ag

removing rows from a table

2006-04-09 Thread Sander Marechal
Hello all, I'm creating a game and I am using a GtkTable to display a table with scores in them. After every round I add a new row to the table and display a new series of values in the cells (using GtkLabels). When a player starts a new game, I need to reset this table (remove all rows exce

G_MODULE Tutorial

2006-04-09 Thread Nathaniel McCallum
Does anyone know of any documentation for the G_MODULE stuff other than the API reference? Nathaniel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: how to get data into text view

2006-04-09 Thread David Necas (Yeti)
On Sun, Apr 09, 2006 at 05:23:43AM -0700, Deependra Shekhawat wrote: > I am developing a application where-in I have to > display the output of the command "tail -f > /var/log/messages" into a text view. > Now the problem is I know system() to execute the > command but how do I re-direct the output

GtkTreeView: How do I detect right-click?

2006-04-09 Thread Ang Bodhi
Hi, I have a GtkTreeView widget that I would like to detect the mouse button right-click, how can I do that? In Gtk 1.2, I used to be able to connect to a button_press_event signal of a GtkTreeItem widget. Thanks, Bodhi ___ gtk-app-devel-list mailing

how to get data into text view

2006-04-09 Thread Deependra Shekhawat
Hello friends, I am developing a application where-in I have to display the output of the command "tail -f /var/log/messages" into a text view. Now the problem is I know system() to execute the command but how do I re-direct the output of the command into Textbuffer so textview can display it. Onc

Re: gdk_threads_leave in gtk callback ?

2006-04-09 Thread Vladimir
Hello, My program was already written using single thread and approach you described (using g_idle_add and poll). One of the functions of the program is audio transmission (to and from network-connected hardware device using special protocol), and it is required to receive and send packets with sp