[gtkmm] Gtkmm-forge digest, Vol 1 #163 - 15 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 88528] Changed - Various fixes to reference documentation (bugzilla-daemon widget gnome org)
   2. [Bug 88492] Changed - The RefPtr template doesn't have reference documentation (bugzilla-daemon widget gnome org)
   3. [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Notebook destroyed (bugzilla-daemon widget gnome org)
   4. [Bug 87912] Changed - Warning on dialog destruction (bugzilla-daemon widget gnome org)
   5. [Bug 88556] New - pack_start and AttachOptions is still confusing (bugzilla-daemon widget gnome org)
   6. [Bug 88556] Changed - pack_start and AttachOptions is still confusing (bugzilla-daemon widget gnome org)
   7. [Bug 88610] New - Need nice hierarchy picture (bugzilla-daemon widget gnome org)
   8. [Bug 87241] Changed - TextBuffer needs extra iterators (bugzilla-daemon widget gnome org)
   9. [Bug 87912] Changed - Warning on dialog destruction (bugzilla-daemon widget gnome org)
  10. [Bug 87912] Changed - Warning on dialog destruction (bugzilla-daemon widget gnome org)
  11. [Bug 88556] Changed - pack_start and AttachOptions is still confusing (bugzilla-daemon widget gnome org)
  12. [Bug 88628] New - Proper fix for Debian's problem with autoconf (bugzilla-daemon widget gnome org)
  13. [Bug 88629] New - const methods (bugzilla-daemon widget gnome org)
  14. [Bug 88629] Changed - const methods (bugzilla-daemon widget gnome org)
  15. [Bug 88630] New - Possibly a bug with menus (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, morten wtf dk
Cc: 
Date: Thu, 18 Jul 2002 15:41:15 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88528] Changed - Various fixes to reference documentation

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88528

Changed by murrayc usa net 

--- shadow/88528	Thu Jul 18 12:09:33 2002
+++ shadow/88528.tmp.9646	Thu Jul 18 15:41:15 2002
@@ -1,13 +1,13 @@
 Bug#: 88528
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: minor
 Priority: Normal
 Component: reference documentation
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: morten wtf dk               
 QAContact: gtkmm-forge lists sourceforge net
@@ -19,6 +19,9 @@
 ChangeLog entry describes it more precisely.
 
 ------- Additional Comments From morten wtf dk  2002-07-18 12:09 -------
 Created an attachment (id=9948)
 Patch
 
+
+------- Additional Comments From murrayc usa net  2002-07-18 15:41 -------
+Applied.



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, olau hardworking dk
Cc: 
Date: Thu, 18 Jul 2002 16:28:34 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88492] Changed - The RefPtr template doesn't have reference documentation

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88492

Changed by murrayc usa net 

--- shadow/88492	Thu Jul 18 05:44:12 2002
+++ shadow/88492.tmp.30177	Thu Jul 18 16:28:34 2002
@@ -1,13 +1,13 @@
 Bug#: 88492
 Product: gtkmm
 Version: 2.0
 OS: other
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: reference documentation
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: olau hardworking dk               
 QAContact: gtkmm-forge lists sourceforge net
@@ -22,6 +22,9 @@
 if Something::create is to be preferred, why is there a member function?
 
 ------- Additional Comments From olau hardworking dk  2002-07-18 05:44 -------
 Created an attachment (id=9943)
 Adds reference documentation to refptr.h
 
+
+------- Additional Comments From murrayc usa net  2002-07-18 16:28 -------
+Applied, with changes.



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, morten wtf dk
Cc: 
Date: Thu, 18 Jul 2002 17:29:39 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Notebook destroyed

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88380

Changed by murrayc usa net 

--- shadow/88380	Wed Jul 17 08:51:23 2002
+++ shadow/88380.tmp.7360	Thu Jul 18 17:29:39 2002
@@ -1,13 +1,13 @@
 Bug#: 88380
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: morten wtf dk               
 TargetMilestone: ---
@@ -48,6 +48,21 @@
 Simplified version uploaded. _Please_ save me time in future by
 isolating the problem.
 
 By the way, you shouldn't call Gtk::Main::Quit() when using the
 Gtk::Main::run(window) override. IT calls Gtk::Main::Quit() for you.
 Just hide() the window and run() will respond accordingly.
