gtkrc

2005-02-22 Thread andrew gatt
Hi all, I'm desperately trying to implement a set of buttons in a gtkrc file which has one button picture for when it has focus, one normal and one when it is active - to simulate a visual keypress. I have this in my gtkrc: style "pause_button" { GtkWidget::focus_padding = 0 GtkWidget::fo

Auto Scrolling Text

2005-02-22 Thread Andrew Gatt
Hi, Does anyone know how to create a text widget, that if you set text wider than the widget it will automatically scroll the text held in the buffer? Or point me in the right direction of an example? Thanks Andrew ___ gtk-app-devel-list mailing list gt

Simulated keypress window focus

2005-02-16 Thread Andrew Gatt
Hi, I've recently been trying to implement a simulate keypress function, the function is activated by a command sent to the gui through a pipe, which is all working however the simulate keypress function never seems to actually work. The piece of code i'm using is: static void manufacture_keystro

Alpha base cell

2005-02-09 Thread Andrew Gatt
Hi, Does anyone know how to make the background of a cell in a tree view / list store a png file? I would like to be able to have an alpha channel so the main window background will still be visible (although faded) through the cells. I have been trying to use the pixmap engine in a gtkrc but can'

Receiving multiple lines with g_io_channel_read_line

2005-02-07 Thread ANDREW GATT
Hi, I've had some sucess using g_io_channel_read_line to receive terminated lines from a fifo formed with a server app i wrote. However i need to receive unknown amounts of bytes with line terminators until a final escape character is received, then act on this packet. Is this possible to do in on

Receiving multiple lines with g_io_channel_read_line

2005-02-07 Thread Andrew Gatt
Hi, I've had some sucess using g_io_channel_read_line to receive terminated lines from a fifo formed with a server app i wrote. However i need to receive unknown amounts of bytes with line terminators until a final escape character is received, then act on this packet. Is this possible to do in on