Re: Applying a TextTag on newly-written Text

2005-06-04 Thread Armin Burgmeier
Hi Andrew, Your piece of code does not help either. I do not think, that the machine itself is too slow, because I tried it on four different boxes (Athlon XP 1700+ with Linux, Athlon 64 3000+ with Linux, another Athlon 64 3000+ running Microsoft Windows and an Apple iBook) and the thing is the

Re: Why can my window not reveive button_press signal?

2005-06-04 Thread Armin Burgmeier
Hi jerry, As Paul Devis said: You have to tell GTK (GDK?) that you wish to handle mouse press events. Use the add_events function from Gtk::Widget. See http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#a2 - Armin ___

Re: gtkglextmm build question under Win32

2005-06-08 Thread Armin Burgmeier
Hi Benoît, some time ago, I compiled gtkglextmm (1.1.0) on Win32 using MinGW and MSYS. I know I had some problems, too, but I was able to fix them. If you are interested, I can give you the resulting import library and DLL. - Armin ___ gtkmm-list

Re: gtkglextmm build question under Win32

2005-06-09 Thread Armin Burgmeier
It would be great, because I realized that I only can build the static lib, even using cygnus as a shell. Let me know how you want to proceed. I zipped the relevant files and uploaded them. Try http://www.arbur.net/code/gtkglextmm/libgtkglextmm-win32.zip Else, I will try to generate a Visual

Re: best way to use multiple windows

