Detecting changes in handle position of a GtkPaned using the mouse

2007-10-12 Thread Vincent Delannoy
Hi all! Can't figure out how to be notified when the user changes the handle position in a GtkPaned using the mouse? Looks like handle-related GtkPaned signals (move-handle and such...) are triggered when the user presses some keys only... Thanks for any help! Vincent

Re: Drawing a widget to offscreen

2007-10-12 Thread Emmanuele Bassi
On Fri, 2007-10-12 at 14:38 +0300, Alberto Mardegan wrote: > How can I achieve this? you can't. the support for offscreen rendering is still an experimental patch in bugzilla. what you can do is offload the list model population inside a thread and cache as much as you can to avoid per-row compu

Drawing a widget to offscreen

2007-10-12 Thread Alberto Mardegan
Hi all, I have a GtkTreeView associated to a model that doesn't change very often, but whose rendering might be computationally expensive. For this reason, I'd like to render the GtkTreeView to an offscreen pixmap (in its full size, no cropping), and then show this pixmap in a scrolled window

Re: Add a Scrollbar

2007-10-12 Thread Binary Chen
You can simple make a vbox and then add the vbox to the tab's window, then reparent all the frames to vbox. On Thu, 2007-10-04 at 18:24 +0200, [EMAIL PROTECTED] wrote: > A simple question: > what is the best way to add a vertical scrollbar to a widget? > In my case the widget is a notebook tab con