Re: GtkProgressBar getting blocked

2006-03-16 Thread Axel Simon
On Thu, 2006-03-16 at 10:09 -0500, jim Pharis wrote: I have an external synchronous library call that takes a while to complete. I want to display a progress bar well I'm waiting. The problem is, even when the progress bar is in the thread in a loop calling gtk_progress_bar_pulse, the

Re: editable GtkCellRendererText and ypad properties

2006-03-14 Thread Axel Simon
On Mon, 2006-03-13 at 18:48 +0100, Matteo Nastasi wrote: Hi guys, there is a strange effect in GtkCellRendererText when you set ypad property to a value like 15 or 20 and then click to edit it: the editable field fill all the cell and the text go up You can see the effect at:

Re: Sorting GtkListStore date column

2006-03-13 Thread Axel Simon
On Sun, 2006-03-12 at 21:39 -0500, Guy Rouillier wrote: I'll use the approach of storing the time_t corresponding to each displayed date in a hidden column, and use that hidden column as the sort column for the date column. Out of curiosity, would it also be possible to do this in a

Re: Resize Event

2006-02-09 Thread Axel Simon
On Thu, 2006-02-09 at 15:14 +0100, Philippe CHAUVAT wrote: Hello Yeti, IIUC you are looking for size-allocate; size-request is emitted when widget is asked for preferred size, but size-allocate when it's told the actual allocation. When I follow those steps: - maximize the window:

Re: easy gtk-programm fault

2006-01-17 Thread Axel Simon
On Tue, 2006-01-17 at 15:29 +0100, Daniel Dieterle wrote: hallo everybody, since some days i try to code my first gtk program. it 's not more than a window with a label in it. the code is that: #include gtk/gtk.h int main( int argc, char *argv[] ) {

Re: GIOChannel reference counting

2005-12-12 Thread Axel Simon
On Mon, 2005-12-12 at 10:56 +, Richard Warren wrote: Dear all, I would be grateful if anyone could tell me whether I need to unreference a GIOChannel in order to destroy it properly. Here's what I'm currently doing: 1. I create a channel with g_io_channel_unix_new() from a socket.

Re: Drawing area redraws, widgets/hbox do not

2005-12-02 Thread Axel Simon
On Thu, 2005-12-01 at 22:09 -0500, Royce C wrote: Hello, I have a GUI with -a GtkDrawingArea which has an associated GdkDrawable which has an associated GtkPixmap which is used to display images and drawing primitives -a GtkHBox with buttons The backend of the GUI is CPU intensive and

Re: Prevent gtk_label from request resize to parent

2005-12-02 Thread Axel Simon
On Thu, 2005-12-01 at 22:57 -0200, Marcus Reis wrote: hello, I have a some buttons inside a table like a matrix. Lets pick one of this buttons, we have one vbox set as child of the button and inside the box we have 4 labels. But we have a problem, one of this labels have a very random width,

Re: Help Using Gdk_image

2005-11-29 Thread Axel Simon
On Tue, 2005-11-29 at 15:07 +, Michael Noonan wrote: Hello, I'm new to using gtk and would really appreciate it if anybody could help me. I'm trying to display an image on the screen thats created from individual pixel information. I create the image and then set the indivisual

Re: on signals in an entry widget

2005-11-25 Thread Axel Simon
On Thu, 2005-11-24 at 23:19 +0800, Chris Clarin wrote: hi all, i am a beginner in using gtk and i would just like to ask which signal i should use if i want to activate my entry widget on pressing tab or when i leave my entry widget (i.e., i want changes to take place when i hit tab, return

Re: confused about pango_cairo_font_map_set_resolution API

2005-11-15 Thread Axel Simon
On Tue, 2005-11-15 at 09:05 +0100, Stefan Kost wrote: Hi Axel, Axel Simon wrote: Hi, I'm slightly confused about the pango_cairo_font_map_set_resolution function and friends, mainly because it only takes one argument, namely a scaling factor between em*1/72 (font size in inch (why

confused about pango_cairo_font_map_set_resolution API

2005-11-14 Thread Axel Simon
Hi, I'm slightly confused about the pango_cairo_font_map_set_resolution function and friends, mainly because it only takes one argument, namely a scaling factor between em*1/72 (font size in inch (why oh why?!)) and pixels. Given that my monitor (and probably other output media) has a different