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 Nov 28, 2014 8:29 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to find Gtk widget paths
PostPosted: Wed Jul 18, 2007 8:17 pm 
Offline

Joined: Wed Jul 18, 2007 8:08 pm
Posts: 1
Hi,
I'm trying to set the GtkComboBoxEntry's pop-up menu and menu text. (different from my current desktop theme)

I've tried (in my GTKRC)
widget "*myComboEntry.GtkMenu" style "myMenuStyle"
widget "*myComboEntry.GtkMenu.GtkCellView" style "myMenuCellStyle"

but it doesn't seem to work.

If i try

class "GtkMenu" style "myMenuStyle"
class "GtkCellView" style "myMenuCellStyle"

it works, but then all my menus and all combo box popups get affected.

the following works:
widget "*myComboEntry.GtkToggleButton" style "myMenuToggle"

so I think, the path to GtkMenu is not right? Does anyone know how to find all Gtk types within other types?

so far i know that in a GtkComboBoxEntry there is

GtkComboBoxEntry.GtkEntry
GtkComboBoxEntry.GtkToggleButton
GtkComboBoxEntry.GtkToggleButton.GtkArrow
...

But I can't seem to get the popup (GtkMenu, GtkMenu.GtkCellView, etc.)


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

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 3 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