Re: gtkmm and gcc 4.0

2005-06-26 Thread Roger Leigh
currently using GCC 3.3 with libstdc++5. We will, in a few weeks, switch to GCC 4.0 and libstdc++6. At this point all the C++ libraries will need to be rebuilt, and these problems will go away. It's not possible to use multiple versions of libstdc++ in one program, so linking a

Re: Slightly Off Topic - Question about DB access.....

2005-07-06 Thread Roger Leigh
(libgda2-dev or gdamm). If you want a C++ library, try libpqxx, but it will tie you to PostgreSQL. Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public K

Re: Pango warning: "Invalid UTF-8 string"

2005-07-17 Thread Roger Leigh
t Latin (ISO-8859-n) character? Where is the umlaut coming from? The command-line, a file, the program source? Are you totally sure of its encoding? Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debi

Re: Pango warning: "Invalid UTF-8 string"

2005-07-17 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Kaeppler <[EMAIL PROTECTED]> writes: > Roger Leigh wrote: >> Are you *sure* the string is UTF-8 and that the umlaut is not an >> 8-bit Latin (ISO-8859-n) character? > > It's an ordinary std::string. I also

Re: Pango warning: "Invalid UTF-8 string"

2005-07-17 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Kaeppler <[EMAIL PROTECTED]> writes: > Roger Leigh wrote: >>> It's a filename, an std::string returned by >>> Gnome::Vfs::FileInfo::get_name(). >> You want the glibmm equivalent of g_filename_to_utf

Re: which gtkmm

2005-07-19 Thread Roger Leigh
.3, and this works with GTK+ 2.6. You'll need to upgrade GLib and GTK+ before building it. If you use a decent GNU/Linux distribution, you should already have GTK+ 2.6 and Gtkmm 2.6 available (or at least the 2.4 versions). Regards, Roger -- Roger Leigh Printing on

Re: menuitems + glade + accelerator keys

2005-10-03 Thread Roger Leigh
he libglade internals to fix it myself. Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -B

Re: menuitems + glade + accelerator keys

2005-10-03 Thread Roger Leigh
rectly from GtkWidgets and doing the UI construction in the object init or ::realize_event stages. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/

sigc++ signals and GSignal

2005-12-15 Thread Roger Leigh
rridden, I might not want the default to run at all. Is this possible? Many thanks, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Pleas

Re: sigc++ signals and GSignal

2005-12-21 Thread Roger Leigh
:SignalProxyNormal::connect (const > sigc::slot_base& slot, bool after) method. I think on reflection I'll be better with just virtual functions. I wanted to mimic GSignal, but since I'm not wrapping a real GSignal, I can't make use of SignalProxyNormal. I'd a

Transparently instantiating derived widgets with Gtk::Builder

2018-04-13 Thread Roger Leigh
Hi folks, I'm currently in the process of updating a 15 year old tutorial¹ to the current GTK+ 3.x release. Part of that is updating the use of libglade to use Gtk::Builder. I have read the documentation about using derived widgets² and the Gtk::Builder documentation³. However, I'm not enti

Re: Treeview signal cursor_changed()

2005-01-31 Thread Roger Leigh
use- > click or keyboard. > > Is there an other signal that can be used to solve this. Glib::RefPtr selection = treeview->get_selection(); selection->signal_changed().connect(...); ... if (selection->get_model().is_null() == false && selection->count_selected_rows()

Re: compiling pixbufs into an executable

2005-02-09 Thread Roger Leigh
uf from it). I recently discovered you could load SVG images as pixbufs, so I've now started using SVG for icons, cursors etc., since they are much nicer to modify and scale. You could also use gdk-pixbuf-csource to generate code direct from SVG. Regards, Roger - -- Roger Leigh

Re: Gtk::Fixed or Gtk::DrawingArea(Porting DBDesigner to c++ & gtkmm)

2005-02-19 Thread Roger Leigh
els. For the palettes and lists on the right, GtkTreeView will do the job. - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign an

Re: Gtk::Fixed or Gtk::DrawingArea(Porting DBDesigner to c++ & gtkmm)

2005-02-19 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bart Verstraete <[EMAIL PROTECTED]> writes: [Please do trim extraneous lines when replying] > Roger Leigh wrote: > For the main display area, a GnomeCanvas would be a good solution. > You can create the tables from a derived G

Re: librsvg

2005-03-15 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Taber <[EMAIL PROTECTED]> writes: > Are there any examples of using librsvg in gtkmm to display a svg > drawing or map ? You can use Gdk::Pixbuf to load an SVG image. librsvg isn't used directly. Regards, Roger

Re: How to install a new "property"?

2005-03-28 Thread Roger Leigh
but these aren't virtual... Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Ple

Re: How to install a new "property"?

2005-03-28 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "Andrew E. Makeev" <[EMAIL PROTECTED]> writes: > Roger Leigh wrote: > >>dzho002 <[EMAIL PROTECTED]> writes: >> >>>how I can install/register the new property (do I need do that at >>>all?)

Re: on-show equivalent

2005-04-29 Thread Roger Leigh
s. You probably want "realize". Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.