Re: How to edit context menu?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
thx for your help!!!
I will read the code you referred. Thx a lot.
But it seems like that gimp_text_tool_get_popup is very complex...

------------------				 
Bear
2010-06-21

-------------------------------------------------------------
From:Bill Skaggs
Send Date:2010-06-20 06:02:25
To:Bear
CC:gimp-developer
Subject:Re:  How to edit context menu?

If you want to do this for your new tool, you might benefit from looking at
gimptexttool.c --
the function gimp_text_tool_get_popup is what sets up the context menu for
the text
tool.  It is invoked in the gimp_text_tool_class_init function, in the line
that reads

  tool_class->get_popup = gimp_text_tool_get_popup;

The code is pretty hard to understand without deep knowledge of the Gtk menu
system,
though.

The actual contents of the context menu are where Mitch pointed you.

  -- Bill

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux