[gtkmm] Gtkmm-forge digest, Vol 1 #652 - 16 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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 137591]  - Build failure when building in a Cygwin/win32 environment (bugzilla-daemon widget gnome org)
   2. [Bug 138248] New:  - Memory management strategy is not clear (bugzilla-daemon widget gnome org)
   3. [Bug 138249] New:  - Several small issues with gtkmm tutorial (bugzilla-daemon widget gnome org)
   4. [Bug 138249]  - Several small issues with gtkmm tutorial (bugzilla-daemon widget gnome org)
   5. [Bug 138249]  - Several small issues with gtkmm tutorial (bugzilla-daemon widget gnome org)
   6. [Bug 138254] New:  - sigc -- slot, bind, etc. fixes to documentation (bugzilla-daemon widget gnome org)
   7. [Bug 138254]  - sigc -- slot, bind, etc. fixes to documentation (bugzilla-daemon widget gnome org)
   8. [Bug 138254]  - sigc -- slot, bind, etc. fixes to documentation (bugzilla-daemon widget gnome org)
   9. [Bug 138255] New:  - Example explanation says right justified, but code is left justified (bugzilla-daemon widget gnome org)
  10. [Bug 138256] New:  - Table example shows aspectframe code instead of a table code (bugzilla-daemon widget gnome org)
  11. [Bug 138257] New:  - Link to source code for drawing lines example is broken (bugzilla-daemon widget gnome org)
  12. [Bug 138258] New:  - Monitoring I/O example refers to file that doesn't exist (bugzilla-daemon widget gnome org)
  13. [Bug 138259] New:  - Monitoring I/O example program in tutorial doesn't compile (bugzilla-daemon widget gnome org)
  14. [Bug 138261] New:  - Confusing wording in tutorial (bugzilla-daemon widget gnome org)
  15. [Bug 138262] New:  - Online tutorial is out-of-date (bugzilla-daemon widget gnome org)
  16. [Bug 138266] New:  - Gtk::Main as a singleton and examples are confusing (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 10:08:14 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137591]  - Build failure when building in a Cygwin/win32 environment

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





------- Additional Comments From roger whinlatter uklinux net  2004-03-26 10:08 -------
I haven't had a chance to build any GTK+ 2.4 packages yet.  In particular, I 
have not yet got GLib 2.3 to build (it builds, but the testsuite fails in a few 
places).

I will check out the current GTK+/GLib CVS (or is 2.4.x on a branch?).  I'll 
see what I can do this weekend.


--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 17:43:52 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138248] New:  - Memory management strategy is not clear

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

           Summary: Memory management strategy is not clear
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


I had trouble trying to understand the memory management strategy employed by
gtkmm by reading through the docs.  I first read the FAQ, and then the 22
chapter tutorial (plus some of the appendices).  Here's what I thought was
confusing:

First, by reading the FAQ (specifically part 4 of question 1.4), I saw the
statement that, "As a C++ coder you know that pointers should be avoided where
possible."  That made me believe that smart pointers would probably be employed...

I was reading through the tutorial, and came across tutorial/html/ch04s04.html
which used the 'manage' function with no explanation.  I had to google to find
http://mail.gnome.org/archives/gtkmm-list/2002-October/msg00102.html to start to
understand the example (and realize that my initial guess was unfortunately
wrong), though this email (and the few others I looked at) didn't quite answer
all my questions.

Finally, I get to chapter 18 and it answers my questions abou memory management.
 Perhaps I started thinking about memory management a little bit earlier than
others would have, but shouldn't there should at least be a comment back in
chapter 4 when manage is used stating that the manage function will be explained
in chapter 18?  Either that, or remove the references to manage that appear
before chapter 18?

Also, although chapter 18 answered my memory management questions up to that
point, chapter 19 (Glademm and Libglademm) throw another wrench into the works
because nothing I can find states whether the user is responsible for
deallocating the pointers that are returned from get_widget and get_widget_derived.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 17:44:46 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138249] New:  - Several small issues with gtkmm tutorial

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

           Summary: Several small issues with gtkmm tutorial
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


I'll attach a patch with multiple small fixes.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 17:45:35 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138249]  - Several small issues with gtkmm tutorial

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





------- Additional Comments From bugsqueesher yahoo com  2004-03-26 17:45 -------
Created an attachment (id=25991)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=25991&action=view)
Patch to fix gtkmm-tut.xml, mostly just typos



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 17:46:20 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138249]  - Several small issues with gtkmm tutorial

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

bugsqueesher yahoo com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1
           Keywords|                            |PATCH




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:35:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138254] New:  - sigc -- slot, bind, etc. fixes to documentation

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

           Summary: sigc -- slot, bind, etc. fixes to documentation
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


I'll attach a patch which I think solves some of the problems I found in the
tutorial (I'm a little unsure of some of them, though).  There's others that I
didn't understand well enough to guess the correct fix (or even to understand
for sure whether it was right or wrong):