+
+------- Additional Comments From murrayc usa net  2002-07-18 17:29 -------
+2002-07-18  Murray Cumming  <murrayc usa net>
+
+	* To fix bug #88380:
+	  - Gtk::Container:: Add custom "remove" callback to prevent use
+	  of wrap on C objects whose C++ objects have been
+	  disconnected. This was generating new, secret, C++ instances.
+	  This required a new qdata quark, because we _do_ want to use
+	  wrap() on C objects whose C++ instance has not _yet_ been created.
+	  I think this is just a Container::remove thing - The GTK+ people
+	  obviously don't test the full behaviour with unmanaged widgets.
+	  - tools/signal.m4: Don't call the Slot if the C object's C++
+	  wrapper has been disconnected from the C object.
+



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, a rottmann gmx at
Cc: 
Date: Thu, 18 Jul 2002 17:32:45 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87912] Changed - Warning on dialog destruction

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87912

Changed by murrayc usa net 

--- shadow/87912	Thu Jul 18 14:31:15 2002
+++ shadow/87912.tmp.7967	Thu Jul 18 17:32:45 2002
@@ -51,6 +51,10 @@
 
 ------- Additional Comments From murrayc usa net  2002-07-18 14:31 -------
 I'm still not happy about the "delete this". I'd expect it to at least
 eb the last thing that the class does. Also, the Gtk::Dialog is not
 deleted anywhere.
 
+
+------- Additional Comments From murrayc usa net  2002-07-18 17:32 -------
+Please test with the latest gtkmm. I just committed some quite major
+internals changes that might make a difference.



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Jul 2002 17:33:32 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88556] New - pack_start and AttachOptions is still confusing

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88556

Changed by mbabcock la creatureshop henson com 

--- shadow/88556	Thu Jul 18 17:33:32 2002
+++ shadow/88556.tmp.8120	Thu Jul 18 17:33:32 2002
@@ -0,0 +1,30 @@
+Bug#: 88556
+Product: gtkmm
+Version: 2.0
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: enhancement
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: mbabcock la creatureshop henson com               
+TargetMilestone: ---
+URL: 
+Summary: pack_start and AttachOptions is still confusing
+
+As discussed on the mailing list, the AttachOptions enum is confusing
+for Gtk::Box::pack_start() because the interface allows more options
+than are valid in the implementation.
+
+The patch creates a new Gtk::PackOptions enumeration:
+/** Packing options for adding child widgets to a Box with pack_start() 
+and pack_end(). */
+enum PackOptions {
+   CONTRACT, /**< Space is contracted to the child widget size. */
+   EXPAND_PADDING, /**< Space is expanded with extra space filled with 
+padding. */
+   EXPAND_WIDGET /**< Space is expanded with extra space filled by 
+increasing the child widget size. */
+};



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Jul 2002 17:44:48 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88556] Changed - pack_start and AttachOptions is still confusing

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88556

Changed by mbabcock la creatureshop henson com 

--- shadow/88556	Thu Jul 18 17:33:32 2002
+++ shadow/88556.tmp.9856	Thu Jul 18 17:44:48 2002
@@ -25,6 +25,11 @@
    CONTRACT, /**< Space is contracted to the child widget size. */
    EXPAND_PADDING, /**< Space is expanded with extra space filled with 
 padding. */
    EXPAND_WIDGET /**< Space is expanded with extra space filled by 
 increasing the child widget size. */
 };
+
+------- Additional Comments From mbabcock la creatureshop henson com  2002-07-18 17:44 -------
+Created an attachment (id=9958)
+Add PackOptions enumeration
+



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 19 Jul 2002 07:30:40 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88610] New - Need nice hierarchy picture

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88610

Changed by murrayc usa net 

--- shadow/88610	Fri Jul 19 07:30:40 2002
+++ shadow/88610.tmp.12043	Fri Jul 19 07:30:40 2002
@@ -0,0 +1,22 @@
+Bug#: 88610
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: reference documentation
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: murrayc usa net               
+QAContact: gtkmm-forge lists sourceforge net
+TargetMilestone: ---
+URL: 
+Summary: Need nice hierarchy picture
+
+I'd like someone to draw a nice graph/picture of the gtkmm widget
+hierarchy. The doxygen-generated hierarchy graph is a bit wacky.
+
+You could start with just the Gtk:: widgets. Ideally you would do this in
+an editable format, such as Dia, but I'm no expert on linux drawing programs.



--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: morten wtf dk
Date: Fri, 19 Jul 2002 07:38:29 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87241] Changed - TextBuffer needs extra iterators

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87241

