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 pr

Re: Hiding Rows in ListStore

2006-03-16 Thread Axel Simon
On Thu, 2006-03-16 at 13:47 +0100, Bellicano Pascal wrote: > Hello, > > Is there a way to hide rows in a GtkListStore ? > > Because I have to search my treeview (list) and show only the lines > containing certain words.. > > But I want my list still clickeable to modify items... > > Then, I m

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 si

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 th

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 > > > > > > 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 s

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: 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 inte

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 indivisu

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,

Re: example

2005-11-21 Thread Axel Simon
On Mon, 2005-11-21 at 21:31 +1100, ashley maher wrote: > G'day, > > I have followed the gtk tree view tutorial at: > > http://scentric.net/tutorial/. > > The tutorial is very good. However section: 3.5 deals with Retrieving > row data. > > This works well for data to stdout. > > However I can'

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 > >

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 re