GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Sep 03, 2014 2:07 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Questions regarding rekonq
PostPosted: Sun Nov 27, 2011 8:17 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
First of all i am aware that rekonq's using Qt(if im correct) and not GTK.

How is it possible to make the "tools" icon at the right of the entry bar have a drop down menu?

Eg i click the button and full menu appears(Open,new tab,quit etc)

Secondly,is there any way i can adjust the opacity of the text i append to an entry?Like 0.5


Thanks!


Top
 Profile  
 
 Post subject: Re: Questions regarding rekonq
PostPosted: Sun Dec 18, 2011 3:48 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
Forget the second one.
Does anybody know how i can add menu to a toolbar button?

I tried this but doesnt show the added menu label:
Code:
GtkToolItem *drop_down = gtk_menu_tool_button_new_from_stock(GTK_STOCK_PREFERENCES);
   GtkWidget *drop_menu = gtk_menu_new();
   GtkWidget *open_file = gtk_menu_item_new_with_label("File");
   
   gtk_menu_tool_button_set_menu(drop_down, drop_menu);
   gtk_menu_shell_append(drop_menu, open_file);
   
   gtk_toolbar_insert(toolbar, drop_down, -1);
   gtk_widget_show_all(drop_down);


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group