Re: MenuToolButton bug ?
- From: "Frederic Martin" <martin fredo gmail com>
- To: "Grizzly(Francis Smit)" <grizzly smit id au>
- Cc: gtkmm-list gnome org
- Subject: Re: MenuToolButton bug ?
- Date: Tue, 24 Jul 2007 16:00:10 +0200
I guess the method and the associated documentation for this method are auto-generated.
In my opinion, there is a bug in gtkmm and there is no way to get
the arrow insensitive.
Where should I report this bug ?
2007/7/24, Grizzly(Francis Smit) <grizzly smit id au>:
Frederic Martin wrote:
> Hi.
>
> I'm trying to the get the arrow button insensitive for a MenuToolButton.
> Here is the documentation of Gtk::MenuToolButton::set_menu(Menu& menu) :
>
> " If /menu/ is |0|, the arrow button becomes insensitive."
>
menu is a reference it cannot be 0 there must be an error in the docs
you read
> The problem is that you cannot use 0 as a valid argument.
>
> Moreover the source code of set_menu is as follow :
>
> void MenuToolButton::set_menu(Menu& menu)
> {
> gtk_menu_tool_button_set_menu(gobj(), (menu).Gtk::Widget::gobj());
> }
>
> which assume that "menu" is a valid Menu object I guess.
>
> So is there any way get the arrow insensitive ?
> ------------------------------------------------------------------------
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
>
http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
--
In my life God comes first.... but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/P/PA d- s+:+> a+>? C++++ UL++++@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++(++++) DI(--) D G e++(+++) h-- r- y-
------END GEEK CODE BLOCK------
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]