libgtkmmsourceview-3.0

2011-08-10 Thread Giuseppe Penone
Hi, I would like to port an app from pygtk2 to gtkmm3 but it seems to me that gtksourceview (that I need) is not supported in the bindings to gtk3, am I wrong? Thanks and best regards, Giuseppe. ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: libgtkmmsourceview-3.0

2011-08-12 Thread Giuseppe Penone
. Thanks and best regards, Giuseppe. On Thu, Aug 11, 2011 at 17:15, Krzesimir Nowak qdl...@gmail.com wrote: 2011/8/9 Giuseppe Penone gius...@gmail.com: Hi, I would like to port an app from pygtk2 to gtkmm3 but it seems to me that gtksourceview (that I need) is not supported

liststore get iter of latest element

2012-05-25 Thread Giuseppe Penone
Hi, while it's trivial to get the first element of a list tree_iter = r_liststore-children().begin(); I still found no way to retrieve the latest element without iterating all over the list. Getting r_liststore-children().end() doesn't provide a valid iter. Does anybody know how to obtain the

Re: liststore get iter of latest element

2012-05-25 Thread Giuseppe Penone
It works, thank you very much. On Fri, May 25, 2012 at 11:44 AM, Krzesimir Nowak qdl...@gmail.com wrote: 2012/5/25 Giuseppe Penone gius...@gmail.com: Hi, while it's trivial to get the first element of a list tree_iter = r_liststore-children().begin(); I still found no way

gtkmm on screen keyboard (using xorg), everything ok but the direction arrows

2012-05-25 Thread Giuseppe Penone
Hi, I'm writing a simple open source gtkmm on screen keyboard (http://code.google.com/p/giuspen-x-osk/source/checkout , on README there are instruction for compiling) which makes use of XOrg libraries. I understand this question is more related to xorg than gtkmm but I asked to xorg mailing list

Re: destroying (by closing) a modeless GtkMessageDialog ?

2012-06-07 Thread Giuseppe Penone
Hi, I use a function like this: void Centro::dialog_error(const char *display_msg) { Gtk::MessageDialog dialog(*mp_window, Errore, false, Gtk::MESSAGE_ERROR); dialog.set_secondary_text(display_msg); dialog.run(); dialog.hide(); } ...even though dialog.hide() is actually not

Re: Debug for a GdkPixbuf CRITICAL error message...

2012-06-07 Thread Giuseppe Penone
Hi, I had similar messages when it happened that, in a multithreaded app where the gui was handled from more threads, the semaphores were not properly set. Cheers, Giuseppe. On Wed, Jun 6, 2012 at 10:21 PM, Glus Xof gtg...@gmail.com wrote: Hi guys, My app suddently throws this critical

Re: destroying (by closing) a modeless GtkMessageDialog ?