Changed by murrayc usa net 

--- shadow/87241	Sun Jul 14 08:10:38 2002
+++ shadow/87241.tmp.13121	Fri Jul 19 07:38:29 2002
@@ -7,13 +7,13 @@
 Resolution: 
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: murrayc usa net               
-TargetMilestone: ---
+TargetMilestone: 3
 URL: 
 Cc: morten wtf dk
 Summary: TextBuffer needs extra iterators
 
 Gtk::TextBuffer (used by Gtk::TextView) has an iterator (GtkTextIter) and
 we need to make this more STL-like.
@@ -145,6 +145,9 @@
 <mbp> though it would lead the way to something like,
 for_each(words.begin(), words.end(), functorObjectToDoStuffWithWords)
 <murrayc> mbp: Yes, that would be nice. 
 <murrayc> Still, it sounds like something that needs to be looked at
 thoroughly before a freeze.
 
+
+------- Additional Comments From murrayc usa net  2002-07-19 07:38 -------
+Punted, unless someone does the work real fast.



--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, a rottmann gmx at
Cc: 
Date: Fri, 19 Jul 2002 07:40:52 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87912] Changed - Warning on dialog destruction

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87912

Changed by murrayc usa net 

--- shadow/87912	Thu Jul 18 17:32:45 2002
+++ shadow/87912.tmp.13525	Fri Jul 19 07:40:52 2002
@@ -55,6 +55,9 @@
 deleted anywhere.
 
 
 ------- Additional Comments From murrayc usa net  2002-07-18 17:32 -------
 Please test with the latest gtkmm. I just committed some quite major
 internals changes that might make a difference.
+
+------- Additional Comments From murrayc usa net  2002-07-19 07:40 -------
+Tried it. No change.



--__--__--

Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, a rottmann gmx at
Cc: 
Date: Fri, 19 Jul 2002 08:57:22 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87912] Changed - Warning on dialog destruction

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87912

Changed by murrayc usa net 

--- shadow/87912	Fri Jul 19 07:40:52 2002
+++ shadow/87912.tmp.25234	Fri Jul 19 08:57:22 2002
@@ -1,13 +1,13 @@
 Bug#: 87912
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Debian unstable
-Status: REOPENED   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: a rottmann gmx at               
 TargetMilestone: ---
@@ -58,6 +58,18 @@
 ------- Additional Comments From murrayc usa net  2002-07-18 17:32 -------
 Please test with the latest gtkmm. I just committed some quite major
 internals changes that might make a difference.
 
 ------- Additional Comments From murrayc usa net  2002-07-19 07:40 -------
 Tried it. No change.
+
+------- Additional Comments From murrayc usa net  2002-07-19 08:57 -------
+Warning fixed:
+
+2002-07-19  Murray Cumming  <murrayc usa net>
+
+	* glib/glibmm/signalproxy_connectionnode.cc: Fix for bug #87912: 
+	While disconnecting the gsignal, avoid a
+	"not connected" warning by checking first. GTK+ seems to sometimes
+	disconnect signals _before_ calling the destroy notify callback
+	for that object. It's rare (the bug example uses delete this), and 
+	is just a check, so it seems harmless.



--__--__--

Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	mbabcock la creatureshop henson com
Cc: 
Date: Fri, 19 Jul 2002 12:03:14 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88556] Changed - pack_start and AttachOptions is still confusing

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88556

Changed by murrayc usa net 

--- shadow/88556	Thu Jul 18 17:44:48 2002
+++ shadow/88556.tmp.23956	Fri Jul 19 12:03:14 2002
@@ -1,12 +1,12 @@
 Bug#: 88556
 Product: gtkmm
 Version: 2.0
 OS: All
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: enhancement
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: mbabcock la creatureshop henson com               
@@ -30,6 +30,26 @@
 };
 
 ------- Additional Comments From mbabcock la creatureshop henson com  2002-07-18 17:44 -------
 Created an attachment (id=9958)
 Add PackOptions enumeration
 
+
+------- Additional Comments From murrayc usa net  2002-07-19 12:03 -------
+Please use the PATCH keyword in future.
+
+Thanks a lot. This was very cleanly done.
+
+However, how did you decide on the correct pack options in the packbox
+example? By looking at the C original? Leaving bug open so you can reply.
+
+Applied, with these changes:
+
+2002-07-19  Murray Cumming  <murrayc usa net>
+
+	* Prefixed PackOptions values with PACK_ to avoid conflicts and
+	confusion with other enum values.
+	* Looked at Table::attach() and Paned::pack*() and decided that
+	they should continue to use the separate AttachOptions enum -
+	for Table that is not even a change from GTK+.
+	* Added back the bool, bool pack methods so that it's easier to 
+	port from gtkmm 1.2, or from GTK+.



