GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gtk_layout_new api usage.

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Sundeep
Familiar Face


Joined: 18 Feb 2010
Posts: 11

PostPosted: Thu Mar 04, 2010 11:01 am    Post subject: gtk_layout_new api usage. Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP