Gtkmm-forge Digest, Vol 27, Issue 11



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-owner 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 547306] Hard to get a RefPtr<> to this.
      (glibmm (bugzilla.gnome.org))
   2. [Bug 547163] Can't call protected vfuncs of	children.
      (gnomemm (bugzilla.gnome.org))
   3. [Bug 547306] Hard to get a RefPtr<> to this.
      (glibmm (bugzilla.gnome.org))
   4. [Bug 547427] New: working with json (gnomemm (bugzilla.gnome.org))
   5. [Bug 547306] Hard to get a RefPtr<> to this.
      (glibmm (bugzilla.gnome.org))
   6. [Bug 547787] New: Lack of documentation on setting	TreeView
      tooltips. (gtkmm (bugzilla.gnome.org))
   7. [Bug 547787] Lack of documentation on setting	TreeView
      tooltips. (gtkmm (bugzilla.gnome.org))
   8. [Bug 547795] New: Additional drawing documentation	for book
      (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Mon, 11 Aug 2008 17:48:17 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547306] Hard to get a RefPtr<> to this.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080811174817 A893923F50A label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547306

  glibmm | general | Ver: 2.17.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
          Component|cluttermm                   |general
            Product|gnomemm                     |glibmm
          QAContact|                            |gtkmm-
                   |                            |forge lists sourceforge net
            Summary|cant use effect on myself   |Hard to get a RefPtr<> to
                   |                            |this.
            Version|unspecified                 |2.17.x




------- Comment #1 from Murray Cumming  2008-08-11 17:48 UTC -------
I agree that this is not obvious and it is ugly, but you can do this:

Glib::RefPtr<MyClass> refptr_this = Glib::RefPtr<MyClass>(this);
refptr->reference();

I wonder how we could make this easier.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547306.



------------------------------

Message: 2
Date: Mon, 11 Aug 2008 17:51:06 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547163] Can't call protected vfuncs of
	children.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080811175106 1CBAA23F50A label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547163

  gnomemm | cluttermm | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
            Summary|problem writing a layout    |Can't call protected vfuncs
                   |manager                     |of children.




------- Comment #1 from Murray Cumming  2008-08-11 17:51 UTC -------
Clutter::Actor::allocate() is not protected. I believe it's how you should
invoke the Clutter::Actor::allocate_vfunc() virtual functions.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547163.



------------------------------

Message: 3
Date: Tue, 12 Aug 2008 13:23:17 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547306] Hard to get a RefPtr<> to this.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080812132317 C6B6A23F504 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547306

  glibmm | general | Ver: 2.17.x




------- Comment #2 from gonen  2008-08-12 13:23 UTC -------
Wouldn't this solution create a memory leak?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547306.



------------------------------

Message: 4
Date: Tue, 12 Aug 2008 13:27:40 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547427] New: working with json
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-547427-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547427

  gnomemm | cluttermm | Ver: unspecified
           Summary: working with json
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: cluttermm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: gonen graphtech co il
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,

I was thinking about how json script works with cluttermm.
>From what I understand from the code, use json will call the clutter json
parser, which will find the objects needed by the json script, and create them
using glib object create with they type needed. But in case I subclass with
cluttermm, and want to create that new object in a json file, that will not
work, because glib create object cannot create c++ objects.

any ideas?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547427.



------------------------------

Message: 5
Date: Wed, 13 Aug 2008 07:19:20 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547306] Hard to get a RefPtr<> to this.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080813071920 7AC9223F50B label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547306

  glibmm | general | Ver: 2.17.x




------- Comment #3 from Murray Cumming  2008-08-13 07:19 UTC -------
No.(In reply to comment #2)
> Wouldn't this solution create a memory leak?

No, that initial reference is necessary, because the constructor doesn't take a
reference (because it's meant for use by create() functions that know whether
they need to do this. Remember it's not a general purpose smartpointer.) The
reference will be unreferenced by the destructor.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547306.



------------------------------

Message: 6
Date: Thu, 14 Aug 2008 16:14:50 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547787] New: Lack of documentation on
	setting	TreeView tooltips.
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-547787-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547787

  gtkmm | documentation | Ver: 2.12.x
           Summary: Lack of documentation on setting TreeView tooltips.
           Product: gtkmm
           Version: 2.12.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: minor
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: john velvetcache org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Documentation 
Section: Reference
set_tooltip_column:  Nothing
set_tooltip_row: Sets the tip area of tooltip to be the area covered by the row
at path. See also gtk_tooltip_set_tip_area().

Correct version:
set_tooltip_column: Sets the tooltips for each row based on a column in the
Gtk::TreeModel::ColumnRecord being used. Columns are numbered in the order
which they are added to the Gtk::TreeModel::ColumnRecord.

set_tooltip_row: Sets the tip area of tooltip to be the area covered by the row
at path. You may wish to consider using set_tooltip_column for ease of
implementation. See also gtk_tooltip_set_tip_area().

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547787.



------------------------------

Message: 7
Date: Thu, 14 Aug 2008 16:18:53 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547787] Lack of documentation on
	setting	TreeView tooltips.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080814161853 9FA4923F540 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547787

  gtkmm | documentation | Ver: 2.12.x




------- Comment #1 from John Hobbs  2008-08-14 16:18 UTC -------
Created an attachment (id=116585)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=116585&action=view)
Patch

This is a patch from the root level directory I check out from SVN. I couldn't
get my docs to generate correctly with it, so I wouldn't take it without
checking to over.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547787.



------------------------------

Message: 8
Date: Thu, 14 Aug 2008 16:51:42 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 547795] New: Additional drawing
	documentation	for book
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-547795-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547795

  gtkmm | documentation | Ver: 2.12.x
           Summary: Additional drawing documentation for book
           Product: gtkmm
           Version: 2.12.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: john velvetcache org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I recently had the mailing list solve a real bugger of a problem for me in
extracting images I had just drawn to a file.  I think that would make a good
addition to the book.  I wrote a sample section for the gtkmm-tut.xml and will
attach the patch, not sure if the writing is up to snuff however.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547795.



------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

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


End of Gtkmm-forge Digest, Vol 27, Issue 11
*******************************************


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