Sundeep Familiar Face
Joined: 18 Feb 2010 Posts: 11
|
Posted: Thu Mar 04, 2010 11:01 am Post subject: gtk_layout_new api usage. |
|
|
Hi ,
Iam working with GtkLayout feature, came across some issues.
Common:
1. Scrolled window to main window.
2. Layout to Scrolled window.
3. show all on main window.
Case1:
Scrolled Window, HAdj = NULL, VAdj = NULL
Layout:
HAdj = gtk_adjustment_new(0, 0, 100, 10.0, 100, 100);
VAdj = gtk_adjustment_new(0, 0, 100, 10.0, 100, 100);
Iam not able to get the step increment working...
Case2:
Scrolled Window, HAdj = NULL, VAdj = NULL
Layout, HAdj = NULL, VAdj = NULL
// as copied from testgtk.c example program.
GTK_LAYOUT (pLay)->hadjustment->step_increment = 10.0;
GTK_LAYOUT (pLay)->vadjustment->step_increment = 10.0;
This works fine.
Can you please provide me with your support in this regard.
Thanks
Sundeep. |
|