2012-06-08 Thread Giuseppe Penone
assume in the main application window). On Thu, Jun 07, 2012 at 04:20:46PM +0200, Giuseppe Penone wrote: Hi, I use a function like this: void Centro::dialog_error(const char *display_msg) { Gtk::MessageDialog dialog(*mp_window, Errore, false, Gtk::MESSAGE_ERROR

logging to file in gtkmm

2012-06-08 Thread Giuseppe Penone
Hi, I need to log to file but I'm not an expert in it, I would like to control the number of days logged to do not fill up the disk. Is there an adviced way to do it in gtkmm? Thanks. ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: logging to file in gtkmm

2012-06-11 Thread Giuseppe Penone
08.06.2012 09:55, schrieb Giuseppe Penone: Hi, I need to log to file but I'm not an expert in it, I would like to control the number of days logged to do not fill up the disk. Is there an adviced way to do it in gtkmm? Thanks. There is a logging stream in gtkmm-utils [1]. It doesn't support

Re: logging to file in gtkmm

2012-06-11 Thread Giuseppe Penone
Philipp Am 11.06.2012 14:54, schrieb Giuseppe Penone: I'm sorry to bother again, I'm going with syslog which works pretty good but seems to write to /var/log/syslog only and I cannot find a way to write to a dedicated file. I'm using the following code: // gcc giuspexample.c -o

Re: Update TreeModel when TreeView changes

2012-06-11 Thread Giuseppe Penone
Hi, there's an example on the online book http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en#sec-editable-cells-example it's gtkmm3 but the differences are not so many. I personally prefer to add treeview / liststore from code to a glade scrolledwindow but I don't

Re: Rendering performance on custom text view on Gdk::Drawable

2012-06-11 Thread Giuseppe Penone
Hi, It seems to me to understand that you are drawing a pixbuf per byte in a drawing area. In my opinion you should use a Gtk::TextBuffer / Gtk::TextView. In a textbuffer you can place characters, pixbufs, widgets... anything. Cheers, Giuseppe. On Mon, Jun 11, 2012 at 10:59 PM, ivar kängsepp

Re: logging to file in gtkmm

2012-06-12 Thread Giuseppe Penone
Cheers, Giuseppe. On Mon, Jun 11, 2012 at 4:30 PM, Giuseppe Penone gius...@gmail.com wrote: Hi Florian, following your lead I reached /etc/rsyslog.d/50-default.conf I added: local0.*/var/log/mylog at the beginning, then restarted the service but still no result. I

Re: overriding rubber band selection color

2012-06-18 Thread Giuseppe Penone
Hi, I think you have to go through the css for this and override the theme properties you are using. I made this way for a button background: http://stackoverflow.com/questions/8952679/gtkmm-3-button-background-color-change Note I did insert the answer in the question detailing how to include a

gtkmm 3.4.0 - Gtk::VolumeButton - ‘VolumeButton’ is not a member of ‘Gtk’

2012-06-19 Thread Giuseppe Penone
Hi, trying to instantiate: Gtk::VolumeButton volume_button; I get error: ‘VolumeButton’ is not a member of ‘Gtk’ is this a bug? Cheers. ___ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list

gtkmm 3.4.0 - Gtk::Switch where is the signal activate?

2012-06-19 Thread Giuseppe Penone
Hi, I would like to use the signal activate of the widget Gtk::Switch (which I discovered through glade signals tab), I see that it exists in gtk 3.2: http://developer.gnome.org/gtk3/3.2/GtkSwitch.html#GtkSwitch-activate but it is not mentioned on

Re: gtkmm 3.4.0 - Gtk::VolumeButton - ‘VolumeButton’ is not a member of ‘Gtk’

2012-06-19 Thread Giuseppe Penone
Yes I did not specify that I included the whole gtkmm.h but you got it. Many thanks for the workaround to this. Giuseppe. On Tue, Jun 19, 2012 at 6:26 PM, Kjell Ahlstedt kjell.ahlst...@bredband.net wrote: 2012-06-19 17:12, Giuseppe Penone skrev: Hi, trying to instantiate: Gtk

gtkmm 3.4.0 (gtk 3.4.2) multithread app graphic deterioration

2012-07-05 Thread Giuseppe Penone
Hi, I'm writing a multithread app where different threads operate on the graphic. The non gui threads operate on graphic only after semaphores: gdk_threads_enter(); OPERATION ON GUI FROM NON GUI THREAD gdk_threads_leave(); and the gui thread is opened this way: g_thread_init(NULL);

liststore/treestore example with pixbufs that change

2012-07-05 Thread Giuseppe Penone
Hi, In the programming with gtkmm3 there are many examples regarding the treeview/treestore/liststore ( http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en ) but no one showing the proper way to populate a tree with pixbufs, change them and eventually delete a row with

how to build gtkmm3 demo

2012-07-06 Thread Giuseppe Penone
Hi, I downloaded the latest gtkmm-3.4.0 and I can see the demo sources in gtkmm-3.4.0/demos/gtk-demo/ Compiling the whole gtkmm3 (./configure make) I see no binary for the demo and furthermore I see no makefile in the gtk-demo folder. Can anybody help me to understand how the gtkmm demo is to be

Re: how to build gtkmm3 demo

2012-07-06 Thread Giuseppe Penone
the programs in both demos and demos/gtk-demo. Kjell 2012-07-06 12:31, Giuseppe Penone skrev: Hi, I downloaded the latest gtkmm-3.4.0 and I can see the demo sources in gtkmm-3.4.0/demos/gtk-demo/ Compiling the whole gtkmm3 (./configure make) I see no binary for the demo and furthermore I see

Re: gtkmm 3.4.0 (gtk 3.4.2) multithread app graphic deterioration

2012-07-07 Thread Giuseppe Penone
commands to the windowing system. Kjell 2012-07-05 14:52, Giuseppe Penone skrev: Hi, I'm writing a multithread app where different threads operate on the graphic. The non gui threads operate on graphic only after semaphores: gdk_threads_enter(); OPERATION ON GUI FROM NON GUI THREAD

Re: gtkmm 3.4.0 (gtk 3.4.2) multithread app graphic deterioration

2012-07-07 Thread Giuseppe Penone
I'm not very experienced in c++ and gtkmm, so far (after reading http://developer.gnome.org/gdk3/stable/gdk3-Threads.html) I did protect the following graphics calls: 1) from non main threads 2) the glib timeout calls are you saying I have to protect also every single gtk callback? This would be

Re: gtkmm 3.4.0 (gtk 3.4.2) multithread app graphic deterioration

2012-07-08 Thread Giuseppe Penone
Giuseppe Penone gius...@gmail.com wrote: I'm not very experienced in c++ and gtkmm, so far (after reading http://developer.gnome.org/gdk3/stable/gdk3-Threads.html) I did protect the following graphics calls: 1) from non main threads 2) the glib timeout calls are you saying I have

Re: gtkmm 3.4.0 (gtk 3.4.2) multithread app graphic deterioration

2012-07-08 Thread Giuseppe Penone
I'm quite interested in what you say In another posting you said your program does a lot of input-output. You don't need threads just for that: you can set up a watch on a file descriptor for the main GUI thread using Glib::signal_io().connect(). GIO/giomm also has a wide range of

Re: Saving as PDF

2012-07-09 Thread Giuseppe Penone
take a look at the following link (gtkmm documentation) http://developer.gnome.org/gtkmm-tutorial/unstable/sec-printing-export-to-pdf.html.en On Mon, Jul 9, 2012 at 1:23 PM, Arbol One arbol...@gmail.com wrote: In my Win7 using GTKmm 2.22 I have developed a small program, I would like this

Fatal IO error 11 (Resource temporarily unavailable) on X server :0

2012-07-24 Thread Giuseppe Penone
Hi, on a gtkmm 3 app I'm working on it happened once to have a crash and read the message: Gdk-WARNING **: centro: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Could this be a problem in my application or is for sure a bug in xorg? Regards, Giuseppe.

Re: Problem about CellRendererText

2012-08-29 Thread Giuseppe Penone
Hi, I had a similar problem in the note taking application I'm writing www.giuspen.com/cherrytree In that application you can insert the so called tables which are merely tree views with editable cells. The best solution that I found is that after you enter value in a cell, click enter (or down)

new gtkmm online class hierarchy

2012-09-29 Thread Giuseppe Penone
Hi, I'm talking about http://developer.gnome.org/gtkmm/stable/hierarchy.html Some time ago I made wide use of it in combination with find utility of firefox to spot my class and pick reference in zero time. Recently the web interface changed and I don't feel very comfortable with it, for example

Re: Re: simple project Gtkmm + Glade

2012-10-07 Thread Giuseppe Penone
Hi, here you can find a very simple hello world using glade and autotools (autotools from mighty http://www.openismus.com/): http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/checkout it's just a button and when you click prints on the terminal. Cheers, Giuseppe. On

Italian letter given to to Glib::ustring causes Glib::ConvertError

2012-11-05 Thread Giuseppe Penone
Hi, I receive a terminate called after throwing an instance of 'Glib::ConvertError' after assigning a string containing an italian character to Glib::ustring. Can anybody help me to understand what I'm doing wrong?

Re: Italian letter given to to Glib::ustring causes Glib::ConvertError

2012-11-05 Thread Giuseppe Penone
Hi, the source file is utf-8 (edited with geany on linux ubuntu 12.04 64 bit), Is my code missing needed lines? Thanks, Giuseppe. On Mon, Nov 5, 2012 at 5:24 PM, François Legendre f.legen...@gmail.comwrote: Hi, How your source program is encoded ? If it not utf-8 encoded, I think you can

paned property_min_position and property_max_position

2012-11-29 Thread Giuseppe Penone
Hi, I'm on gtkmm 3.4.0, I would need to limit the positions of the paned with a minimum and maximum value. I see that there are the properties min_position and max_position but they seem to be read only. Is there a way to change those values? Thanks and best regards, Giuseppe.

Re: paned property_min_position and property_max_position

2012-11-29 Thread Giuseppe Penone
Ok thanks I'll try to connect to the container's signal_check_resize() (or eventually signal_size_allocate() of one of the child widgets) and then check the position there and eventually reposition. Not so fast as it could be but should work. Kind regards, Giuseppe. Judging by this[1], nope. I

Re: Building gtkmm 3 under win32 (mingw)

2012-12-16 Thread Giuseppe Penone
Hi, if you want to be cross platform you have to use gtkmm2.4, at the moment gtk3/gtkmm3 is not really cross platform while it should be in future (but nobody knows when). Cheers. On Sat, Dec 15, 2012 at 4:18 PM, Netrick netr...@o2.pl wrote: Hi, gtkmm *is the best C++ gui lib. However, it

Re: Building gtkmm 3 under win32 (mingw)

2012-12-16 Thread Giuseppe Penone
. On Sun, Dec 16, 2012 at 10:47 PM, Netrick netr...@o2.pl wrote: Sorry for spam mate. http://sourceforge.net/projects/gtk-mingw/ there are even gtkmm 3.5 windows binaries. That's great! I think this project should be mentioned on gtkmm site. Dnia 16 grudnia 2012 19:45 Giuseppe Penone gius

Re: Gtkmm documentation quality

2013-01-31 Thread Giuseppe Penone
I think that while this book is really wonderful http://developer.gnome.org/gtkmm-tutorial/unstable/index.html the online class tree http://developer.gnome.org/gtkmm/unstable/hierarchy.html is a disaster (while some time ago used to be good) and I have to use the devhelp as only usable reference.

Re: Gtkmm documentation quality

2013-01-31 Thread Giuseppe Penone
won't find it. Few time ago this page was simple, complete, functional, I don't know why it was spoiled this way. On Fri, Feb 1, 2013 at 3:41 AM, Chow Loong Jin hyper...@debian.org wrote: On 31/01/2013 23:05, Giuseppe Penone wrote: I think that while this book is really wonderful http

Re: Drop down MenuToolButton

2013-03-05 Thread Giuseppe Penone
If it can be of any help, I faced the same problem and end up doing the toolbar with ui manager and then adding a menutoolbutton later. I paste my few lines of code (in python, don't have this in gtkmm) if can be of help: inst.recent_menu_2 = gtk.Menu() ... menu_toolbutton =

Re: Drop down MenuToolButton

2013-03-05 Thread Giuseppe Penone
used in C++ examples but I always got errors when I tried to compile so I removed them. regards, Steve On Tue, Mar 5, 2013 at 9:55 AM, Giuseppe Penone gius...@gmail.com wrote: If it can be of any help, I faced the same problem and end up doing the toolbar with ui manager and then adding

Gtk::Switch demo/example

2013-07-04 Thread Giuseppe Penone
Hi, I was not able to find any Gtk::Switch demo/example either in gtkmm-demo or in the gtkmm online manual. Since it's cute I would like to use it to replace my checkbuttons, could anybody point me to a couple of line of code that show how to connect to the status on/off change event? Thanks,

Gtk::Switch labels different from ON/OFF

2013-07-11 Thread Giuseppe Penone
Hi, is it possible somehow to change the labels ON/OFF to something different? (e.g. A/B). Thanks, regards, Giuseppe. ___ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: message popups from worker thread

2013-09-05 Thread Giuseppe Penone
Hi, in one application I used the terminal command notify-send which sends those black bubbles on top right of the desktop. http://manpages.ubuntu.com/manpages/hardy/man1/notify-send.1.html Cheers, Giuseppe. On Wed, Sep 4, 2013 at 10:35 PM, Alan Mazer alan.s.ma...@jpl.nasa.govwrote: Hi. I need

Re: gtkmm 3 on Windows (Win32)

2013-11-05 Thread Giuseppe Penone
I will try as soon as I have a couple of free hours and write here if I succeed with the build. On Tue, Nov 5, 2013 at 10:34 AM, Murray Cumming murr...@murrayc.com wrote: On Mon, 2013-10-28 at 14:49 +0100, Murray Cumming wrote: There are now finally official binaries of GTK+ 3 for Windows,

gtkmm 3.6.0 windows 32 bit build WIP (official gtk bundle 3.6.4 20130921)

2014-01-08 Thread Giuseppe Penone
I successfully built on windows, based on *gtk+-bundle_3.6.4-20130921* _win32.zip the following stack: - *libsigc++-2.2.11* - *glibmm-2.34.1* (with one patch: the function *content_type_get_symbolic_icon* between #ifdef G_OS_UNIX ... #endif according to the mail

Re: gtkmm 3.6.0 windows 32 bit build WIP (official gtk bundle 3.6.4 20130921)

2014-01-11 Thread Giuseppe Penone
-20130921_win32.zip). I didn't include the scripts and patches yet but If this works I will add all the documentation to the archive. On Thu, Jan 9, 2014 at 12:10 AM, Giuseppe Penone gius...@gmail.com wrote: I successfully built on windows, based on *gtk+-bundle_3.6.4-20130921* _win32.zip

why not usring + ustring = ustring like QT?

2014-01-27 Thread Giuseppe Penone
Hi, I wonder why we cannot add the support for operator + like in QString, it is so incredible useful. One more thing, after a request I spent time to create the windows gtkmm binaries based on official 3.6.4 bundle and provided a link to my successful work but then I received no feedback, did I

Re: why not usring + ustring = ustring like QT?

2014-01-27 Thread Giuseppe Penone
On Mon, Jan 27, 2014 at 8:06 PM, Murray Cumming murr...@murrayc.com wrote: On Mo, 2014-01-27 at 17:24 +0100, Giuseppe Penone wrote: Hi, I wonder why we cannot add the support for operator + like in QString, it is so incredible useful. You can use the + operator with Glib::ustring just

Re: why not usring + ustring = ustring like QT?

2014-01-27 Thread Giuseppe Penone
Hi, On Mon, Jan 27, 2014 at 8:47 PM, fr33domlover fr33domlo...@mailoo.orgwrote: Hello, On ב', 2014-01-27 at 17:24 +0100, Giuseppe Penone wrote: Hi, I wonder why we cannot add the support for operator + like in QString, it is so incredible useful. Murray answered that. One more

Re: gtkmm 3.6.0 windows 32 bit build WIP (official gtk bundle 3.6.4 20130921)

2014-03-05 Thread Giuseppe Penone
and scripts and detailed steps. On Wed, Mar 5, 2014 at 12:36 PM, Murray Cumming murr...@murrayc.com wrote: On Sun, 2014-01-12 at 03:01 +0100, Giuseppe Penone wrote: I successfully built on windows, based on gtk +-bundle_3.6.4-20130921_win32.zip the following stack: - libsigc++-2.2.11

Re: gtkmm 3.6.0 windows 32 bit build WIP (official gtk bundle 3.6.4 20130921)

2014-03-05 Thread Giuseppe Penone
On Wed, Mar 5, 2014 at 1:07 PM, Murray Cumming murr...@murrayc.com wrote: Thanks. I have pushed your glibmm patch: https://git.gnome.org/browse/glibmm/commit/?id=c0c6363463ae42eb7dd991e3b96bc8da478f6cb7 In future, please put patches in bugzilla as git commit patches. Then they won't be