Re:Re: HScale don't move

2011-08-09 Thread Xi Yang
I changed both page size and page increment to 0, and the slider moves. However, why I get an initial value of 0, instead of 5? At 2011-08-09 13:46:54,Tadej Borovšak tadeb...@gmail.com wrote: Hi. object class=GtkAdjustment id=adj_assign property name=value5/property property

Re: HScale don't move

2011-08-09 Thread David Nečas
On Tue, Aug 09, 2011 at 02:24:30PM +0800, Xi Yang wrote: I changed both page size and page increment to 0, and the slider moves. However, why I get an initial value of 0, instead of 5? By changing the value property: property name=value5/property Yeti

How can I get argc and argv from Gtk+ API?

2011-08-09 Thread zxx zxx
Hi all: I have some experience in Qt but not Gtk+. I can get argc and argv from Qt API when I develop application with Qt4: QCoreApplication::argc(); QCoreApplication::argv(); But I don't know how to get argc and argv from Gtk+ API when I develop application with Gtk+. Does

Re: How can I get argc and argv from Gtk+ API?

2011-08-09 Thread David Nečas
On Tue, Aug 09, 2011 at 03:19:16PM +0800, zxx zxx wrote: I have some experience in Qt but not Gtk+. I can get argc and argv from Qt API when I develop application with Qt4: QCoreApplication::argc(); QCoreApplication::argv(); But I don't know how to get argc and argv from

Re: Re: HScale don't move

2011-08-09 Thread Tadej Borovšak
Hi. I changed both page size and page increment to 0, and the slider moves. However, why I get an initial value of 0, instead of 5? Make sure your value is defined after lower and upper, otherwise it may be clamped to something unexpected. BTW, what version of glade are you using? Recent

Re:Re: Re: HScale don't move

2011-08-09 Thread Xi Yang
I use glade 3.6.7 which is the newest version available in windows. It did not produce correct order of those properties. At 2011-08-09 15:58:21,Tadej Borovšak tadeb...@gmail.com wrote: Hi. I changed both page size and page increment to 0, and the slider moves. However, why I get an