GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Aug 01, 2014 5:45 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Gtk notebook
PostPosted: Sat Oct 08, 2011 6:53 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
is there any way i can place the notebook tabs above the menubar?
if not,can i make custom tabs and how?


Top
 Profile  
 
 Post subject: Re: Gtk notebook
PostPosted: Mon Oct 10, 2011 8:53 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
It sounds more like you need to customise your menubar rather than the notebook. Instead of attaching the menubar to a vbox inside the main window, attach it inside the notebook. This will require a new menubar with each tab though. This could make some really bad problems with a unity desktop where the menubar is placed off the window (potentially making multiples appear), but then you may be stuck with unity problems no matter how you go about it.
In order to avoid problems with unity compatibility you might be best to use some non-menu menus. E.g. regular widgets like the GtkExpander that unity won't try to relocate and can still function like menus


Top
 Profile  
 
 Post subject: Re: Gtk notebook
PostPosted: Tue Oct 11, 2011 11:32 am 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
any examples?i want to place the tabs above the toolbar (:


Top
 Profile  
 
 Post subject: Re: Gtk notebook
PostPosted: Fri Feb 10, 2012 8:31 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
sorry for bringing this up,but honestly,is there any way i can do that?is there any way i can clone the notebook and modify the gtk-notebook.c source code to place tabs on top and how?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group