es);
MyWidget *tmp
build.get_widget_derived(name, tmp);
*this = std::move(*tmp);
}
but I'm not sure about the safety of it.
Thanks all,
Roger
¹https://gitlab.com/codelibre/ogcalc/tree/master/gtk/C++
²https://developer.gnome.org/gtkmm-tutorial/stable/sec-builder-using-derived-widgets.html.en
³https://
Hi,
I'm writing a CellRenderer and it is unclear to me how the CellRenderer
tells the related TreeView the size it will require when drawing.
I've seen that there is CellRenderer::set_fixed_size but I don't know if
this is the proper way to achieve this.
Thank you,
--
Roge
On Fri, 17 Nov 2006 13:21:08 +0100 Murray Cumming wrote:
>> What's the recommended way to present a dialog to
>> the user which allows the user to select several
>> file names? FileChooserDialog seems to allow
>> selection of only one filename.
>
>Many interesting methods are in the FileChooser b
What's the recommended way to present a dialog to
the user which allows the user to select several
file names? FileChooserDialog seems to allow
selection of only one filename.
There's a class called FileSelection which seems
to allow selection of multiple filenames but in
the documentation for this
: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
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
Tobias Eberle <[EMAIL PROTECTED]> writes:
> Hello Roger,
>
>> http://bugzilla.gnome.org/show_bug.cgi?id=129846
>>
>> Yes, this is darned annoying. Unfortunately, the libglade maintainer
>> hasn't commented upon it, and I wasn't familiar enough w
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
.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
-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
-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
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
(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
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
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.
-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?)
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
-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
-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
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
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
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()
22 matches
Mail list logo