Re: GtkMenuToolButton with GtkUIManager
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: GtkMenuToolButton with GtkUIManager
- Date: Fri, 14 Sep 2007 16:23:11 +0100
On Fri, 2007-09-14 at 12:15 -0300, Vreixo Formoso Lopes wrote:
> However, how can I do to make an Action return a
> GtkMenuToolButton as proxy? I've searching a lot but I
> didn't find any way, maybe I'm missing something.
you have to create a subclass of GtkAction with the toolitem_type set to
GTK_TYPE_MENU_TOOL_BUTTON or a subclass of GtkMenuToolButton.
GtkRecentAction in the newly release gtk+ 2.12, for instance, support
that.
ciao,
Emmanuele.
--
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]