2005-07-17 Thread Armin Burgmeier
Hi, my approach to this is to derive such windows from Gtk::Dialog and to add two buttons with Gtk::RESPONSE_OK and Gtk::RESPONSE_CANCEL. To show the dialog, simply do MyDialog dialog(*this, foo, bar); if(dialog.run() == Gtk::RESPONSE_OK) { // Take settings into main app } Gtk::Dialog::run

Re: best way to use multiple windows

2005-07-18 Thread Armin Burgmeier
John Taber wrote: Well, it is heap vs stack - I am not sure which is really better for normal gui applications. But I have always created my dialogs as pointers - it just seems more traditional c++. Isn't that dangerous if exceptions are thrown? Why not let the compiler do the dirty work?

Re: No label in toolbar icon

2005-08-04 Thread Armin Burgmeier
Get the toolbar with Gtk::Toolbar* toolbar = static_castGtk::Toolbar*(ui_manager-get_widget(/ToolBar) ); and disable the display of text by toolbar-set_toolbar_style(Gtk::TOOLBAR_ICONS); - Armin ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: signals with parameters

2005-08-05 Thread Armin Burgmeier
Seems like you want to use sigc::bind like that: hscale-signal_value_changed().connect(sigc::bind(sigc::mem_fun(*this, Application::on_target_hscale_changed), hscale)); The callback function (on_target_hscale_changed), now takes a Gtk::HScale* parameter as last argument. - Armin

Re: how to hide the hide button in titlebar

2005-09-14 Thread Armin Burgmeier
Hi, Gtk::Window *window = new Gtk::Window(); Gdk::Window* gw = dynamic_castGdk::Window*(window); this will most likely result in a NULL pointer causing the program to segfault as soon as it gets dereferenced. The way to get the underlaying Gdk::Window of a Gtk::Widget is to

Re: Q: How do I enable/disable a timed callback during runtime?

2005-09-29 Thread Armin Burgmeier
sigc::connection conn = Glib::signal_timeout(100).connect(sigc::ptr_fun(on_timeout) ); to connect your signal handler to the timeout signal. Then you may just use conn.disconnect() to remove the connection. - Armin ___ gtkmm-list mailing list

Re: TreeView help

2005-11-13 Thread Armin Burgmeier
In fact, I don't even understand very well how multiple selection works. The user does Ctrl+Button1 on each item it wants, then what? When does select_foreach() get called? When does gtk (or X?) that the user is done picking items, and that the action on each item must be triggered? GTK+ does not

Re: Problem with sigc::bind

2005-11-18 Thread Armin Burgmeier
Normally, you tell sigc::bind via the first template argument which argument to bind to and not what type. I do not know whether there is some magic to decide whether to interpret this argument as type or argument number, but you may also try this: m_TreeView.signal_row_activated().connect(

Re: Hidden Columns in Gtk::TreeView

2006-02-22 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 value_custom.h:267: undefined reference to `rythem_pattern::rythem_pattern[in-charge]()' Did you declare a rythem_pattern default constructor but did not implement one (I assume rythem_pattern is the type of the hidden column you want to add)? --

Re: pointer of functions - what a confusing things :-)

2006-03-09 Thread Armin Burgmeier
since I was not able to get the Gtk::TreeView working under Windows (linker error) I guess you already know that you need to pass -Wl,--enable-runtime-pseudo-reloc to the linker to avoid this? I already heard some people complaining that this causes their applications to crash. I wonder if it

Glib option parser: Default arguments are overridden

2006-03-29 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list. When I tried to use the Glibmm wrapper for the glib option parser I recognized that it seems to override default settings an argument was assigned to before calling Glib::OptionContext::parse with zero. I have attached a slightly modified

Re: Glib option parser: Default arguments are overridden

2006-03-29 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Murray Cumming wrote: On Wed, 2006-03-29 at 21:56 +0200, Armin Burgmeier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list. When I tried to use the Glibmm wrapper for the glib option parser I recognized that it seems to override

Re: Table

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Label_initlist_1(Number of occupied states (N_states):\t, Gtk::ALIGN_LEFT), Label_initlist_2(Numbers of variatet states (N_vek):\t, Gtk::ALIGN_LEFT), Label_initlist_3(Index of k-selection (k_index):\t, Gtk::ALIGN_LEFT),

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Murray Cumming wrote: If anybody would enjoy doing it, GTK+ 2.10 in CVS has some new classes that should be wrapped in gtkmm: GtkCellRendererSpin GtkRecentFiles* I would like to have a look at this, but I have to write some final school exams this

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should be able to build gtkmm with jhbuild the same way you did for gtk+. I still had to add cairomm to the gnome-2.16.modules file manually. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla -

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not sure why it didn't work for you, since the gnome moduleset should import the freedesktop one. gtkmm does only depend on glibmm and gtk+, but not on cairomm. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah. Please check that in, with a ChangeLog entry, if you have write access. Sorry, I don't have CVS write access. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 У пон, 03. 04 2006. у 18:14 +0200, Armin Burgmeier пише: I still had to add cairomm to the gnome-2.16.modules file manually. Is it just 'dep package=cairomm /' at the end? Marko Yes, works just fine here. -BEGIN PGP SIGNATURE

Re: New GTK+ classes to wrap

2006-04-03 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Um, I got an error while building it, the example(s) actually: --- text-rotate.cc: In function ‘int main()’: text-rotate.cc:86: error: ‘class Cairo::ImageSurface’ has no member named ‘write_to_png’ make[2]: *** [text-rotate.o] Error 1

Re: New GTK+ classes to wrap

2006-04-05 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So Armin, how are we going to split this, since there will be a RecentChooser base class (who does which half)? If I got it correctly, there are some widgets that implement the GtkRecentChooser interface (GtkRecentChooserDefault,

Re: new files

2006-04-12 Thread Armin Burgmeier
Marko Anastasov wrote: I've done RecentFilter, RecentInfo and RecentManager. With a patch for convert_gtk.m4, that's 7 files. Shall I gzip them and send them here or...? Excellent. Please do put the patch and the new files in a tar.gz and attach it to a bugzilla bug. Bugzilla has been down,

Re: new files

2006-04-12 Thread Armin Burgmeier
Murray Cumming wrote: On Wed, 2006-04-12 at 10:02 +0200, Armin Burgmeier wrote: Marko Anastasov wrote: I've done RecentFilter, RecentInfo and RecentManager. With a patch for convert_gtk.m4, that's 7 files. Shall I gzip them and send them here or...? Excellent. Please do put the patch

Re: Dialogs in GTKmm

2006-04-17 Thread Armin Burgmeier
I would like to have control of the dialog - that is what button was pressed (OK or Cancel) in order to handle the program logic correctly. Thats exactly what a Gtk::Dialog is for. You associate response IDs to the buttons in the dialog's action area and dialog.run() returns the response ID of

Re: Gtk::Image and mouse click

2006-08-08 Thread Armin Burgmeier
Also note that a Gtk::Image derives from Gtk::Misc and therefore has no underlaying GdkWindow of its own. Thus, your callback will never be called. You should add the image into a Gtk::EventBox and connect to the EventBox's button pressed event (as Paul Davis already suggested). signature.asc

Re: Gtk::Entry boxes

2006-08-08 Thread Armin Burgmeier
IIRC, its signal_editing_done() in the CellEditable base class. signal_changed, signal_insert_text and signal_delete_text from the Gtk::Editable base class sound more suitable to me for this purpose. signature.asc Description: This is a digitally signed message part

Re: Moving rows in a TreeStore

2006-09-23 Thread Armin Burgmeier
I've been going over the docs and mailing list archives for gtk and gtkmm. I can't for the life of me figure out how to move a row around a TreeStore. There are two 'move' type methods for TreeStore ( iter_swap and move ) but both of these require that the row must stay in the same level.

Re: g_object_set_data

2006-10-02 Thread Armin Burgmeier
I've come across an interesting use of g_object_set_data() / g_object_get_data(). Looking through the gtkmm source, they don't appear to be wrapped. Is there a standard method for doing something similar in gtkmm? There is Glib::Object::set_data and Glib::Object::get_data. Is this what you

Re: Rotating a Gdk::Pixbuf by degree

2006-11-03 Thread Armin Burgmeier
Hi, the gdkmm reference documentation only speaks of a rotate_simple function of Gdk::Pixbuf, which rotates a Pixbuf by a multiple of 90 degress. How can I rotate a pixbuf by let´s say 30 degree then? I once wrote such code that rotates a pixbuf by a variable amount of degrees. However, I

Re: turning on grid lines in a TreeView

2007-01-03 Thread Armin Burgmeier
Hello, Hi Allen, I've tried for hours to turn on the grid lines in my TreeView but the methods to do so are not w/in the class for some reason. The documentation states 2 methods to do so but neither are actually w/in the the gtkmm library. What version of gtkmm are you using? Grid lines

Re: Ending due to ctrl-c

2007-02-07 Thread Armin Burgmeier
This method works, but like I said, I'm worried about the call to Gtk::Main::quit(). I pondered having a Glib::signal_idle function that checked a boolean flag, but that seemed like less of a good idea. Have you already tried connecting an idle function within the signal handler (which will be

Re: pangoLayout-index_to_pos() error

2007-03-01 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: Im building the string in the on_key_press_event with text.insert(position, 1, event-keyval). You should probably convert the keyval to a unicode character using gdk_keyval_to_unicode first. Greetings, Armin -BEGIN

Re: exe icons

2007-04-01 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dwayne Carter wrote: Hi there, Does anyone know how I can set the icon for the .exe file of my program under windows xp? I've made the .ico, but can't see how to put the 2 together. Can I do this as part of my program? or is there a free

Re: How to remove selected items

2007-04-10 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Caryl wrote: Furthermore, I am going to assume that you have written a function in your class that will serve as the callback slot parameter for Gtk::TreeSelection::selected_foreach_iter. In this callback slot you should make a call to

Re: Program crashes when trying to connect Glib::signal_io

2007-04-15 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucky Luke wrote: Hi, I have a Socket class, which connects the Glib::signal_io signal. But when I run the project, it crashes, with no other information. I'm currently on windows, and I read that Glib uses the select() and poll() functions to

Re: Binding run-time data

2007-05-19 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Germán Diago wrote: Hello. I'm using gtkmm to make a little program. The program has some entries and a button. When the button is clicked, I'd like to get the data inside the entries. So I'd like my on_button_clicked slot to be like this:

Overriding vfuncs with disabled vfunc API

2007-05-27 Thread Armin Burgmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list, is it possible somehow (without creating a new GObject on my own) to override vfuncs when implementing for example a custom Gtk::Container with disabled vfunc API (GLIBMM_ENABLE_VFUNCS not defined)? The documentation says the following:

Re: Waiting for multiple windows

2007-08-30 Thread Armin Burgmeier
On Thu, 2007-08-30 at 22:25 +0100, Robert Pearce wrote: On Wed, 29 Aug 2007 20:42:49 +0100 Edd Dawson [EMAIL PROTECTED] wrote: Currently, when I close the main window, all the pop-ups dissappear because the event loop has finished. Is there any way to keep the initial call to

Re: Trying to compile gtk+ but no success cause glib

2007-10-07 Thread Armin Burgmeier
On Sun, 2007-10-07 at 10:05 +0600, asm asadujjaman wrote: I am trying to actually compile glade3-3.4 so I need to compile loads of other things including glib and gtk+. I have compiled and installed glib-2.14.0 and then trying to configure gtk+. But it says- [CODE] checking pkg-config is at

Re: maemomm: virtual function overrides

2007-11-11 Thread Armin Burgmeier
On Sun, 2007-11-11 at 07:50 +, John Steele Scott wrote: I have a Gtkmm application which uses a custom widget derived from Gtk::DrawingArea. This widget overrides the virtual functions of the parent, such as e.g.: void PlotCanvas::on_realize() { Gtk::DrawingArea::on_realize();

Re: gtkglextmm on Windows

2007-11-18 Thread Armin Burgmeier
On Sun, 2007-11-18 at 12:37 -0500, Bruce Sherwood wrote: (I thought I'd sent this note a day or more ago, but it hasn't shown up on the list; I apologize should this show up twice.) I'm trying to build gtkglextmm on Windows from source using MinGW. There's a binary installer for gtkglext,

Re: wide char string literals to Glib ustring

2007-12-08 Thread Armin Burgmeier
On Sat, 2007-12-08 at 07:03 -0500, Onur Tugcu wrote: Hi, I'm writing my strings hardcoded into the program, so I want to make use of string literals in C++. I think the easiest thing to do is not to use wchar_t at all but directly encode the string literals in UTF-8. When I use gtkmm with

Re: Gtk::Entry end editing signal

2008-01-03 Thread Armin Burgmeier
On Thu, 2008-01-03 at 11:52 +, Pedro Sousa wrote: Hi everyone, In project I'm involved, I need to read data changed from a Gtk::Entry, so I need to use signals in Gtk::Entry for the following events: - When a user press ENTER button - When the user selects another widgets Try

goocanvasmm: Item::get_items_at API

2008-03-11 Thread Armin Burgmeier
I believe the current implementation of Item::get_items_at is wrong: #m4 _CONVERSION(`GList*',`Glib::ListHandle Glib::RefPtrItem ',` $2($3, Glib::OWNERSHIP_NONE)') _WRAP_METHOD(Glib::ListHandle Glib::RefPtrItem get_items_at(double x, double y, const Cairo::RefPtrCairo::Context context, bool

Re: goocanvasmm: Item::get_items_at API

2008-03-11 Thread Armin Burgmeier
On Tue, 2008-03-11 at 18:50 +0100, Murray Cumming wrote: On Tue, 2008-03-11 at 17:19 +0100, Armin Burgmeier wrote: I believe the current implementation of Item::get_items_at is wrong: #m4 _CONVERSION(`GList*',`Glib::ListHandle Glib::RefPtrItem ',` $2($3, Glib::OWNERSHIP_NONE

Re: goocanvasmm: Item::get_items_at API

2008-03-11 Thread Armin Burgmeier
On Tue, 2008-03-11 at 12:56 -0500, Jonathon Jongsma wrote: On 3/11/08, Armin Burgmeier [EMAIL PROTECTED] wrote: I believe the current implementation of Item::get_items_at is wrong: #m4 _CONVERSION(`GList*',`Glib::ListHandle Glib::RefPtrItem ',` $2($3, Glib::OWNERSHIP_NONE

Re: Win32: Getting size of DLLs down for redist with app

2008-03-28 Thread Armin Burgmeier
On Thu, 2008-03-27 at 21:57 -0700, Paul Goins wrote: Hello, This question may be newbie-ish, but oh well, here it goes. I've nearly got my app in good enough shape to bundle up and release, but here's the issue that's bugging me now: my DLL sizes for GTKmm and friends are a tad large...

Re: Win32: Getting size of DLLs down for redist with app

2008-03-29 Thread Armin Burgmeier
On Sun, 2008-03-30 at 00:37 +0900, Paul Goins wrote: Armin Burgmeier wrote: What do you mean by causes nothing but issues? I don't have any problems stripping DLLs (though I don't use the -g flag, and I don't know what it does). Well, if I run a strip command against *.dll to get sizes

Re: How does 'on_key_press_event' work in 'Gtk::Entry' ?

2008-03-30 Thread Armin Burgmeier
On Sun, 2008-03-30 at 13:36 +0200, Søren Hauberg wrote: Hi All, I'm new to GUI programming in general and specifically GTKmm, so bare with me... I'm experimenting with Gtk::Entry, and I would like the following behaviour If the user presses TAB, UP, or DOWN, print the key name to

Re: ComboBox/ComboBoxEntry don't inherit from CellEditable

2008-04-25 Thread Armin Burgmeier
On Thu, 2008-04-24 at 23:27 -0400, Karthik Ganesan wrote: Hi, Shouldn't ComboBox/ComboBoxEntry inherit from CellEditable : The following program verifies it (dynamic casting to CellEditable returns NULL pointers). It should, but this would break ABI. GtkComboBox implements GtkCellEditable

Re: finding original cell background color in TreeView renderer

2008-04-29 Thread Armin Burgmeier
On Tue, 2008-04-29 at 08:49 -0500, Joaquim Schmidlap wrote: I have a TreeView. Each column has a custom rendering callback function, which I use to change the color and formatting of the text in each cell as the data changes. Under certain data conditions, I change the background color

cluttermm: Branch before wrapping 0.7/0.8 API?

2008-06-11 Thread Armin Burgmeier
I intent to wrap new clutter API in cluttermm. The 0.7 version of clutter is not API stable with 0.6, though, meaning we need to change cluttermm API as well. Should I do this in another branch, or should I branch the current trunk before, or can this go into trunk without branching? Thanks,

Re: a TreeModel that's sortable and filterable?

2008-06-14 Thread Armin Burgmeier
On Fri, 2008-06-13 at 18:13 -0500, Joaquim Schmidlap wrote: It looks like TreeModelFilter and TreeModelSort are separate derivations from TreeModel...pity. TreeModelFilter and TreeModelSort have child models. So, if you have some TreeModel A, and you want it sorted, then create a

ANNOUNCE: cluttermm 0.7.0

2008-07-05 Thread Armin Burgmeier
cluttermm provides a C++ API for Clutter (a 3D canvas and items), for use with gtkmm. It is usable, and we'd like to hear about any problems or about anything that is missing. Changes: 0.7.0: * Update to new clutter-0.7 API (Armin Burgmeier, Openismus) * Wrap several remaining classes

Gtkmm Windows Maintainership

2008-07-13 Thread Armin Burgmeier
Hi Cedric, I would like to experiment with building gtkmm and companion libraries on Windows with mingw and MSVC, to eventually take over maintainership of the Windows installer at least temporarily and/or partially. In a mail from April 2008 [1], you proposed to put the installer script into

Re: Glib::spawn on Windows

2008-08-26 Thread Armin Burgmeier
On Tue, 2008-08-26 at 10:30 -0300, Paulo Flabiano Smorigo wrote: Hi everybody, I'm trying to execute a program in my application using the Glib Spawning Proccess library. On linux works perfect but on windows I get a No such file or directory error. The command is:

Re: Glib::spawn on Windows

2008-08-27 Thread Armin Burgmeier
and gtkmm from this two links: http://ufpr.dl.sourceforge.net/sourceforge/gladewin32/gtk-2.12.9-win32-2.exe http://ftp.acc.umu.se/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-runtime-2.10.11-1.exe Thanks again, Paulo Flabiano Smorigo Armin On Tue, Aug 26, 2008 at 11:11, Armin Burgmeier

Re: Glib::spawn on Windows

2008-08-28 Thread Armin Burgmeier
On Thu, 2008-08-28 at 10:07 +0200, Murray Cumming wrote: On Wed, 2008-08-27 at 14:42 -0300, Paulo Flabiano Smorigo wrote: Thanks Armin!! I extract the glib and now works... If there is a problem with some installer, could one of you please make sure that the bug is reported properly. I

Re: gtkmm affected by recent changes to gtk (GdkNativeWindow, gtk_toolbar_[gs]et_tooltips)

2008-09-16 Thread Armin Burgmeier
On Tue, 2008-09-16 at 08:03 -0400, Damon Register wrote: Murray Cumming wrote: Are you showing us the problem or the solution? Could you please be clearer about what the problem is. And if you have a solution, could you Both, I thought... I thought it was reasonably clear but I will

Re: gtkmm affected by recent changes to gtk (GdkNativeWindow, gtk_toolbar_[gs]et_tooltips)

2008-09-18 Thread Armin Burgmeier
On Tue, 2008-09-16 at 14:37 -0400, Damon Register wrote: Armin Burgmeier wrote: I can reproduce the problems you mention when compiling gtkmm against GTK+ 2.14. I feel a little better I filed a bug for this: http://bugzilla.gnome.org/show_bug.cgi?id=552513. In short, I think

Re: gtkmm affected by recent changes to gtk (GdkNativeWindow, gtk_toolbar_[gs]et_tooltips)

2008-09-18 Thread Armin Burgmeier
On Thu, 2008-09-18 at 17:20 -0400, Damon Register wrote: Armin Burgmeier wrote: gtkmm is ABI stable, which means that it must be possible to compile a program against gtkmm 2.12 and run it with gtkmm 2.14. So if we change the signature of a function to have different parameters

Re: Errors building gtkmm 2.12.7 with Visual Studio 2008 (Visual C++ 9.0, vc9)

2008-09-19 Thread Armin Burgmeier
On Fri, 2008-09-19 at 14:07 +0200, André Heynatz wrote: Hi all, I have tried to build gtkmm with MS Visual C++ 9.0 (vc9, Visual Studio 2008). I am using the Visual Studio 2008 Team System Development Edition (behavior similar to the Standard Edition or better for this purpose), but without

Gtkmm Windows installers available

2008-09-25 Thread Armin Burgmeier
Dear gtkmm users, Official All-in-One Windows installers (runtime and development versions) for gtkmm are available again: http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm They contain all files required to build applications using gtkmm with MinGW or MSVC++, including GTK+ binaries. More

Re: Gtkmm Windows installers available

2008-09-26 Thread Armin Burgmeier
/2.14/gtkmm-win32-devel-2.14.1-2.exe Thanks, Armin Armin Burgmeier wrote: Dear gtkmm users, Official All-in-One Windows installers (runtime and development versions) for gtkmm are available again: http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm They contain all files required

Re: spawn_async_with_pipes on windows using mingw (code atached)

2008-09-27 Thread Armin Burgmeier
On Fri, 2008-09-26 at 17:59 -0300, Paulo Flabiano Smorigo wrote: Hi everybody, I'm still trying to compile spawn_async_with_pipes on windows. Now I created a little source that can help to solve the problem. I use the following command to compile (using gtkmm for windows libraries):

Re: Troubles with signal_child_watch

2008-09-28 Thread Armin Burgmeier
On Sat, 2008-09-27 at 23:42 +0200, Fernando Tarín wrote: Hi I'm using the next code to launch a new process but the finished_process function is never executed, can someone help me with this issue? You don't run a mainloop. All timeout handlers, idle handlers and child watches are called from

Re: gtkmm with VS2005 vd2 option

2008-10-03 Thread Armin Burgmeier
On Wed, 2008-10-01 at 15:56 +0200, Stefani Leonardo wrote: I am trying to compile an gtkmm 2.12 program with /vd2 option This C++ sample, compiled with /vd2 option on Visual Studio C++ 2005, // cl /vd2 /Zi /MDd r.cpp #include sstream int main() { std::stringstream *s = new

Re: Gtkmm Windows installers available

2008-10-03 Thread Armin Burgmeier
On Thu, 2008-10-02 at 18:49 -0400, Philip Kovacs wrote: On the Building gtkmm on Windows web page I note the statement: We suggest that you use MSYS to build gtkmm on Windows. This statement can only be be interpreted as: This is meant as: If you want to build gtkmm with MinGW, then we

Re: gtkmm with VS2005 vd2 option

2008-10-03 Thread Armin Burgmeier
On Fri, 2008-10-03 at 18:21 +0200, Stotz Urs (ENT) wrote: On Wed, Oct 01, 2008 at 03:56:35PM +0200, Stefani Leonardo wrote: I am trying to compile an gtkmm 2.12 program with /vd2 option [...] /vd2 is mandatory on gtkmm programs? MSDN say: /vd supports incorrect behavior in an early

Re: Gtkmm Windows installers available

2008-10-03 Thread Armin Burgmeier
On Fri, 2008-10-03 at 18:14 +0200, Murray Cumming wrote: On Fri, 2008-10-03 at 13:55 +0200, Armin Burgmeier wrote: On Thu, 2008-10-02 at 18:49 -0400, Philip Kovacs wrote: On the Building gtkmm on Windows web page I note the statement: We suggest that you use MSYS to build gtkmm

Re: GTKmm Windows - Glibmm KeyFile Problem

2008-10-04 Thread Armin Burgmeier
On Fri, 2008-10-03 at 17:09 -0500, John Hobbs wrote: Hello all, I just started working with Gtkmm on Windows a few days ago, and I can't get Glib::Keyfile to work properly. If the KeyFile doesn't exist, I want to start a config screen and make one. Problem is, I can't catch anything from

Re: Gtkmm Windows installers available

2008-10-04 Thread Armin Burgmeier
On Fri, 2008-10-03 at 15:13 -0400, Jam wrote: Damon Register wrote: Jamiil wrote: Before installed the the bellow suggested gtkmm installer I did a compilation of a small application I am working on, however, after installing your 'installer', I am getting a lot of compilation errors.

Re: Gtkmm Windows installers available

2008-10-04 Thread Armin Burgmeier
On Sat, 2008-10-04 at 06:15 +0200, Murray Cumming wrote: On Fri, 2008-10-03 at 22:50 +0200, Armin Burgmeier wrote: Yes. We will have to think of a naming convention for those binaries. gtkmm-2.4-vc9.dll? (in contrast to gtkmm-2.4.dll for VS 2005, which we might then rename to gtkmm-2.4-vc8

Re: Gtkmm Windows installers available

2008-10-04 Thread Armin Burgmeier
On Fri, 2008-10-03 at 18:06 -0400, Philip Kovacs wrote: * Murray Cumming [EMAIL PROTECTED] [2008-10-03 18:14:15 +0200]: The MSVC++ DLLs have been built with Visual C++ 2005 and are linked to the MS C/C++ runtime DLLs: MSVCR80.DLL / MSVCP80.DLL. It's a Wiki. Feel free to

Re: Gtkmm Windows installers available

2008-10-07 Thread Armin Burgmeier
On Mon, 2008-10-06 at 18:25 +0200, Murray Cumming wrote: On Mon, 2008-10-06 at 12:05 +0200, Armin Burgmeier wrote: On Sun, 2008-10-05 at 16:46 -0400, Philip Kovacs wrote: I am not a big fan of installers as they write to the registry. I prefer zip archives that have no such side

Re: Gtkmm Windows Runtime Installer - Silent Option

2008-10-11 Thread Armin Burgmeier
On Fri, 2008-10-10 at 11:43 -1000, John Hobbs wrote: Hello, I am looking to deploy the Windows runtime installer in silent mode, but it doesn't set the PATH when you do that. I am running: gtkmm-win32-runtime-2.14.1-2.exe /S /D=C:\Program Files\gtkmm Is there a flag I can use to make

Re: Gtkmm Windows installers available

2008-10-12 Thread Armin Burgmeier
On Sat, 2008-10-04 at 11:40 +0200, Armin Burgmeier wrote: On Sat, 2008-10-04 at 06:15 +0200, Murray Cumming wrote: On Fri, 2008-10-03 at 22:50 +0200, Armin Burgmeier wrote: Yes. We will have to think of a naming convention for those binaries. gtkmm-2.4-vc9.dll? (in contrast to gtkmm-2.4

Re: windows uninstaller not pruning libxml2

2008-10-13 Thread Armin Burgmeier
On Mon, 2008-10-13 at 14:30 -0400, Philip Kovacs wrote: Just a few libxml2 paths remained after using Windows uninstall. You might want to check that. gtkmm gtkmm/include gtkmm/include/libxml2 gtkmm/include/libxml2/libxml (This is the older installer from about 2 weeks ago, i.e. before

Re: Gtkmm Windows Runtime Installer - Silent Option

2008-10-13 Thread Armin Burgmeier
On Mon, 2008-10-13 at 04:39 -1000, John Hobbs wrote: Clearly I must not understand what's going on, perhaps you can clear this up for me. Say I have 10 different favorite Gtkmm apps that I really want to install on my Windows machine, because they are great pieces of software. So I go

Re: memory management with glibmm giomm

2008-10-14 Thread Armin Burgmeier
On Tue, 2008-10-14 at 20:04 +0200, nico wrote: Hello, One week ago, I sent an email about a leak of memory of a program that list files of a directory (using giomm). My program was inspired by an official sample code (that we can get here:

Re: windows uninstaller not pruning libxml2

2008-10-15 Thread Armin Burgmeier
On Mon, 2008-10-13 at 20:49 +0200, Armin Burgmeier wrote: On Mon, 2008-10-13 at 14:30 -0400, Philip Kovacs wrote: Just a few libxml2 paths remained after using Windows uninstall. You might want to check that. gtkmm gtkmm/include gtkmm/include/libxml2 gtkmm/include/libxml2/libxml

Re: memory management with glibmm giomm

2008-10-15 Thread Armin Burgmeier
On Tue, 2008-10-14 at 22:37 +0200, nico wrote: You should never need to call unreference() yourself. If this fixes the memory leak problem, Yes, it solve my problem. Now the memory usage is stable and 700Kb. Without this unref the memory usage is growing up (very quickly, for

Re: comments on the gtkmm -vcXX- naming convention

2008-10-15 Thread Armin Burgmeier
On Wed, 2008-10-15 at 13:33 -0400, Philip Kovacs wrote: I installed the latest gtkmm Windows development package and I have some comments. From the point of view of application developers who require gtkmm as a dependency, this new -vcXX- naming convention for the import libraries is a

Re: comments on the gtkmm -vcXX- naming convention

2008-10-15 Thread Armin Burgmeier
On Wed, 2008-10-15 at 15:04 -0400, Philip Kovacs wrote: * Armin Burgmeier [EMAIL PROTECTED] [2008-10-15 20:25:22 +0200]: On Wed, 2008-10-15 at 13:33 -0400, Philip Kovacs wrote: I installed the latest gtkmm Windows development package and I have some comments. From the point

Re: Console screen from spawn_process

2008-10-16 Thread Armin Burgmeier
On Thu, 2008-10-16 at 10:15 -0200, Paulo Flabiano Smorigo wrote: Hi everyone, I'm developing an application to run on Windows and uses spawn_process to run a command. I use the -mwindows paramenter to avoid the console screen but when I use the spawn the screen appears. The title of this

Re: Console screen from spawn_process

2008-10-18 Thread Armin Burgmeier
On Thu, 2008-10-16 at 15:01 -0200, Paulo Flabiano Smorigo wrote: Hi Armin, Thanks for the fast reply! I compile the child process with the -mwindows parameter but the problem is that I need to communicate with the child using stdin and stdout by the method spawn_process_with_pipes but

Re: gtkmm on Windows: Last steps

2008-10-19 Thread Armin Burgmeier
On Sun, 2008-10-19 at 15:40 +0200, Murray Cumming wrote: It looks like we are almost done with the gtkmm on Windows effort. I have just a couple of questions: 1. http://live.gnome.org/gtkmm/MSWindows says make sure the Add the gtkmm runtime directory to the PATH variable option is

Re: gtkmm on Windows: Last steps

2008-10-19 Thread Armin Burgmeier
On Sun, 2008-10-19 at 16:36 +0200, Armin Burgmeier wrote: 4. Would someone like to update this section in the gtkmm book (in the gtkmm-documentation module in svn), and just refer to the live.gnome.org page where appropriate, instead of repeating: http://www.gtkmm.org/docs/gtkmm-2.4/docs

Re: Using gtkmm with Visual C++ and _SECURE_SCL=0

2008-10-20 Thread Armin Burgmeier
On Mon, 2008-10-20 at 11:11 +0200, Thomas Frank wrote: Hallo Armin. Thanks a lot for your response. 1. In Visual-C++ the _SECURE_SCL-flag enables some special security checks within the STL-Container-templates. This means among others that the base-classes for all iterators get an

Re: gtkmm on Windows: Last steps

2008-10-20 Thread Armin Burgmeier
On Mon, 2008-10-20 at 10:24 +0200, Murray Cumming wrote: On Sun, 2008-10-19 at 16:36 +0200, Armin Burgmeier wrote: On Sun, 2008-10-19 at 15:40 +0200, Murray Cumming wrote: It looks like we are almost done with the gtkmm on Windows effort. I have just a couple of questions: 1

Re: tutorial for netbeans and code-blocks

2008-10-20 Thread Armin Burgmeier
On Mon, 2008-10-20 at 11:29 +0200, Martin (OpenGeoMap) wrote: Murray Cumming escribió: On Sun, 2008-10-19 at 21:50 +0200, Martin (OPENGeoMap) wrote: Hi: I hace added a little tutorial for GTKMM, netbeans and code-blocks with many pics ;-) ;-) .

Re: Console screen from spawn_process

2008-10-20 Thread Armin Burgmeier
On Mon, 2008-10-20 at 17:18 -0200, Paulo Flabiano Smorigo wrote: Hi Armin, Thanks for the reply and the code. I saw it and notice that you don't use the stdin of the spawn process. In my program I will need this. You sad that even if I compile with -mwindow I will have stdin and stdout.

Re: tutorial for netbeans and code-blocks

2008-10-20 Thread Armin Burgmeier
On Mon, 2008-10-20 at 17:40 +0200, Martin (OPENGeoMap) wrote: Armin Burgmeier escribió: On Mon, 2008-10-20 at 11:29 +0200, Martin (OpenGeoMap) wrote: Murray Cumming escribió: On Sun, 2008-10-19 at 21:50 +0200, Martin (OPENGeoMap) wrote: Hi: I hace added

Re: gtkmm on Windows: Last steps

2008-10-21 Thread Armin Burgmeier
On Mon, 2008-10-20 at 12:02 +0200, Murray Cumming wrote: On Sun, 2008-10-19 at 19:49 +0200, Armin Burgmeier wrote: On Sun, 2008-10-19 at 16:36 +0200, Armin Burgmeier wrote: 4. Would someone like to update this section in the gtkmm book (in the gtkmm-documentation module in svn

Re: gtkmm on Windows: Last steps

2008-10-26 Thread Armin Burgmeier
On Sun, 2008-10-26 at 15:04 +0100, Murray Cumming wrote: On Sun, 2008-10-26 at 12:37 +0100, Armin Burgmeier wrote: 1.2 I thought that applications would find the DLLs because they are in the same directory. Why is something in the PATH environment variable also

Re: gtkmm on Windows: Last steps

2008-10-26 Thread Armin Burgmeier
On Sun, 2008-10-26 at 16:15 +0100, Murray Cumming wrote: On Sun, 2008-10-26 at 15:25 +0100, Armin Burgmeier wrote: [snip] I checked. I was wrong. When running out of the IDE, the PATH variable doesn't need to be set to the gtkmm DLL directory. It's only required when running

Re: Cannot build static libraries under mingw

2008-11-10 Thread Armin Burgmeier
On Sun, 2008-11-09 at 21:16 +0400, Alexander Shaduri wrote: Hello, I'm having trouble building static glibmm with mingw cross-compiler (linux build, windows target). No problems with shared DLLs so far. The configure line is ./configure --disable-shared --enable-static

  1   2   3   >