--__--__--

Message: 12
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 19 Jul 2002 12:57:31 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88628] New - Proper fix for Debian's problem with autoconf

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88628

Changed by mmagallo debian org 

--- shadow/88628	Fri Jul 19 12:57:31 2002
+++ shadow/88628.tmp.1433	Fri Jul 19 12:57:31 2002
@@ -0,0 +1,18 @@
+Bug#: 88628
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: Debian (woody and later)
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: build
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: mmagallo debian org               
+TargetMilestone: ---
+URL: 
+Summary: Proper fix for Debian's problem with autoconf
+
+The work-arround for Debian in autogen.sh is better implemented as version
+check in configure.in.  Patch will be attached.



--__--__--

Message: 13
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 19 Jul 2002 13:05:08 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88629] New - const methods

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88629

Changed by madmaxer poczta fm 

--- shadow/88629	Fri Jul 19 13:05:08 2002
+++ shadow/88629.tmp.2712	Fri Jul 19 13:05:08 2002
@@ -0,0 +1,28 @@
+Bug#: 88629
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: madmaxer poczta fm               
+TargetMilestone: ---
+URL: 
+Summary: const methods
+
+It is a looong ago promised patch. It fixes some more methods to be const
+and add overloaded methods like:
+Obj* Foo::bar();
+const Obj* Foo::bar() const;
+and
+Glib::RefPtr<Obj> Foo::bar();
+Glib::RefPtr<const Obj> Foo::bar() const;
+
+But I didn't make all possible changes. I'm just not sure what to do with
+most methods returning RefPtr<Gdk::...> and RefPtr<Pango::...>.
+Also it is not obvious for me if Gtk::Widget, Gtk::Style and other objects'
+methods should return const pointers, so I did not modify them.



--__--__--

Message: 14
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 19 Jul 2002 13:07:42 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88629] Changed - const methods

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88629

Changed by madmaxer poczta fm 

--- shadow/88629	Fri Jul 19 13:05:08 2002
+++ shadow/88629.tmp.2949	Fri Jul 19 13:07:42 2002
@@ -23,6 +23,11 @@
 Glib::RefPtr<const Obj> Foo::bar() const;
 
 But I didn't make all possible changes. I'm just not sure what to do with
 most methods returning RefPtr<Gdk::...> and RefPtr<Pango::...>.
 Also it is not obvious for me if Gtk::Widget, Gtk::Style and other objects'
 methods should return const pointers, so I did not modify them.
+
+------- Additional Comments From madmaxer poczta fm  2002-07-19 13:07 -------
+Created an attachment (id=9969)
+Patch...
+



--__--__--

Message: 15
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 19 Jul 2002 13:12:39 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88630] New - Possibly a bug with menus

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88630

Changed by madmaxer poczta fm 

--- shadow/88630	Fri Jul 19 13:12:39 2002
+++ shadow/88630.tmp.3724	Fri Jul 19 13:12:39 2002
@@ -0,0 +1,37 @@
+Bug#: 88630
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: madmaxer poczta fm               
+TargetMilestone: ---
+URL: 
+Summary: Possibly a bug with menus
+
+First I must notice that I'm not sure if it is a bug, a feature or perhaps
+a Gtk+ issue.
+When I create a popup menu with submenus subitems are not always activated.
+For example I have a menu:
+------
+Item 1
+Item 2 ---------
+       SubItem 1
+       SubItem 2
+All items and subitems have on_activate signals connected.
+When I popup a menu using: menu->popup(*window, 3, 0);
+(3 is right mouse button), Item1 is activated no matter if I click it with
+left, middle or right mouse button. But subitems only are activated with
+right mouse button. Clicks with other buttons just close the menu. Replace
+3 with 0 in popup() call and all items and subitems will be activated by
+any button.
+Such behaviour is a little strange. I think either all items should be
+activated with any button, or all with only one button.
+If it is not Gtkmm problem then I'm really sorry for trouble. I created a
+simple example showing this problem. It would be very useful if someone
+rewrote it in Gtk+ and test it then.




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



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