Re: argv revisited

2016-05-02 Thread David Marceau
On 04/30/2016 11:25 PM, Andrew Robinson wrote: > My initial request for help in this forum was that main(argc,argv) only > returned garbage instead of the command line when using the 32-bit version of > GTK+ v3.18 on a 64-bit Windows7 OS. This forum was unable to offer any expert > help or advice

Re: Help with modal dialog

2016-04-22 Thread David Marceau
On 04/21/2016 08:52 PM, Matthew A. Postiff wrote: > I got farther by installing a signal handler that I catch in the > container class/object. Now if I am viewing the dialog, and hit escape, > it closes, the dialog is destroyed, and I can create it again later. > > However, if I mouse click the

Re: argv

2016-04-16 Thread David Marceau
YES there are two different calling conventions used in older win32 applications they push/pop the args in different orders in the assembler part essentially. http://unixwiz.net/techtips/win32-callconv.html 1)PASCAL calling convention(preferred legacy WINAPI calling convention) "The other most

Re: argv

2016-04-16 Thread David Marceau
consciousness and the direction we want the world to go towards. I make these suggestions towards more GNU/Linux and less Microsoft, but in no way did I ever impose anything. Just keep these things in mind when you reflect and make your decisions along the way. Sincerely, David Marceau http://adequatech.ca

Re: argv

2016-04-12 Thread David Marceau
w movq%rax, -8(%rbp) movq-8(%rbp), %rax movq%rax, %rdi callgtk_widget_show callgtk_main movl$0, %eax leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE206: .size main, .-main .ident &qu

Re: Pango linking issue in gtk:

2015-04-23 Thread David Marceau
I noticed you are using linaro tools so you'll want to use the linaro packages for pango. you want sources for pango that target armhf which can be found here: https://releases.linaro.org/13.01/openembedded/sources On 04/23/2015 06:22 AM, mcre...@wowvision.in wrote: Hi All, I am trying to

Re: charset issue on Windows help needed

2014-09-16 Thread David Marceau
No wonder you're lost. You're jumping around using different character systems(Linux UTF-8 Versus Windows UTF-16) and character subsets(full language character 255+ set down to ASCII 127 subset without diacritics) from different operating systems(Linux and Windows). Let's clarify: multi-lingual

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread David Marceau
This will match up with your requirements: https://code.google.com/p/bridgegl/ https://code.google.com/p/bridgegl/source/browse/trunk/application.cpp If the above is too noisy/featureful, then look at the python versions below, then look at the .cc/.cpp later. For static 2d:

Re: GtkApplicationWindow and its menubar

2014-05-11 Thread David Marceau
Test you stuff in python first, then move it to c/c++ if need be. This allows for rapid testing of what you really need to do. Whatever you are trying to do, it is possible, for complete menubar, menus, menuitems on any platform. Windowing APIs for windows, linux, mac all can handle this.

Re: Fwd: Help with GdkWindow size

2014-03-25 Thread David Marceau
windows. In normal cases, this happens transparently, but your case is not normal which is why I am suggesting you look into gdk sources to see what it is doing. Cheers, David Marceau // We want to get MapNotify events XSelectInput(dpy, w, StructureNotifyMask | ExposureMask

Re: Help with GdkWindow size

2014-03-23 Thread David Marceau
exist on the newer os, just to get it running. Cheers, David Marceau ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: [Fwd: dereferencing void *]

2014-03-23 Thread David Marceau
On 03/23/2014 08:36 PM, Joël Krähemann wrote: The following will compile but is it still correct? g_atomic_pointer_set((returnable_thread-safe_data), NULL); http://developer.gimp.org/api/2.0/glib/glib-Basic-Types.html#gpointer typedef void* gpointer;

Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread David Marceau
option 1)Create a top level window, then set_decorated to false. You will have no decorations. option 2)There is the XWindow ChangeProperty() that you pass hints for min/max to be false. You could possibly get the XWindow handle from within the GTK api, then call the Xwindow API to get full

Re: How to locate the 'Gtk-WARNING' line number

2014-02-17 Thread David Marceau
are adamant about seeing the exact source for this warning, it's in the gtk sources. Install the gnome-dbg and anything gtk -dbg. That will help to point to source files and line numbers. Cheers, David Marceau ___ gtk-app-devel-list mailing list gtk

Re: final gtk+maverick battles

2014-02-16 Thread David Marceau
you're done all the upgrading, then you may install the proprietary drivers for nvidia/ati to your heart's content. That will take another hour to download and install. Once all this is done, you'll be up-to-date and your current issues will be resolved. Cheers, David Marceau

Re: final gtk+maverick battles

2014-02-16 Thread David Marceau
On 02/16/2014 03:05 PM, Bric wrote: On 02/16/2014 10:33 AM, David Marceau wrote: On 02/16/2014 06:30 AM, Bric wrote: My old system was, indeed, trashed. An accidental re-boot proved that it wasn't going into GUI mode anymore. Thus, I upgraded, and am now on Ubuntu 12. Now upgrade a few

Re: Can't link to Pango

2014-02-15 Thread David Marceau
Bric, Please install gtkmm-dev. You should also install boost-all-dev. That will bring in all the gtkmm/boost libs along with all the necessary include files for them. After that you should be good to go. Cheers :) David Marceau On 02/15/2014 06:07 AM, Bric wrote: On 02/14/2014 05:13 PM

Re: GUI signals from a thread (GTK+-3.10)

2014-02-15 Thread David Marceau
pointers and thread data don't have to be global. They can be held within classes in order to maintain some namespace organisation and reduce naming conflicts with variables and functions. Cheers :) David Marceau On 02/14/2014 09:51 PM, Valentin But wrote: Greetings gtk-app-devel-list. I'm

Re: Can't link to Pango

2014-02-14 Thread David Marceau
need to do however is to install the necessary dependencies on your computer and do heed the advice to upgrade your computer to the latest os. It is well worth it simply to save your time with older less-secure versions of not only gnome, but all the other packages as well. Cheers, David Marceau

Re: snowloadcount wizard gui in qt, qt for android then in gtkmm(gtk3)

2014-01-28 Thread David Marceau
version will be a lot cleaner once done. https://github.com/omac777/gtksnowloadcount Cheers, David Marceau On 01/24/2014 02:57 PM, David Marceau wrote: I did a small gui that is a wizard reflecting an actual form being used for counting snow disposal trucks which dump snow at different locations

snowloadcount wizard gui in qt, qt for android then in gtkmm(gtk3)

2014-01-24 Thread David Marceau
) with optional attachments -gtkmm for android -gtkmm for ubuntu touch I send positive thoughts for a much brighter future for Gtk in this new year. Cheers, David Marceau http://adequatech.ca ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org