1) tutorial/html/ch17s03.html uses Slot0<int>.  Should this be sigc::slot<int>
or something similar?

2) tutorial/html/ch17s02.html refers to a SlotType.  From grepping through the
source code, it appears that a SlotType is a typedef.  Could this be mentioned
in the tutorial?  I couldn't find the appropriate connection function (perhaps I
was grepping in the wrong place?), so I wasn't able to find the exact typedef,
though I did find some connect functions that looked similar...


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:36:47 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138254]  - sigc -- slot, bind, etc. fixes to documentation

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





------- Additional Comments From bugsqueesher yahoo com  2004-03-26 18:36 -------
Created an attachment (id=25992)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=25992&action=view)
My guesses at fixing some of the sigc problems in the documentation



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:37:09 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138254]  - sigc -- slot, bind, etc. fixes to documentation

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

bugsqueesher yahoo com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1
           Keywords|                            |PATCH
           Priority|Normal                      |High




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:39:26 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138255] New:  - Example explanation says right justified, but code is left justified

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

           Summary: Example explanation says right justified, but code is
                    left justified
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


The right justified label for the example in tutorial/html/ch06.html is left
justified because the code contains a line that says,
"m_Label_Right.set_justify(Gtk::JUSTIFY_LEFT);".


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:42:28 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138256] New:  - Table example shows aspectframe code instead of a table code

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

           Summary: Table example shows aspectframe code instead of a table
                    code
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


In tutorial/html/ch07s02.html, The source code link and the inline source code
for the table example instead shows the aspectframe code again from
tutorial/html/ch07s01.html.  So I'm pretty sure the little screen shot and
explanation won't match what the code really does...  :)


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:43:50 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138257] New:  - Link to source code for drawing lines example is broken

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

           Summary: Link to source code for drawing lines example is broken
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


The link to the source code in tutorial/html/ch14s03.html is broken.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 12
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:45:40 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138258] New:  - Monitoring I/O example refers to file that doesn't exist

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

           Summary: Monitoring I/O example refers to file that doesn't exist
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


The Monitoring I/O example at tutorial/html/ch17s02.html refers to the file
examples/input/input.cc, which does not exist.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 13
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:48:04 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138259] New:  - Monitoring I/O example program in tutorial doesn't compile

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

           Summary: Monitoring I/O example program in tutorial doesn't
                    compile
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


The example program from tutorial/html/ch17s02.html does not compile and I can't
find it elsewhere in the source code.  Among other compiling errors, I get the
error "'class Gtk::Main' has no member named 'input'", which (along with the
many other errors I found on this page) maes me think that the whole page about
monitoring I/O may be out-of-date/deprecated/wrong.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 14
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:49:58 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138261] New:  - Confusing wording in tutorial

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

           Summary: Confusing wording in tutorial
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


On the page tutorial/html/ch20s03.html, it states that, "C programmers use
sprintf() and sprintf to compose and concatenate strings."  I don't understand
what that's supposed to mean.  Was one of the sprintf's superfluous, or were you
also trying to refer to another function?  If so, why did you place parenthesis
after one but not the other?


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 15
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 18:53:56 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138262] New:  - Online tutorial is out-of-date

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

           Summary: Online tutorial is out-of-date
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


There are many places online that use SigC instead of sigc.  I also saw some
Slot0's that were replace by sigc::slot in the cvs version of the tutorial. 
Could the online documentation by synched with docs/tutorial/gtkmm-tut.xml?


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


--__--__--

Message: 16
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 26 Mar 2004 19:09:41 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 138266] New:  - Gtk::Main as a singleton and examples are confusing

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

           Summary: Gtk::Main as a singleton and examples are confusing
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: reference documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugsqueesher yahoo com
         QAContact: gtkmm-forge lists sourceforge net


The examples in the documentation show the declaration of an instance of
Gtk::Main inside main() such as:

   Gtk::Main kit(argc, argv);

Such a declaration led me to believe that more than one could be instantiated. 
I believe I read somewhere that Gtk::Main is a singleton and so this isn't
allowed.  Am I correct, or am I misremembering?  If I am correct, why are
instances allowed to be created like this instead of something like the below
code that makes it clear that it's a singleton.  Am I just misunderstanding
something?

--- Header file ---
class Main {
public:
  Main* getInstance(int& argc, char**& argv, bool set_locale=true);
private:
  Main(int& argc, char**& argv, bool set_locale = true);
  Main* s_instance;
}

--- Code file ---
Main * Main::s_instance = NULL;
Main* Main::getInstance(int& argc, char**& argv, bool set_locale=true)
{
  if (s_instance == NULL)
    s_instance = new Main(argc, argv, set_locale);

  return s_instance;
}


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



--__--__--

_______________________________________________
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]