Re:GtkScrolledWindow/GtkViewport question

2012-03-01 Thread Xi Yang
In Gtk2, there are two properties "hscrollbar-policy" and "vscrollbar-policy". If set to GTK_POLICY_AUTOMATIC, the The scrollbar will appear and disappear as necessary. At 2012-03-02 11:25:22,"Michael Stegherr" wrote: >Hi all, > >I have a GtkScrolledWindow inside of a dialog window. > >The scrol

GtkScrolledWindow/GtkViewport question

2012-03-01 Thread Michael Stegherr
Hi all, I have a GtkScrolledWindow inside of a dialog window. The scrolled window is used, because the contents of it can grow dynamically. Therefore scrollbars should be available, if the screen space runs out. But when the dialog pops up, it should fit the initial contents without scrollbars.

memory lead while using Glib regexp

2012-03-01 Thread Xi Yang
Hi, everyone! I use Glib's regular expression in a cycle, and find a rapid memory consumption increase. Did I forget to release anything? Thanks a lot! = code below == GRegex* regex_illumina = g_regex_new( "@(.+):(\\d+):(\\d+):(\\d+):(\\d+)#(\\d+)/([

YES!![bar-over]

2012-03-01 Thread Gary Kline
well, thanks to zz, i think i have something that actually works most or all of you know how, but for those wsho are new to gtk, i will explain what i learned. i have a "value changed" callback that prints the value every time the horizontal slider is moved one increment. void cb_get_

Re: oops

2012-03-01 Thread Gary Kline
On Thu, Mar 01, 2012 at 07:35:19AM +0100, z...@excite.it wrote: > Date: Thu, 1 Mar 2012 07:35:19 +0100 > From: z...@excite.it > Subject: Re: oops > To: gtk-app-devel-list@gnome.org > > On Thursday 01 March 2012 04:05:22 Gary Kline wrote: > > On Wed, Feb 29, 2012 at 06:46:50PM -0800, Gary Kline wro