<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1344</id>
	<title>Nabble - Gtkmm</title>
	<updated>2009-11-08T11:02:23Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gtkmm-f1344.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtkmm-f1344.html" />
	<subtitle type="html">gtkmm (previously known as Gtk--) is the official C++ interface for the popular GUI library GTK+.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26256790</id>
	<title>Re: Glibmm, Giomm and daemon program</title>
	<published>2009-11-08T11:02:23Z</published>
	<updated>2009-11-08T11:02:23Z</updated>
	<author>
		<name>Chris Vine</name>
	</author>
	<content type="html">On Sun, 8 Nov 2009 13:16:03 +0100
&lt;br&gt;Tomasz Jankowski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomcioj@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm working on daemon program, which use Glibmm and Giomm. I have to
&lt;br&gt;&amp;gt; call few functions from Glib and Gio before I run fork(), so at the
&lt;br&gt;&amp;gt; beginning of main function I call Glib::init() and Gio::init():
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; main()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; Glib::init ();
&lt;br&gt;&amp;gt; Gio::init ();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; // Here I use Glib::OptionContext etc
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; fork ();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; // rest of code
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'd like to know if Glib::init() and Gio::init() do some &amp;quot;weird&amp;quot;
&lt;br&gt;&amp;gt; things (like opening files) in background, which may cause problems,
&lt;br&gt;&amp;gt; when I fork program.
&lt;/div&gt;&lt;br&gt;I suspect you will be OK but this is one of those occasions where it is
&lt;br&gt;probably best to try it and see. &amp;nbsp;You will certainly run into problems
&lt;br&gt;however if you fork() from the thread in which GTK+ is running after
&lt;br&gt;calling gtk_main().
&lt;br&gt;&lt;br&gt;To fork() after the main loop is running I always start a new thread to
&lt;br&gt;dispatch the new process and fork() from that. &amp;nbsp;Of course, that also
&lt;br&gt;means (since it will thus become a multi-threaded program) that you can
&lt;br&gt;only call async-signal-safe functions after the fork() and before the
&lt;br&gt;call to exec*(). &amp;nbsp;This in turn means you must call all non
&lt;br&gt;async-signal-safe functions which are needed to prepare for an exec()
&lt;br&gt;before the fork() and not after, but given that all modern fork()
&lt;br&gt;implementations provide copy on write, that is not problematic. (You
&lt;br&gt;probably know all that but I thought it worth mentioning.)
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256790&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Glibmm%2C-Giomm-and-daemon-program-tp26253200p26256790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253200</id>
	<title>Glibmm, Giomm and daemon program</title>
	<published>2009-11-08T04:16:03Z</published>
	<updated>2009-11-08T04:16:03Z</updated>
	<author>
		<name>Tomasz Jankowski</name>
	</author>
	<content type="html">Hello!&lt;br&gt;&lt;br&gt;I&amp;#39;m working on daemon program, which use Glibmm and Giomm. I have to call few functions from Glib and Gio before I run fork(), so at the beginning of main function I call Glib::init() and Gio::init():&lt;br&gt;

&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;main()&lt;br&gt;{&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;Glib::init ();&lt;br&gt;Gio::init ();&lt;br&gt;&lt;br&gt;// Here I use Glib::OptionContext etc&lt;br&gt;&lt;br&gt;fork ();&lt;br&gt;&lt;br&gt;// rest of code&lt;br&gt;&lt;/div&gt;}&lt;br&gt;&lt;br&gt;&lt;/div&gt;

I&amp;#39;d like to know if Glib::init() and Gio::init() do some &amp;quot;weird&amp;quot; things (like opening files) in background, which may cause problems, when I fork program.&lt;br&gt;&lt;br&gt;Bye!&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Glibmm%2C-Giomm-and-daemon-program-tp26253200p26253200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26247500</id>
	<title>Re: Is there any problem to create C++ classes from C (Gtk::Window, etc) ?</title>
	<published>2009-11-07T10:49:30Z</published>
	<updated>2009-11-07T10:49:30Z</updated>
	<author>
		<name>Chris Vine</name>
	</author>
	<content type="html">On Sat, 7 Nov 2009 18:56:02 +0100
&lt;br&gt;Germán Diago &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26247500&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;germandiago@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I'm trying to (but I don't know if it's possible) to make polymorphic
&lt;br&gt;&amp;gt; c++ objects usable from
&lt;br&gt;&amp;gt; GObject in C.
&lt;br&gt;&lt;br&gt;If you mean that you want to access polymorphic c++ objects in C code
&lt;br&gt;(that is, access them when actually programming in the C language) then
&lt;br&gt;no. You would have to use GObject polymorphism throughout to do that,
&lt;br&gt;which is entirely implemented in C.
&lt;br&gt;&lt;br&gt;But I am not sure that you do mean that as you can of course program
&lt;br&gt;GObject code in C++ as well as C, and if you are programming in C++
&lt;br&gt;then you can extract your polymorphic object in the way I have
&lt;br&gt;mentioned. &amp;nbsp;Thus if you wrote your implementation of g_object_new()
&lt;br&gt;typed for your custom POD GObject (you can give any struct its own
&lt;br&gt;GObject type with G_DEFINE_TYPE), you could (unbeknowst to GObject)
&lt;br&gt;have a c++ polymorphic object standing behind it. At the end of the
&lt;br&gt;day, you can cast to anything.
&lt;br&gt;&lt;br&gt;I have no idea how that interacts with glade I am afraid. &amp;nbsp;Quite
&lt;br&gt;probably it doesn't, in which case you can't do what you want.
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26247500&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-any-problem-to-create-C%2B%2B-classes-from-C-%28Gtk%3A%3AWindow%2C-etc%29----tp26244710p26247500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26247070</id>
	<title>Re: Is there any problem to create C++ classes from C (Gtk::Window,  etc) ?</title>
	<published>2009-11-07T09:56:02Z</published>
	<updated>2009-11-07T09:56:02Z</updated>
	<author>
		<name>Germán Diago</name>
	</author>
	<content type="html">&amp;gt; I am not entirely sure what you are trying to do.
&lt;br&gt;&lt;br&gt;I'm trying to (but I don't know if it's possible) to make polymorphic
&lt;br&gt;c++ objects usable from
&lt;br&gt;GObject in C.
&lt;br&gt;I'm not sure if it's possible. Anyway, what I'm trying to do is to
&lt;br&gt;test that Widgets in glade
&lt;br&gt;written in C++ are displayed with their properties, and I don't know
&lt;br&gt;if it's a requirement
&lt;br&gt;that g_object_new from C works to create my c++ type. Is it needed the
&lt;br&gt;layout compatibility?
&lt;br&gt;or is there any trick?
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26247070&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-any-problem-to-create-C%2B%2B-classes-from-C-%28Gtk%3A%3AWindow%2C-etc%29----tp26244710p26247070.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246624</id>
	<title>Re: Is there any problem to create C++ classes from C (Gtk::Window, etc)  ?</title>
	<published>2009-11-07T09:02:56Z</published>
	<updated>2009-11-07T09:02:56Z</updated>
	<author>
		<name>Chris Vine</name>
	</author>
	<content type="html">On Sat, 7 Nov 2009 14:16:18 +0100
&lt;br&gt;Germán Diago &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246624&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;germandiago@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello. I have a very technical issue. If some expert could tell me if
&lt;br&gt;&amp;gt; it's wrong.
&lt;br&gt;&amp;gt; The issue is that I can do this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; GObject * obj = G_OBJECT(g_type_new(&amp;quot;MycppClass&amp;quot;, NULL));
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as long as MyCppClass has this layout:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; class .... {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;GObject parentclass;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;gt; };
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I define a virtual function, it won't work anymore. Is there any
&lt;br&gt;&amp;gt; workaround to this?
&lt;br&gt;&amp;gt; Because in the c gobject manual it says that the layout must be like
&lt;br&gt;&amp;gt; that, in order
&lt;br&gt;&amp;gt; for GObject to work, but for C++ it's very inflexible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there any well-known solution to workaround the virtual table issue
&lt;br&gt;&amp;gt; and keep my classes
&lt;br&gt;&amp;gt; working in C? Thanks.
&lt;/div&gt;&lt;br&gt;I am not entirely sure what you are trying to do, but if your
&lt;br&gt;MyCppClass is a POD (in particular, it has no virtual functions) then
&lt;br&gt;you can derive from that with a child class with virtual functions.
&lt;br&gt;Note however that you must use a static_cast to go from MyCppClass to
&lt;br&gt;its child and not a reinterpret_cast, because they will likely have
&lt;br&gt;different addresses because of the child's vtable. static_cast will
&lt;br&gt;automatically provide an address offset when casting (it is required to
&lt;br&gt;do so by the standard) and reinterpret_cast will not.
&lt;br&gt;&lt;br&gt;In other words, you could have MyVirtualClass as a child of MyCppClass,
&lt;br&gt;and do a reinterpret_cast from the GObject parentclass to MyCppClass
&lt;br&gt;(if MyCppClass is a POD), and then a static_cast to MyVirtualClass. As I
&lt;br&gt;say, though, I do not know if that is in fact the kind of thing you are
&lt;br&gt;after. &amp;nbsp;As I also say, the point to always be aware of is that
&lt;br&gt;reinterpret_cast&amp;lt;void*&amp;gt;(my_virtual_class) and
&lt;br&gt;reinterpret_cast&amp;lt;void*&amp;gt;(static_cast&amp;lt;MyCppClass*&amp;gt;(my_virtual_class))
&lt;br&gt;are likely to yield different values - you can test it with a std::cout
&lt;br&gt;if you are interested. &amp;nbsp;Whethere it does or not depends on where the
&lt;br&gt;compiler puts the vtable.
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246624&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-any-problem-to-create-C%2B%2B-classes-from-C-%28Gtk%3A%3AWindow%2C-etc%29----tp26244710p26246624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245242</id>
	<title>Calling Gtk::ToggleToolButton's set_icon_widget() multiple times</title>
	<published>2009-11-07T06:25:50Z</published>
	<updated>2009-11-07T06:25:50Z</updated>
	<author>
		<name>Ruud Beukema</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm new to this mailing-list (and quite new to Gtkmm programming too),
&lt;br&gt;but I joined because I have a problem to which I couldn't find an answer
&lt;br&gt;through your mailing-list-archives and best friend Google.
&lt;br&gt;&lt;br&gt;My goal is to add a Gtk::ToggleToolButton to a Gtk::Toolbar (this
&lt;br&gt;works). The Gtk::ToggleToolButton should show icon #1 in its non-active
&lt;br&gt;(raised) state and icon #2 in its active (pressed) state. Here's how I
&lt;br&gt;tried to accomplish this in class Foo:
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;/* Class Foo's private variables */
&lt;br&gt;Gtk::ToggleToolButton mToggleToolButton;
&lt;br&gt;Gtk::Image *pImage;
&lt;br&gt;&lt;br&gt;/* Class Foo's constructor */
&lt;br&gt;Foo::Foo()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // In this constructor the ToggleToolButton is successfully set to have
&lt;br&gt;the default icon
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Glib::RefPtr&amp;lt;Gdk::Pixbuf&amp;gt; im =
&lt;br&gt;Gdk::Pixbuf::create_from_file(&amp;quot;path_to_icon_1&amp;quot;, 22, 22, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pImage = manage(new Gtk::Image(im));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mToggleToolButton.set_icon_widget(*pImage);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mToggleToolButton.signal_toggled().connect( sigc::mem_fun(*this,
&lt;br&gt;&amp;Foo::on_toggletoolbutton_toggled) );
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;void Foo::on_toggletoolbutton_toggled()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;nbsp;( mToggleToolButton.get_active() )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Here I try to replace the ToggleToolButton's icon
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Glib::RefPtr&amp;lt;Gdk::Pixbuf&amp;gt; im =
&lt;br&gt;Gdk::Pixbuf::create_from_file(&amp;quot;path_to_icon_2&amp;quot;, 22, 22, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pImage = manage(new Gtk::Image(im));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mToggleToolButton.set_icon_widget(*pImage);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Icon #1 again
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;I've tried the above with and without the Gtk::manage() function, both
&lt;br&gt;with no luck: when the ToggleToolButton is toggled for the first time
&lt;br&gt;after construction, icon #1 is removed as expected but not replaced with
&lt;br&gt;icon #2. Maybe needless to say, but when the ToggleToolButton is toggled
&lt;br&gt;for a second time or more it remains without icon.
&lt;br&gt;&lt;br&gt;What am I doing wrong here? Or can Gtk::ToggleToolButton be only set to
&lt;br&gt;have an icon once? Hope you can help me out!
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Ruud
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245242&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Calling-Gtk%3A%3AToggleToolButton%27s-set_icon_widget%28%29-multiple-times-tp26245242p26245242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244710</id>
	<title>Is there any problem to create C++ classes from C (Gtk::Window, etc)  ?</title>
	<published>2009-11-07T05:16:18Z</published>
	<updated>2009-11-07T05:16:18Z</updated>
	<author>
		<name>Germán Diago</name>
	</author>
	<content type="html">Hello. I have a very technical issue. If some expert could tell me if
&lt;br&gt;it's wrong.
&lt;br&gt;The issue is that I can do this:
&lt;br&gt;&lt;br&gt;&lt;br&gt;GObject * obj = G_OBJECT(g_type_new(&amp;quot;MycppClass&amp;quot;, NULL));
&lt;br&gt;&lt;br&gt;as long as MyCppClass has this layout:
&lt;br&gt;&lt;br&gt;class .... {
&lt;br&gt;&amp;nbsp; &amp;nbsp;GObject parentclass;
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;};
&lt;br&gt;&lt;br&gt;If I define a virtual function, it won't work anymore. Is there any
&lt;br&gt;workaround to this?
&lt;br&gt;Because in the c gobject manual it says that the layout must be like
&lt;br&gt;that, in order
&lt;br&gt;for GObject to work, but for C++ it's very inflexible.
&lt;br&gt;&lt;br&gt;Is there any well-known solution to workaround the virtual table issue
&lt;br&gt;and keep my classes
&lt;br&gt;working in C? Thanks.
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-any-problem-to-create-C%2B%2B-classes-from-C-%28Gtk%3A%3AWindow%2C-etc%29----tp26244710p26244710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244228</id>
	<title>Debug build isn't working with mingw-gcc-4.4.0</title>
	<published>2009-11-07T04:17:11Z</published>
	<updated>2009-11-07T04:17:11Z</updated>
	<author>
		<name>weise-2</name>
	</author>
	<content type="html">Hello, I have a problem on Windows.
&lt;br&gt;&lt;br&gt;Debug build (C:/GTK/bin) isn't working with mingw-gcc-4.4.0 ,
&lt;br&gt;and appear ”application failed to initialize 0x0000142&amp;quot;.
&lt;br&gt;But redist build (C:/GTK/redist) is OK.
&lt;br&gt;&lt;br&gt;I hear that mingw-gcc-4.4.0 change exception model to dw2 (Dwarf-2)
&lt;br&gt;from sjlj (setjump/longjump) . Is it cause?
&lt;br&gt;&lt;br&gt;Please teach me how to solve a problem, or wait next version.
&lt;br&gt;&lt;br&gt;Windows XP SP3
&lt;br&gt;g++.exe (GCC) 4.4.0
&lt;br&gt;gtkmm-win32-devel-2.16.0-4.exe
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;--
&lt;br&gt;weise
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debug-build-isn%27t-working-with-mingw-gcc-4.4.0-tp26244228p26244228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228679</id>
	<title>Own window border</title>
	<published>2009-11-06T00:53:34Z</published>
	<updated>2009-11-06T00:53:34Z</updated>
	<author>
		<name>Dimitri Holz</name>
	</author>
	<content type="html">Does anybody already did own window border?
&lt;br&gt;Can somebody give a short description how to do this? I know there must
&lt;br&gt;done some work with signals (resize, maximize...), but I'm not real good
&lt;br&gt;at this point because I don't all understand of gtkmm-documentation.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228679&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Own-window-border-tp26228679p26228679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228594</id>
	<title>Re: Gobject and c++ types.</title>
	<published>2009-11-06T00:48:03Z</published>
	<updated>2009-11-06T00:48:03Z</updated>
	<author>
		<name>Germán Diago</name>
	</author>
	<content type="html">&amp;gt; Just reading this and thinking about it, it occured to me that there is a
&lt;br&gt;&amp;gt; rather uncumbersome way, similar to propertyproxy, by which we can have
&lt;br&gt;&amp;gt; automatically C and C++ signals
&lt;br&gt;&lt;br&gt;&lt;br&gt;Maybe I can try some of the above. I have a doubt about wrapping
&lt;br&gt;Gobjects from c++ (for now I'm trying my own implementation of
&lt;br&gt;Glib::Object too)
&lt;br&gt;&lt;br&gt;I have
&lt;br&gt;&lt;br&gt;class glib::object {
&lt;br&gt;&amp;nbsp; GObject parent_class;
&lt;br&gt;public:
&lt;br&gt;&amp;nbsp; &amp;nbsp;....
&lt;br&gt;&lt;br&gt;};
&lt;br&gt;&lt;br&gt;&lt;br&gt;class MyClass : public glib::object {
&lt;br&gt;&lt;br&gt;....
&lt;br&gt;};
&lt;br&gt;&lt;br&gt;&lt;br&gt;My problem is that if I make my destructors virtual (which I do want
&lt;br&gt;to do), then:
&lt;br&gt;&lt;br&gt;GObject * obj = G_OBJECT(g_type_new(g_type_from_name(&amp;quot;MyClass&amp;quot;), NULL));
&lt;br&gt;&lt;br&gt;G_OBJECT casting won't work. I think it's because with a vtable, the
&lt;br&gt;layout for the type changes, but I don't know how to workaround this
&lt;br&gt;and
&lt;br&gt;keep G_OBJECT macro working, which is very important for C
&lt;br&gt;compatibility and exposure.
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gobject-and-c%2B%2B-types.-tp26214222p26228594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26225503</id>
	<title>Gobject and c++ types.</title>
	<published>2009-11-05T17:41:30Z</published>
	<updated>2009-11-05T17:41:30Z</updated>
	<author>
		<name>milosz derezynski</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;---------- Forwarded message ----------&lt;br&gt;From: &lt;b class=&quot;gmail_sendername&quot;&gt;Milosz Derezynski&lt;/b&gt; &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;internalerror@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
Date: 2009/11/6&lt;br&gt;Subject: Re: Gobject and c++ types.&lt;br&gt;To: Murray Cumming &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Just reading this and thinking about it, it occured to me that there is a rather uncumbersome way, similar to propertyproxy, by which we can have automatically C and C++ signals&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;First, we&amp;#39;d need a Glib:Signal (aka Glib::Object::Property), templated, so you e.g. do:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;typedef Glib::Signal&amp;lt;void, std::string, int&amp;gt; MySignal1 ; &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;then...&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;class MyNeatClass&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;/* ...yaddayadda ... */&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    MySignal1 m_mysignal_1 ;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;} ;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;ow there are the next 2 important steps.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;First, in order to access the actual signal we can do e.g. this:&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;class MyNeatClass&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    MySignal1::Signal&amp;amp;&lt;/div&gt;&lt;div&gt;    signal_get_some_data()&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;       return m_mysignal_1.signal() ;&lt;/div&gt;&lt;div&gt;    }    &lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since Glib::Signal&amp;lt;&amp;gt; looks inside prolly like this:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;template &amp;lt;typename RV, typename T2, typename T3&amp;gt;&lt;/div&gt;&lt;div&gt;class Glib::Signal&lt;/div&gt;&lt;div&gt;

{&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;public:&lt;/div&gt;&lt;div&gt;   typedef sigc::signal&amp;lt;RV, T2, T3&amp;gt; RealSignal ;&lt;/div&gt;&lt;div&gt;private:&lt;/div&gt;&lt;div&gt;   RealSignal m_real_signal ;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;public:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    RealSignal&amp;amp;&lt;/div&gt;

&lt;div&gt;    signal() ;&lt;/div&gt;&lt;div&gt;};&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;sssssssssssoooooooo..... so far it should be clear. So far it&amp;#39;s just a small wrapper around sigc signals.&lt;/div&gt;&lt;div&gt;Now comes the interesting part though: Let&amp;#39;s look at the constructor.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;class Glib::Signal&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;   Glib::Signal(&lt;/div&gt;&lt;div&gt;      const std::string&amp;amp;        name&lt;/div&gt;&lt;div&gt;    , Glib::Signal::RunType  type                                   (i.e. Glib::Signal::RUN_FIRST or Glib::Signal::RUN_LAST)&lt;/div&gt;

&lt;div&gt;    ) ;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so now in our instance of MyNeatClass, we have:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;MyNeatClass::MyNeatClass&lt;/div&gt;&lt;div&gt;: Glib::ObjectBase(&amp;quot;MyObject&amp;quot;)&lt;/div&gt;&lt;div&gt;: m_mysignal_1(&amp;quot;get-some-data&amp;quot;, Glib::Signal::RUN_FIRST)&lt;/div&gt;

&lt;div&gt;{&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So far, so good. With only a little overhead in complexity of the code we were able to install a C and C++-signal at the same time. Now Glib::Signal just needs some logic to, when ::emit() is being used, the emission goes out through both subsystems, or if someone uses g_signal_emit on that signal (doable with GObject voodoo).&lt;/div&gt;

&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;But, issues remain.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;For one, the C signal registration requires a return GType and a VA list of return types. Now this is not a big problem since already when using our Glib::Signal template we&amp;#39;ll know how many types i.e. signal arguments we&amp;#39;ll be dealing with. So, one could just specify these here as well:&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;m_mysignal_1(&amp;quot;get-some-data&amp;quot;, Glib::Signal::RUN_FIRST, G_TYPE_STRING, G_TYPE_INT)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;(The constructor obviously needs 2 more args but since it&amp;#39;s the RV+2args template that is of course logical).&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ok but what does that give us? Really not much at least as far as typesafety goes. YOU just have to make sure that the G types you specify correspond to the C++ signal&amp;#39;s types. This is nut-to-crack #1.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Nut-to-crack #2 is a bigger problem. The GSignal signal requires a marshaller, and depending on what you want to pipe through that signal, you have to generate one first with glib-genmarshal. Now this is a REAL problem.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Now , I&amp;#39;m not even sure that this should be followed up upon, but I just wanted to show that it is in fact not that impossible, and if you can live with a few irks even quite doable.&lt;/div&gt;&lt;div&gt;&lt;br&gt;

&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/5 Murray Cumming &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;

&lt;div&gt;On Thu, 2009-11-05 at 15:31 +0100, Germán Diago wrote:&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; GLIB_REGISTER_CLASS(MyClass, glib::object);&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; class MyClass : Glib::Object&lt;br&gt;
&amp;gt; &amp;gt; {&lt;br&gt;
&amp;gt; &amp;gt; };&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; MyClass::MyClass&lt;br&gt;
&amp;gt; &amp;gt; : Glib::ObjectBase(&amp;quot;myclassname&amp;quot;)&lt;br&gt;
&amp;gt; &amp;gt; {&lt;br&gt;
&amp;gt; &amp;gt; }&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; will also register a derived GType.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&amp;gt; But can you register signals?&lt;br&gt;
&lt;br&gt;
No.&lt;br&gt;
&lt;br&gt;
&amp;gt;  And properties?&lt;br&gt;
&lt;br&gt;
Yes, just by adding a member propertyproxy, I think.&lt;br&gt;
&lt;br&gt;
&amp;gt; I think properties can&lt;br&gt;
&amp;gt; be registered but not signals.&lt;br&gt;
&amp;gt; What I want to try is a way to expose c++ signals into GObject type&lt;br&gt;
&amp;gt; system, so that they can be&lt;br&gt;
&amp;gt; seen in glade.&lt;br&gt;
&lt;br&gt;
OK. Good luck. That&amp;#39;s difficult.&lt;br&gt;
&lt;br&gt;
&amp;gt; Anyway, the problem is that until you don&amp;#39;t create an instance of&lt;br&gt;
&amp;gt; MyClass, you don&amp;#39;t have&lt;br&gt;
&amp;gt; the GType available. Correct me if I&amp;#39;m wrong.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.murrayc.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.murrayc.com&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.openismus.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.openismus.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
gtkmm-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Please note that according to the German law on data retention,&lt;br&gt;information on every electronic information exchange with me is&lt;br&gt;
retained for a period of six months.&lt;br&gt;
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge&lt;br&gt;jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]&lt;/font&gt;&lt;/div&gt;
&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Please note that according to the German law on data retention,&lt;br&gt;information on every electronic information exchange with me is&lt;br&gt;retained for a period of six months.&lt;br&gt;[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge&lt;br&gt;
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225503&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gobject-and-c%2B%2B-types.-tp26214222p26225503.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26216239</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-05T06:54:19Z</published>
	<updated>2009-11-05T06:54:19Z</updated>
	<author>
		<name>Dimitri Holz</name>
	</author>
	<content type="html">Does anybody already did own window border?
&lt;br&gt;Can somebody give a short description how to do this? I know there must
&lt;br&gt;done some work with signals (resize, maximize...), but I'm not real good
&lt;br&gt;at this point because I don't all understand of gtkmm-documentation.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26216239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26216239.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26215939</id>
	<title>Re: Gobject and c++ types.</title>
	<published>2009-11-05T06:42:07Z</published>
	<updated>2009-11-05T06:42:07Z</updated>
	<author>
		<name>Murray Cumming</name>
	</author>
	<content type="html">On Thu, 2009-11-05 at 15:31 +0100, Germán Diago wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; GLIB_REGISTER_CLASS(MyClass, glib::object);
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; class MyClass : Glib::Object
&lt;br&gt;&amp;gt; &amp;gt; {
&lt;br&gt;&amp;gt; &amp;gt; };
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; MyClass::MyClass
&lt;br&gt;&amp;gt; &amp;gt; : Glib::ObjectBase(&amp;quot;myclassname&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; {
&lt;br&gt;&amp;gt; &amp;gt; }
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; will also register a derived GType.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But can you register signals?
&lt;/div&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;And properties? 
&lt;br&gt;&lt;br&gt;Yes, just by adding a member propertyproxy, I think.
&lt;br&gt;&lt;br&gt;&amp;gt; I think properties can
&lt;br&gt;&amp;gt; be registered but not signals.
&lt;br&gt;&amp;gt; What I want to try is a way to expose c++ signals into GObject type
&lt;br&gt;&amp;gt; system, so that they can be
&lt;br&gt;&amp;gt; seen in glade.
&lt;br&gt;&lt;br&gt;OK. Good luck. That's difficult.
&lt;br&gt;&lt;br&gt;&amp;gt; Anyway, the problem is that until you don't create an instance of
&lt;br&gt;&amp;gt; MyClass, you don't have
&lt;br&gt;&amp;gt; the GType available. Correct me if I'm wrong.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26215939&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;
&lt;br&gt;www.murrayc.com
&lt;br&gt;www.openismus.com
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26215939&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gobject-and-c%2B%2B-types.-tp26214222p26215939.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26214550</id>
	<title>Re: Gobject and c++ types.</title>
	<published>2009-11-05T05:28:48Z</published>
	<updated>2009-11-05T05:28:48Z</updated>
	<author>
		<name>Murray Cumming</name>
	</author>
	<content type="html">On Thu, 2009-11-05 at 14:02 +0100, Germán Diago wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello. I'm trying to implement a system that works in a perfect way
&lt;br&gt;&amp;gt; with the GObject C library, so that things are easier to integrate
&lt;br&gt;&amp;gt; c++ classes in tools that use the metadata from GObject, like glade.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe when I finish this, I could send it here to be able to integrate it
&lt;br&gt;&amp;gt; with glibmm and improve the object model.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My system must allow to register (yes, with macros, no other way) properties,
&lt;br&gt;&amp;gt; gobjects and signals, etc. So for now, what I can do is the following:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; class MyClass : public glib::object {
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; };...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; GLIB_REGISTER_CLASS(MyClass, glib::object);
&lt;/div&gt;&lt;br&gt;class MyClass : Glib::Object
&lt;br&gt;{
&lt;br&gt;};
&lt;br&gt;&lt;br&gt;MyClass::MyClass
&lt;br&gt;: Glib::ObjectBase(&amp;quot;myclassname&amp;quot;)
&lt;br&gt;{
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;will also register a derived GType.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26214550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;
&lt;br&gt;www.murrayc.com
&lt;br&gt;www.openismus.com
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26214550&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gobject-and-c%2B%2B-types.-tp26214222p26214550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26214222</id>
	<title>Gobject and c++ types.</title>
	<published>2009-11-05T05:02:54Z</published>
	<updated>2009-11-05T05:02:54Z</updated>
	<author>
		<name>Germán Diago</name>
	</author>
	<content type="html">Hello. I'm trying to implement a system that works in a perfect way
&lt;br&gt;with the GObject C library, so that things are easier to integrate
&lt;br&gt;c++ classes in tools that use the metadata from GObject, like glade.
&lt;br&gt;&lt;br&gt;Maybe when I finish this, I could send it here to be able to integrate it
&lt;br&gt;with glibmm and improve the object model.
&lt;br&gt;&lt;br&gt;My system must allow to register (yes, with macros, no other way) properties,
&lt;br&gt;gobjects and signals, etc. So for now, what I can do is the following:
&lt;br&gt;&lt;br&gt;class MyClass : public glib::object {
&lt;br&gt;&lt;br&gt;};...
&lt;br&gt;&lt;br&gt;&lt;br&gt;GLIB_REGISTER_CLASS(MyClass, glib::object);
&lt;br&gt;&lt;br&gt;&lt;br&gt;int main(int argc, char * argv[])
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; MyClass * c = (MyClass *)g_type_new(g_type_from_name(&amp;quot;MyClass&amp;quot;, NULL));
&lt;br&gt;&amp;nbsp; &amp;nbsp; c-&amp;gt;method();
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;My problem is that now I want to install properties and use them. In
&lt;br&gt;order for properties
&lt;br&gt;to work well in C programs (like glade), they should be able to be set
&lt;br&gt;from GObject:
&lt;br&gt;&lt;br&gt;g_object_set(G_OBJECT(c), &amp;quot;Prop&amp;quot;, value);
&lt;br&gt;&lt;br&gt;My problem is that G_OBJECT macro fails with the following:
&lt;br&gt;&lt;br&gt;GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
&lt;br&gt;&lt;br&gt;But if I query this:
&lt;br&gt;&lt;br&gt;g_type_is_a(g_type_from_name(&amp;quot;MyClass&amp;quot;), G_TYPE_OBJECT)
&lt;br&gt;&lt;br&gt;it returns 1. So I want to know why this fails in order to solve the
&lt;br&gt;problem. I'm stuck here for now.
&lt;br&gt;&lt;br&gt;I use InstanceInit from GTypeInfo to call the c++ constructor, and
&lt;br&gt;class_init from GTypeInfo to install properties.
&lt;br&gt;But the casting fails and I don't know why. Thanks in advance.
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26214222&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gobject-and-c%2B%2B-types.-tp26214222p26214222.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207698</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-04T17:20:43Z</published>
	<updated>2009-11-04T17:20:43Z</updated>
	<author>
		<name>José Alburquerque-3</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 19:59 -0500, José Alburquerque wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 2009-11-04 at 09:27 +0100, Dimitri Holz wrote:
&lt;br&gt;&amp;gt; &amp;gt; Oh yes, I use an Andora - theme it make my application very &amp;quot;beautiful&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; I like it, but the border of window is a XP-Style that not really a best
&lt;br&gt;&amp;gt; &amp;gt; design :-). But I have seen inside of Andora - theme directory images
&lt;br&gt;&amp;gt; &amp;gt; for buttons (close, maximize, minimize) of the window-border and thought
&lt;br&gt;&amp;gt; &amp;gt; that it would be possible to start the application with the theme
&lt;br&gt;&amp;gt; &amp;gt; specific border, thats the reason because I write at the moment to the
&lt;br&gt;&amp;gt; &amp;gt; list!!!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I see. &amp;nbsp;It would seem that it is not possible to change those features
&lt;br&gt;&amp;gt; in XP.
&lt;/div&gt;&lt;br&gt;Unless, of course, you do what was already suggested by others in this
&lt;br&gt;thread.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;José
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26207698&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26207698.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207510</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-04T16:59:38Z</published>
	<updated>2009-11-04T16:59:38Z</updated>
	<author>
		<name>José Alburquerque-3</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 09:27 +0100, Dimitri Holz wrote:
&lt;br&gt;&amp;gt; Oh yes, I use an Andora - theme it make my application very &amp;quot;beautiful&amp;quot;,
&lt;br&gt;&amp;gt; I like it, but the border of window is a XP-Style that not really a best
&lt;br&gt;&amp;gt; design :-). But I have seen inside of Andora - theme directory images
&lt;br&gt;&amp;gt; for buttons (close, maximize, minimize) of the window-border and thought
&lt;br&gt;&amp;gt; that it would be possible to start the application with the theme
&lt;br&gt;&amp;gt; specific border, thats the reason because I write at the moment to the
&lt;br&gt;&amp;gt; list!!!
&lt;br&gt;&lt;br&gt;I see. &amp;nbsp;It would seem that it is not possible to change those features
&lt;br&gt;in XP.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;José
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26207510&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26207510.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26205191</id>
	<title>Re: treeview Tab control</title>
	<published>2009-11-04T13:45:35Z</published>
	<updated>2009-11-04T13:45:35Z</updated>
	<author>
		<name>José Alburquerque-3</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 22:03 +0100, Thomas Sommer wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Jose,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; you will find the hacked treeview from the gtkmm examples in the attachment.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Basically all I did was attaching on_key_press() to signal_key_pressed.
&lt;br&gt;&amp;gt; Funny thing tough: If I add the column 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; m_TreeView.get_columns();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; to the attached function, everything works as I would expect it.
&lt;br&gt;&amp;gt; It just does not seem to make any sense to me.
&lt;/div&gt;&lt;br&gt;It doesn't make sense to me either. &amp;nbsp;What I would suggest is that you
&lt;br&gt;guide yourself from the example that you hacked. &amp;nbsp;On this system the
&lt;br&gt;example works fine (with tabs, etc.) as you also want. &amp;nbsp;I can't tell
&lt;br&gt;definitely but, once more, my guess would be that if you handle key
&lt;br&gt;presses, I don't think that you need to pay special attention to the tab
&lt;br&gt;key. &amp;nbsp;This is just a guess as I'm going by how the original example
&lt;br&gt;works on this system.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;José
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26205191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/treeview-Tab-control-tp26098190p26205191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26204591</id>
	<title>Re: treeview Tab control</title>
	<published>2009-11-04T13:03:13Z</published>
	<updated>2009-11-04T13:03:13Z</updated>
	<author>
		<name>Thomas Sommer-2</name>
	</author>
	<content type="html">Hi Jose,
&lt;br&gt;&lt;br&gt;you will find the hacked treeview from the gtkmm examples in the attachment.
&lt;br&gt;&lt;br&gt;Basically all I did was attaching on_key_press() to signal_key_pressed.
&lt;br&gt;Funny thing tough: If I add the column 
&lt;br&gt;&lt;br&gt;m_TreeView.get_columns();
&lt;br&gt;&lt;br&gt;to the attached function, everything works as I would expect it.
&lt;br&gt;It just does not seem to make any sense to me.
&lt;br&gt;&lt;br&gt;Many thanks for your effort.
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;-- 
&lt;br&gt;GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
&lt;br&gt;Jetzt freischalten unter &lt;a href=&quot;http://portal.gmx.net/de/go/maxdome01&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/maxdome01&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204591&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;treeview.tgz&lt;/strong&gt; (5K) &lt;a href=&quot;http://old.nabble.com/attachment/26204591/0/treeview.tgz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/treeview-Tab-control-tp26098190p26204591.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26203989</id>
	<title>Re: Libegg - eggtoolpalette.h</title>
	<published>2009-11-04T12:22:57Z</published>
	<updated>2009-11-04T12:22:57Z</updated>
	<author>
		<name>Murray Cumming</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 14:04 -0500, ArbolOne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Excellent! I saw the screenshot in 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bugzilla-attachments.gnome.org/attachment.cgi?id=129305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla-attachments.gnome.org/attachment.cgi?id=129305&lt;/a&gt;&lt;br&gt;&amp;gt; and it is exactly what I am looking for. I am sure more icons will be
&lt;br&gt;&amp;gt; added by the developer or that there is a way that the users or other
&lt;br&gt;&amp;gt; developers/programmers can add at will.
&lt;br&gt;&amp;gt; What I would like to know now is if all I need to do is to add the
&lt;br&gt;&amp;gt; source code to my project or if there is something else I should do. I
&lt;br&gt;&amp;gt; am using Code::Blocks under MS.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please Murray, give us some input on this matter.
&lt;/div&gt;&lt;br&gt;Yes, and I use it in Glom if you want to see an example. I'm sure I've
&lt;br&gt;mentioned this before.
&lt;br&gt;&lt;br&gt;I'm not confident that you'll find it easy to use as a C API that
&lt;br&gt;requires copying of source code.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;
&lt;br&gt;www.murrayc.com
&lt;br&gt;www.openismus.com
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Libegg---eggtoolpalette.h-tp26201661p26203989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26203467</id>
	<title>Re: treeview Tab control</title>
	<published>2009-11-04T11:48:19Z</published>
	<updated>2009-11-04T11:48:19Z</updated>
	<author>
		<name>José Alburquerque-3</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 18:48 +0100, Thomas Sommer wrote: 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; for the cellrenderer I just found &amp;nbsp;editing_canceled()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; here the hack into the editable treeview example from the docs:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; bool ExampleWindow::on_key_press(GdkEventKey* event)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; event-&amp;gt;keyval &amp;lt;&amp;lt; &amp;quot;\n&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Gtk::CellRenderer* r=m_TreeView.get_column_cell_renderer (0);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; r-&amp;gt;editing_canceled();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I get the key value but editing is not canceled when hitting tab in the
&lt;br&gt;&amp;gt; first column.
&lt;br&gt;&amp;gt; Do I select the wrong renderer?
&lt;/div&gt;&lt;br&gt;Maybe if you provide a minimal test case we can run it and see what the
&lt;br&gt;problem is. &amp;nbsp;My guess would be that editing should work out of the box
&lt;br&gt;(without the need for special code). &amp;nbsp;From reading the book, I get the
&lt;br&gt;impression that if you use the [insert/append]_column_editable() methods
&lt;br&gt;of the TreeView things should work correctly, but I could be wrong.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;José
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/treeview-Tab-control-tp26098190p26203467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26202642</id>
	<title>Re: Libegg - eggtoolpalette.h</title>
	<published>2009-11-04T11:04:04Z</published>
	<updated>2009-11-04T11:04:04Z</updated>
	<author>
		<name>Jamiil</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;font face=&quot;Helvetica, Arial, sans-serif&quot;&gt;Excellent! I saw the
screenshot in &lt;br&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://bugzilla-attachments.gnome.org/attachment.cgi?id=129305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla-attachments.gnome.org/attachment.cgi?id=129305&lt;/a&gt;&lt;br&gt;
and it is exactly what I am looking for. I am sure more icons will be
added by the developer or that there is a way that the users or other
developers/programmers can add at will.&lt;br&gt;
What I would like to know now is if all I need to do is to add the
source code to my project or if there is something else I should do. I
am using Code::Blocks under MS.&lt;br&gt;
&lt;br&gt;
Please Murray, give us some input on this matter.&lt;br&gt;
TIA&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Murray Cumming wrote:
&lt;blockquote cite=&quot;mid:1257358456.24546.5.camel@murrayc-x61&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;On Wed, 2009-11-04 at 13:07 -0500, ArbolOne wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;I was looking at the code of eggtoolpalette.* It is hard to visualize 
what the this library can do, so I was wondering if there are 
any screenshots of it, anybody?
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
There's a demo that you can run, in the libegg git module.

And there's a screenshot attached to this bug:
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=567729&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.gnome.org/show_bug.cgi?id=567729&lt;/a&gt;

  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202642&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Libegg---eggtoolpalette.h-tp26201661p26202642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26201757</id>
	<title>Re: Libegg - eggtoolpalette.h</title>
	<published>2009-11-04T10:14:16Z</published>
	<updated>2009-11-04T10:14:16Z</updated>
	<author>
		<name>Murray Cumming</name>
	</author>
	<content type="html">On Wed, 2009-11-04 at 13:07 -0500, ArbolOne wrote:
&lt;br&gt;&amp;gt; I was looking at the code of eggtoolpalette.* It is hard to visualize 
&lt;br&gt;&amp;gt; what the this library can do, so I was wondering if there are 
&lt;br&gt;&amp;gt; any screenshots of it, anybody?
&lt;br&gt;&lt;br&gt;There's a demo that you can run, in the libegg git module.
&lt;br&gt;&lt;br&gt;And there's a screenshot attached to this bug:
&lt;br&gt;&lt;a href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=567729&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.gnome.org/show_bug.cgi?id=567729&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murrayc@...&lt;/a&gt;
&lt;br&gt;www.murrayc.com
&lt;br&gt;www.openismus.com
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201757&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Libegg---eggtoolpalette.h-tp26201661p26201757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26201661</id>
	<title>Libegg - eggtoolpalette.h</title>
	<published>2009-11-04T10:07:16Z</published>
	<updated>2009-11-04T10:07:16Z</updated>
	<author>
		<name>Jamiil</name>
	</author>
	<content type="html">I was looking at the code of eggtoolpalette.* It is hard to visualize 
&lt;br&gt;what the this library can do, so I was wondering if there are 
&lt;br&gt;any screenshots of it, anybody?
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Libegg---eggtoolpalette.h-tp26201661p26201661.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26201279</id>
	<title>Re: treeview Tab control</title>
	<published>2009-11-04T09:48:31Z</published>
	<updated>2009-11-04T09:48:31Z</updated>
	<author>
		<name>Thomas Sommer-2</name>
	</author>
	<content type="html">Hi all, 
&lt;br&gt;&lt;br&gt;for the cellrenderer I just found &amp;nbsp;editing_canceled()
&lt;br&gt;&lt;br&gt;here the hack into the editable treeview example from the docs:
&lt;br&gt;&lt;br&gt;bool ExampleWindow::on_key_press(GdkEventKey* event)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; event-&amp;gt;keyval &amp;lt;&amp;lt; &amp;quot;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Gtk::CellRenderer* r=m_TreeView.get_column_cell_renderer (0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; r-&amp;gt;editing_canceled();
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;I get the key value but editing is not canceled when hitting tab in the
&lt;br&gt;first column.
&lt;br&gt;Do I select the wrong renderer?
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;-- 
&lt;br&gt;Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
&lt;br&gt;sicherer, schneller und einfacher! &lt;a href=&quot;http://portal.gmx.net/de/go/chbrowser&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/chbrowser&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201279&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/treeview-Tab-control-tp26098190p26201279.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26200324</id>
	<title>Re: treeview Tab control</title>
	<published>2009-11-04T09:06:25Z</published>
	<updated>2009-11-04T09:06:25Z</updated>
	<author>
		<name>Thomas Sommer-2</name>
	</author>
	<content type="html">That's exactly what I tried before:
&lt;br&gt;&lt;br&gt;bool gui::key_pressed(GdkEventKey* event)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; if(event-&amp;gt;type == GDK_KEY_PRESS &amp;&amp; event-&amp;gt;keyval == GDK_Tab) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Gtk::TreeModel::iterator iter = 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_refTreeSelection_TreeView-&amp;gt;get_selected();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Gtk::TreeModel::Path p;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Gtk::TreeViewColumn* c;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_pTreeView-&amp;gt;get_cursor(p,c);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(c==m_pTreeView_OPL-&amp;gt;get_column(0)) &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_pTreeView_OPL-&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set_cursor(m_refModel_TreeView-&amp;gt;get_path(iter),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *(m_pTreeView-&amp;gt;get_column(1)),true);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;Problem is: 
&lt;br&gt;Hittin tab will set the cursors to the second column but the entry in
&lt;br&gt;the editable gets lost. Restoring it to the value stored in the TreeStore.
&lt;br&gt;&lt;br&gt;Therefore I tried to get a hold of the cellrenderer 
&lt;br&gt;&lt;br&gt;Gtk::CellRenderer* r=m_pTreeView-&amp;gt;get_column_cell_renderer (0);
&lt;br&gt;Gtk::CellRendererText* t=dynamic_cast&amp;lt;Gtk::CellRendererText*&amp;gt;(r);
&lt;br&gt;&lt;br&gt;and tried to emit the changed signal. Sadly the emit() funktion does not exist ;-(
&lt;br&gt;t-&amp;gt;signal_edited().emit();
&lt;br&gt;&lt;br&gt;I know this is a bad idea but doing something like this would be much easier than writing my own cellrenderer (I think).
&lt;br&gt;I read something about calling the signal handler instead of emitting the signal myself. But how do I call the signal handler of the celleditable?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------- Original-Nachricht --------
&lt;br&gt;&amp;gt; Datum: Mon, 2 Nov 2009 14:35:36 +0600
&lt;br&gt;&amp;gt; Von: &amp;quot;Галымжан Кожаев&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kozhayev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; An: &amp;quot;José Alburquerque&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200324&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaalburquerque@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; CC: Thomas Sommer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200324&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mawa15@...&lt;/a&gt;&amp;gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200324&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Re: treeview Tab control
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi, Thomas.
&lt;br&gt;&amp;gt; Maybe you should try to catch GDK events ? Like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; // in constructor
&lt;br&gt;&amp;gt; signal_key_press_event().connect(sigc::mem_fun(*this,
&lt;br&gt;&amp;gt; &amp;MyTreeView::onKeyPressEvent), false);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /// .............
&lt;br&gt;&amp;gt; bool MyTreeView::onKeyPressEvent(GdkEventKey* event) {
&lt;br&gt;&amp;gt; &amp;nbsp; if(event-&amp;gt;type == GDK_KEY_PRESS) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if(event-&amp;gt;keyval == GDK_Return) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // set active next column
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // and stop executing of other handlers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; return false;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If your gdk event handler returns true, all other handlers won't be
&lt;br&gt;&amp;gt; executed. GDK_Return represents &amp;quot;Enter&amp;quot; key, you should replace it
&lt;br&gt;&amp;gt; with GDK_Tab (but i'm not sure, look at gtkmm header files).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Galymzhan.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;-- 
&lt;br&gt;GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
&lt;br&gt;Jetzt freischalten unter &lt;a href=&quot;http://portal.gmx.net/de/go/maxdome01&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/maxdome01&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200324&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/treeview-Tab-control-tp26098190p26200324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26199504</id>
	<title>Re: Gtk::Stock::CANCEL</title>
	<published>2009-11-04T08:21:29Z</published>
	<updated>2009-11-04T08:21:29Z</updated>
	<author>
		<name>Jamiil</name>
	</author>
	<content type="html">Right on man, right on.
&lt;br&gt;&lt;br&gt;Jim Hodapp wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks for the reply. I remember reading that they removed this 
&lt;br&gt;&amp;gt; feature, though I wasn't sure exactly what widgets it affected. I 
&lt;br&gt;&amp;gt; don't understand why they would remove the feature...they could leave 
&lt;br&gt;&amp;gt; it there but discourage the use of this feature through the HIG if 
&lt;br&gt;&amp;gt; they are going for a certain consistent look. I really need it in this 
&lt;br&gt;&amp;gt; case since I'm trying to implement buttons for a script interface that 
&lt;br&gt;&amp;gt; have functions like play, pause, stop, next, prev, etc. People are 
&lt;br&gt;&amp;gt; very familiar with the icons from everyday life and react faster to 
&lt;br&gt;&amp;gt; the icons than to reading the equivalent text.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jim
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 11/04/2009 09:50 AM, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt; Unfortunately no.
&lt;br&gt;&amp;gt;&amp;gt; I have tried every possible avenue, ideas and experiments, but to no 
&lt;br&gt;&amp;gt;&amp;gt; avail.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I asked Murray if he would give me some ideas about implementing the
&lt;br&gt;&amp;gt;&amp;gt; look and style of GNOME themes, but I am still waiting for a response.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As Murray said in his last email, the Gtk+ team decided to remove that
&lt;br&gt;&amp;gt;&amp;gt; feature to make the GUI more MS like, which I find to be saddening.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please, please, Jim, if you find a work around, do, let us know. I hope
&lt;br&gt;&amp;gt;&amp;gt; the GTK+ team is reading these emails and re-implement the choice of
&lt;br&gt;&amp;gt;&amp;gt; adding widgets to the buttons, thus giving the developers the choice of
&lt;br&gt;&amp;gt;&amp;gt; the feel and look of his/her applications.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Have a grate day!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Jim Hodapp wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Did you ever get a solution to this problem? Even trying some of the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; suggestions on this list to your original post, I still can't get a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stock image to appear on any buttons. I can get the text of the stock
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; button to appear just fine, but never the associated image.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Jim
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On 10/23/2009 10:33 AM, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yes, I am using WinXP, is there a way to change the theme, I really 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the look and feel of GNOME.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Murray Cumming wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thu, 2009-10-22 at 20:31 -0400, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am trying to add a stock icon to a button like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this-&amp;gt;btnCancel = Gtk::manage(new Gtk::Button(Gtk::Stock::CANCEL));
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this is supposed to display a button with a X next to it (X Cancel),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; just like the Accept button in the example just above the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; description
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; of ~Button(), which display a folded arrow pointing to the left
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [&lt;a href=&quot;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&lt;/a&gt;] 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; However, the button in my application does not display the intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; image, does anyone know what I am doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Are you using Windows? The default GTK+ theme on Windows doesn't show
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; stock button images on purpose. I believe that's meant to make GTK+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; applications look more correct on Windows.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; gtkmm-list mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26199504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;___ &amp;nbsp; _____ &amp;nbsp; &amp;nbsp;_____ &amp;nbsp; _____ &amp;nbsp; _ &amp;nbsp; &amp;nbsp; &amp;nbsp; _____ &amp;nbsp; __ &amp;nbsp; _ &amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; / &amp;nbsp; | | &amp;nbsp;_ &amp;nbsp;\ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;\ / &amp;nbsp;_ &amp;nbsp;\ | | &amp;nbsp; &amp;nbsp; / &amp;nbsp;_ &amp;nbsp;\ | &amp;nbsp;\ | | | ____| 
&lt;br&gt;&amp;nbsp; &amp;nbsp;/ /| | | |_| | &amp;nbsp;| |_| | | | | | | | &amp;nbsp; &amp;nbsp; | | | | | &amp;nbsp; \| | | |__ &amp;nbsp; 
&lt;br&gt;&amp;nbsp; / / | | | &amp;nbsp;_ &amp;nbsp;/ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;{ | | | | | | &amp;nbsp; &amp;nbsp; | | | | | |\ &amp;nbsp; | | &amp;nbsp;__| &amp;nbsp;
&lt;br&gt;&amp;nbsp;/ / &amp;nbsp;| | | | \ \ &amp;nbsp;| |_| | | |_| | | |___ &amp;nbsp;| |_| | | | \ &amp;nbsp;| | |___ &amp;nbsp;
&lt;br&gt;/_/ &amp;nbsp; |_| |_| &amp;nbsp;\_\ |_____/ \_____/ |_____| \_____/ |_| &amp;nbsp;\_| |_____| 
&lt;br&gt;&lt;br&gt;&lt;br&gt;ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26199504&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtk%3A%3AStock%3A%3ACANCEL-tp26019250p26199504.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197794</id>
	<title>Re: Gtk::Stock::CANCEL</title>
	<published>2009-11-04T07:00:50Z</published>
	<updated>2009-11-04T07:00:50Z</updated>
	<author>
		<name>Jim Hodapp-2</name>
	</author>
	<content type="html">Thanks for the reply. I remember reading that they removed this feature, 
&lt;br&gt;though I wasn't sure exactly what widgets it affected. I don't 
&lt;br&gt;understand why they would remove the feature...they could leave it there 
&lt;br&gt;but discourage the use of this feature through the HIG if they are going 
&lt;br&gt;for a certain consistent look. I really need it in this case since I'm 
&lt;br&gt;trying to implement buttons for a script interface that have functions 
&lt;br&gt;like play, pause, stop, next, prev, etc. People are very familiar with 
&lt;br&gt;the icons from everyday life and react faster to the icons than to 
&lt;br&gt;reading the equivalent text.
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;On 11/04/2009 09:50 AM, ArbolOne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Unfortunately no.
&lt;br&gt;&amp;gt; I have tried every possible avenue, ideas and experiments, but to no avail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I asked Murray if he would give me some ideas about implementing the
&lt;br&gt;&amp;gt; look and style of GNOME themes, but I am still waiting for a response.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As Murray said in his last email, the Gtk+ team decided to remove that
&lt;br&gt;&amp;gt; feature to make the GUI more MS like, which I find to be saddening.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please, please, Jim, if you find a work around, do, let us know. I hope
&lt;br&gt;&amp;gt; the GTK+ team is reading these emails and re-implement the choice of
&lt;br&gt;&amp;gt; adding widgets to the buttons, thus giving the developers the choice of
&lt;br&gt;&amp;gt; the feel and look of his/her applications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have a grate day!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jim Hodapp wrote:
&lt;br&gt;&amp;gt;&amp;gt; Did you ever get a solution to this problem? Even trying some of the
&lt;br&gt;&amp;gt;&amp;gt; suggestions on this list to your original post, I still can't get a
&lt;br&gt;&amp;gt;&amp;gt; stock image to appear on any buttons. I can get the text of the stock
&lt;br&gt;&amp;gt;&amp;gt; button to appear just fine, but never the associated image.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Jim
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 10/23/2009 10:33 AM, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yes, I am using WinXP, is there a way to change the theme, I really like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the look and feel of GNOME.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Murray Cumming wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thu, 2009-10-22 at 20:31 -0400, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am trying to add a stock icon to a button like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this-&amp;gt;btnCancel = Gtk::manage(new Gtk::Button(Gtk::Stock::CANCEL));
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this is supposed to display a button with a X next to it (X Cancel),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; just like the Accept button in the example just above the description
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; of ~Button(), which display a folded arrow pointing to the left
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [&lt;a href=&quot;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; However, the button in my application does not display the intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; image, does anyone know what I am doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Are you using Windows? The default GTK+ theme on Windows doesn't show
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; stock button images on purpose. I believe that's meant to make GTK+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; applications look more correct on Windows.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; gtkmm-list mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197794&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197794&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtk%3A%3AStock%3A%3ACANCEL-tp26019250p26197794.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197613</id>
	<title>Re: Gtk::Stock::CANCEL</title>
	<published>2009-11-04T06:50:08Z</published>
	<updated>2009-11-04T06:50:08Z</updated>
	<author>
		<name>Jamiil</name>
	</author>
	<content type="html">Unfortunately no.
&lt;br&gt;I have tried every possible avenue, ideas and experiments, but to no avail.
&lt;br&gt;&lt;br&gt;I asked Murray if he would give me some ideas about implementing the 
&lt;br&gt;look and style of GNOME themes, but I am still waiting for a response.
&lt;br&gt;&lt;br&gt;As Murray said in his last email, the Gtk+ team decided to remove that 
&lt;br&gt;feature to make the GUI more MS like, which I find to be saddening.
&lt;br&gt;&lt;br&gt;Please, please, Jim, if you find a work around, do, let us know. I hope 
&lt;br&gt;the GTK+ team is reading these emails and re-implement the choice of 
&lt;br&gt;adding widgets to the buttons, thus giving the developers the choice of 
&lt;br&gt;the feel and look of his/her applications.
&lt;br&gt;&lt;br&gt;Have a grate day!
&lt;br&gt;&lt;br&gt;Jim Hodapp wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Did you ever get a solution to this problem? Even trying some of the 
&lt;br&gt;&amp;gt; suggestions on this list to your original post, I still can't get a 
&lt;br&gt;&amp;gt; stock image to appear on any buttons. I can get the text of the stock 
&lt;br&gt;&amp;gt; button to appear just fine, but never the associated image.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jim
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 10/23/2009 10:33 AM, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt; Yes, I am using WinXP, is there a way to change the theme, I really like
&lt;br&gt;&amp;gt;&amp;gt; the look and feel of GNOME.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Murray Cumming wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Thu, 2009-10-22 at 20:31 -0400, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am trying to add a stock icon to a button like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this-&amp;gt;btnCancel = Gtk::manage(new Gtk::Button(Gtk::Stock::CANCEL));
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this is supposed to display a button with a X next to it (X Cancel),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; just like the Accept button in the example just above the description
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; of ~Button(), which display a folded arrow pointing to the left
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [&lt;a href=&quot;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&lt;/a&gt;] 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; However, the button in my application does not display the intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; image, does anyone know what I am doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Are you using Windows? The default GTK+ theme on Windows doesn't show
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stock button images on purpose. I believe that's meant to make GTK+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; applications look more correct on Windows.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; gtkmm-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197613&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;___ &amp;nbsp; _____ &amp;nbsp; &amp;nbsp;_____ &amp;nbsp; _____ &amp;nbsp; _ &amp;nbsp; &amp;nbsp; &amp;nbsp; _____ &amp;nbsp; __ &amp;nbsp; _ &amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; / &amp;nbsp; | | &amp;nbsp;_ &amp;nbsp;\ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;\ / &amp;nbsp;_ &amp;nbsp;\ | | &amp;nbsp; &amp;nbsp; / &amp;nbsp;_ &amp;nbsp;\ | &amp;nbsp;\ | | | ____| 
&lt;br&gt;&amp;nbsp; &amp;nbsp;/ /| | | |_| | &amp;nbsp;| |_| | | | | | | | &amp;nbsp; &amp;nbsp; | | | | | &amp;nbsp; \| | | |__ &amp;nbsp; 
&lt;br&gt;&amp;nbsp; / / | | | &amp;nbsp;_ &amp;nbsp;/ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;{ | | | | | | &amp;nbsp; &amp;nbsp; | | | | | |\ &amp;nbsp; | | &amp;nbsp;__| &amp;nbsp;
&lt;br&gt;&amp;nbsp;/ / &amp;nbsp;| | | | \ \ &amp;nbsp;| |_| | | |_| | | |___ &amp;nbsp;| |_| | | | \ &amp;nbsp;| | |___ &amp;nbsp;
&lt;br&gt;/_/ &amp;nbsp; |_| |_| &amp;nbsp;\_\ |_____/ \_____/ |_____| \_____/ |_| &amp;nbsp;\_| |_____| 
&lt;br&gt;&lt;br&gt;&lt;br&gt;ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197613&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtk%3A%3AStock%3A%3ACANCEL-tp26019250p26197613.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197229</id>
	<title>Re: Gtk::Stock::CANCEL</title>
	<published>2009-11-04T06:27:50Z</published>
	<updated>2009-11-04T06:27:50Z</updated>
	<author>
		<name>Jim Hodapp-2</name>
	</author>
	<content type="html">Did you ever get a solution to this problem? Even trying some of the 
&lt;br&gt;suggestions on this list to your original post, I still can't get a 
&lt;br&gt;stock image to appear on any buttons. I can get the text of the stock 
&lt;br&gt;button to appear just fine, but never the associated image.
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 10/23/2009 10:33 AM, ArbolOne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes, I am using WinXP, is there a way to change the theme, I really like
&lt;br&gt;&amp;gt; the look and feel of GNOME.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Murray Cumming wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Thu, 2009-10-22 at 20:31 -0400, ArbolOne wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am trying to add a stock icon to a button like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this-&amp;gt;btnCancel = Gtk::manage(new Gtk::Button(Gtk::Stock::CANCEL));
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this is supposed to display a button with a X next to it (X Cancel),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; just like the Accept button in the example just above the description
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of ~Button(), which display a folded arrow pointing to the left
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [&lt;a href=&quot;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; However, the button in my application does not display the intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; image, does anyone know what I am doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are you using Windows? The default GTK+ theme on Windows doesn't show
&lt;br&gt;&amp;gt;&amp;gt; stock button images on purpose. I believe that's meant to make GTK+
&lt;br&gt;&amp;gt;&amp;gt; applications look more correct on Windows.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197229&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtk%3A%3AStock%3A%3ACANCEL-tp26019250p26197229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26192636</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-04T00:27:25Z</published>
	<updated>2009-11-04T00:27:25Z</updated>
	<author>
		<name>Dimitri Holz</name>
	</author>
	<content type="html">Oh yes, I use an Andora - theme it make my application very &amp;quot;beautiful&amp;quot;,
&lt;br&gt;I like it, but the border of window is a XP-Style that not really a best
&lt;br&gt;design :-). But I have seen inside of Andora - theme directory images
&lt;br&gt;for buttons (close, maximize, minimize) of the window-border and thought
&lt;br&gt;that it would be possible to start the application with the theme
&lt;br&gt;specific border, thats the reason because I write at the moment to the
&lt;br&gt;list!!!
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26192636&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26192636.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26184038</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-03T10:13:42Z</published>
	<updated>2009-11-03T10:13:42Z</updated>
	<author>
		<name>José Alburquerque-3</name>
	</author>
	<content type="html">On Tue, 2009-11-03 at 16:57 +0100, Dimitri Holz wrote: 
&lt;br&gt;&amp;gt; I mean the window border where the maximaze minimize and close buttons
&lt;br&gt;&amp;gt; are! I wanted to use the gtkmm border and not windows border!
&lt;br&gt;&lt;br&gt;You must be referring to themes. &amp;nbsp;I don't know much but searching for
&lt;br&gt;gtk+ windows themes might show some good results. &amp;nbsp;For example, I found
&lt;br&gt;the following link:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.gtkforums.com/about1444.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gtkforums.com/about1444.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;José
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26184038&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26184038.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26183359</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-03T09:30:43Z</published>
	<updated>2009-11-03T09:30:43Z</updated>
	<author>
		<name>Christopher Harvey-2</name>
	</author>
	<content type="html">Maybe you can create a boarder-less window, then draw your own boarder. 
&lt;br&gt;Gtk[mm] has no default boarder however.
&lt;br&gt;&lt;br&gt;Jonathon Jongsma wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dimitri Holz wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; I mean the window border where the maximaze minimize and close buttons
&lt;br&gt;&amp;gt;&amp;gt; are! I wanted to use the gtkmm border and not windows border!
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; gtkmm-list mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183359&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; gtkmm has no window border. &amp;nbsp;That is provided by the window manager.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183359&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26183359.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26183280</id>
	<title>Re: How is it possible to use gtkmm default window frames instead of	win32-window frames on XP?</title>
	<published>2009-11-03T09:24:46Z</published>
	<updated>2009-11-03T09:24:46Z</updated>
	<author>
		<name>Jonathon Jongsma-3</name>
	</author>
	<content type="html">Dimitri Holz wrote:
&lt;br&gt;&amp;gt; I mean the window border where the maximaze minimize and close buttons
&lt;br&gt;&amp;gt; are! I wanted to use the gtkmm border and not windows border!
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; gtkmm-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183280&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;&lt;br&gt;gtkmm has no window border. &amp;nbsp;That is provided by the window manager.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;jonner
&lt;br&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183280&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-is-it-possible-to-use-gtkmm-default-window-frames-instead-of%09win32-window-frames-on-XP--tp26181910p26183280.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26181912</id>
	<title>Re: gtkmm-list Digest, Vol 67, Issue 3</title>
	<published>2009-11-03T08:00:46Z</published>
	<updated>2009-11-03T08:00:46Z</updated>
	<author>
		<name>Fabrício Godoy</name>
	</author>
	<content type="html">No, a wrapper to socket will be implemented in next stable release.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/3 sankar bose &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shankarbose.imp@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&amp;gt; Message: 3&lt;br&gt;
&amp;gt; Date: Tue, 3 Nov 2009 09:27:07 -0200&lt;br&gt;
&amp;gt; From: Fabr?cio Godoy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;skarllot@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; To: Dimitri Holz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;d.holz@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Subject: Re: Is it possible to create a TCP-Socket in gtkmm or&lt;br&gt;
&amp;gt;       underlying      libriary(s) ?&lt;br&gt;
&amp;gt; Message-ID:&lt;br&gt;
&amp;gt;       &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;f038efdf0911030327m379007c3x131c8ba551319c2a@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; Content-Type: text/plain; charset=&amp;quot;iso-8859-1&amp;quot;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; See following:&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://library.gnome.org/devel/gio/stable/highlevel-socket.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gio/stable/highlevel-socket.html&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://library.gnome.org/devel/gio/stable/networking.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gio/stable/networking.html&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://library.gnome.org/devel/gio/stable/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gio/stable/&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2009/11/3 Dimitri Holz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;d.holz@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ------------------------------&lt;br&gt;
&lt;br&gt;
Can you give me a example of TCP-Socket in gtkmm  . Thanks in advance.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
with regards..........................&lt;br&gt;
_______________________________________________&lt;br&gt;
gtkmm-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gtkmm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181912&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtkmm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gtkmm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gtkmm-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-gtkmm-list-Digest%2C-Vol-67%2C-Issue-3-tp26180793p26181912.html" />
</entry>

</feed>
