signal for closing app

2016-06-06 Thread Krzysztof
it working in my application? -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

glib - main event loop

2016-03-14 Thread Krzysztof
e is never called. -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

GSource callback

2016-03-30 Thread Krzysztof
a /gpointer/ data. How can I find *my* data? -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: glib - main event loop

2016-03-19 Thread Krzysztof
Thanks Chris. It worked. Does it mean that idle source can be effectively added to global loop only? Can't I have idle source in other contexts? On 03/16/2016 01:46 PM, Chris Vine wrote: On Tue, 15 Mar 2016 20:03:20 +0100 Krzysztof <k...@limes.com.pl> wrote: On 03/15/2016 12:54 AM,

Re: GsourceFuncs.finalize-solved

2016-04-01 Thread Krzysztof
/finalize/ was called after call of /g_source_destroy/ and /g_source_unref/. Only if both were called /finalize/ was too. On 03/31/2016 11:27 PM, Krzysztof wrote: When the /finalize/ member function is called? I can't get it to. -- Regards Krzysztof J

GSource count

2016-04-04 Thread Krzysztof
Is it reasonable to have thousands of sources added to event loop? I mean efficiency of computing. I don't know how this factory of event consuming exactly works. A population of artificial cells may be an example. -- Regards Krzysztof J. ___ gtk

GsourceFuncs.finalize

2016-03-31 Thread Krzysztof
When the /finalize/ member function is called? I can't get it to. -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

loops and contexts

2016-05-06 Thread Krzysztof
Is there a reason to have more than one MainContext or more than one MainLoop? Or is it more appropriate to add event handlers to one application main loop (I mean GtkApplication)? -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org

Re: loops and contexts

2016-05-08 Thread Krzysztof
to create new one? Regards Krzysztof J. On 05/08/2016 03:36 PM, Paul Davis wrote: Also, worth differentiating between 1 main loop per thread + multiple threads, and multiple recursive main loops per thread. Modal dialogs involve a recursive main loop, but it runs in the same thread as the normal

menu question

2016-08-18 Thread Krzysztof
uot;New", "filenew"); appmenu->append_submenu("File", itemnew); set_menubar(appmenu); } The "New" item under File menu is dimmed. What's missing in that code? -- Regards Krzysztof Jasienski ___ gtk-lis

Re: menu question

2016-08-19 Thread Krzysztof
I think it's solved. I changed the name of action to "app.filenew" and it works. There is another question: What to do with the warning "Gtk-WARNING **: GtkMenuBar 0x1586160 is mapped but visible=1 child_visible=1 parent gtkmm__GtkApplicationWindow 0x14c8260 mapped=0"

Gio::Menu question

2016-09-20 Thread Krzysztof
cr->set_line_width ( 10.0 ); // // // draw red lines out from the center of the window // cr->set_source_rgb ( 0.8, 0.0, 0.0 ); // cr->move_to ( 0, 0 ); // cr->line_to ( xc, yc ); // cr->line_to ( 0, height ); // cr->move_to ( xc, yc ); // cr->line_to ( width, yc ); // cr->stroke(); return true; } void SimApp::on_file_menu_close() { std::cout << "(app) File menu close" << std::endl; } -- Regards Krzysztof ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

What class with signals capabilities?

2016-11-28 Thread Krzysztof
Hi, I'd like to make a class with signaling capabilities (receiving and emitting signals) under gtkmm. What class is the best to derive from? Gio::SimpleActionGroup or something else? -- Regards Krzysztof Jasieński ___ gtk-list mailing list gtk

Effective size of drawing area

2016-11-03 Thread Krzysztof
I can actually do all drawing? -- Regards Krzysztof J. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Old Windows-specific bug in GOption

2009-12-29 Thread Krzysztof Kosiński
would favor solution #2, since it's the simplest and least probable to cause confusion, but bug commenters apparently wanted to go with #6. I sent a few patches implementing #6 but they weren't committed. What do others think about this? Regards, Krzysztof Kosiński

Re: Old Windows-specific bug in GOption

2010-01-29 Thread Krzysztof Kosiński
. The default constructor (g_command_line_new) does the right thing for all platforms. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: cross compiling GTK+ on Linux for Windows

2010-06-16 Thread Krzysztof Kosiński
sanctioned way of doing this on Debian? Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

GtkRange API is incomplete

2010-07-27 Thread Krzysztof Kosiński
-changed signal would be emitted if the update policy was GTK_UPDATE_DISCONTINUOUS. Here's the relevant bug report from our tracker. https://bugs.launchpad.net/inkscape/+bug/579932 Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: GtkRange API is incomplete

2010-07-27 Thread Krzysztof Kosiński
. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkRange API is incomplete

2010-07-27 Thread Krzysztof Kosiński
. This prevented undo event coalescing from working. Anyway, thanks for your suggestion, because it pointed me in the right direction. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: AC_MSG_RESULT(patching libtool to fix HIDEOUS BREAKAGE) [was Re:dconf 0.5]

2010-08-04 Thread Krzysztof Kosiński
replacement, rather than wasting time on the current mainstream choices. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: AC_MSG_RESULT(patching libtool to fix HIDEOUS BREAKAGE) [was Re:dconf 0.5]

2010-08-05 Thread Krzysztof Kosiński
of place on this list. Comparing Waf use to version number aliasing is dramatizing. Debian people should get over the assumption that every respectable build system should work like Autotools or CMake. Regards, Krzysztof ___ gtk-devel-list mailing list gtk

[GObject Introspection] Getting style colors using GTK and Python

2010-08-21 Thread Krzysztof Klinikowski
Hello. I need to get colors from used GTK style. Later, using PyGTK I do things like: def get_theme_colors(w = gtk.Window()): w.realize() style = w.get_style() output = {} for i in [base, text, fg, bg]: c = getattr(style, i)[gtk.STATE_NORMAL] output[i] = Color.from_gtk_color(c)

Patch review needed

2011-02-17 Thread Krzysztof Kosiński
://bugzilla.gnome.org/show_bug.cgi?id=522131 Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Glib: a Win32 discussion

2011-04-06 Thread Krzysztof Kosiński
with you on an USB stick: http://portableapps.com/) cannot use it, because they have to store the settings somewhere on the USB stick, not in the registry. It should be possible to use dconf on Windows. Regards, Krzysztof ___ gtk-devel-list mailing list gtk

Re: Glib: a Win32 discussion

2011-04-10 Thread Krzysztof Kosiński
in glib/gspawn-win32-helper.c. http://msdn.microsoft.com/en-us/library/ff770599.aspx Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-23 Thread Krzysztof Kosiński
2011/4/18 Alberto Ruiz ar...@gnome.org: So yeah, .RPM/.DEB is absolutely fine for system level components (platform, shell...). But for applications, I have to say I really don't agree at all that it is the right mechanism, unless you come up with a sandboxed approach for apps installed by the

Re: About gsettings aborting on unkown schemas

2011-05-27 Thread Krzysztof Kosiński
g_settings_try_new as suggested before Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Updated GTK+ 2.24.5 binaries (and bundle)

2011-07-12 Thread Krzysztof Kosiński
the recent automake releases. This makes building from a source checkout (not a tarball) on Windows impossible. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Updated GTK+ 2.24.5 binaries (and bundle)

2011-07-13 Thread Krzysztof Kosiński
going are no longer valid. Looking at the timestamp of the message, it looks like I last tried building Glib from a source checkout some time before this updated Perl was released, so my information was outdated. Regards, Krzysztof ___ gtk-devel-list

Deprecated symbols list

2011-07-20 Thread Krzysztof Kosiński
command. Can I generate the relevant gtk-deprecated-symbols.txt in some automated way from GTK sources? Regards, Krzysztof [1] https://bugs.launchpad.net/inkscape/+bug/367606 [2] http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/GTK%2B ___ gtk

Re: Fwd: Plans for GTK+ Bundles for win32 and win64?

2011-09-09 Thread Krzysztof Kosiński
#Generating_import_libraries_from_DLLs Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: _wstat on Windows (actually stat stuff in general)

2011-09-26 Thread Krzysztof Kosiński
. You can then use it with narrow functions of the Windows API. This will not work if short filename generation is turned off in the registry. I don't know whether it's still turned on by default. Regards, Krzysztof ___ gtk-devel-list mailing list gtk

Re: _wstat on Windows (actually stat stuff in general)

2011-09-26 Thread Krzysztof Kosiński
into the future than possible now. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: _wstat on Windows (actually stat stuff in general)

2011-09-26 Thread Krzysztof Kosiński
by this kind of filename, I would say the former (foreign characters) is much more common. A lot of users have English Windows but have a local keyboard layout and name their documents in their local language (e.g. Russian, Polish) which is not representable in latin1. Regards, Krzysztof

Re: _wstat on Windows (actually stat stuff in general)

2011-09-26 Thread Krzysztof Kosiński
in the file chooser. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: g_filename_to_uri() issue in glib-win32

2012-05-22 Thread Krzysztof Kosiński
for this function.) Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: bugzilla cleanup

2013-02-05 Thread Krzysztof Kosiński
patches) if someone finally decided which way is preferable. https://bugzilla.gnome.org/show_bug.cgi?id=522131 Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Stock Items Deprecation

2013-07-19 Thread Krzysztof Kosiński
to menu items would be removed completely. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Stock Items Deprecation

2013-09-11 Thread Krzysztof Kosiński
so that it did not resemble a directory listing so much, it would be less confusing; but for now I find this feature unusable. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel

Re: Directional Images

2013-10-16 Thread Krzysztof Kosiński
-name-rtl, and if that doesn't exist in the theme, use icon-name. I think this solution is both very simple and adequate. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Removal of icons in buttons/menus

2013-10-16 Thread Krzysztof Kosiński
ever want noun icons to appear here. So this extremely ugly layout is actually *by design*? That's very disappointing. I thought that displaying the menu icons in this absurd place is actually an Ubuntu-specific bug in globalmenu, and will eventually be fixed. Regards, Krzysztof

Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed

2014-06-23 Thread Krzysztof Kosiński
, it may be fixable by using the begin_paint APIs. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed

2014-06-23 Thread Krzysztof Kosiński
an invalidate request once a piece of the drawing has finished rendering, but it will require a nontrivial amount of work. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed

2014-06-23 Thread Krzysztof Kosiński
result to window in the draw signal handler The only problem we have is that the part of the code that does the above is very old (most of it is around 10 years old) and fairly convoluted, so this change will require some effort. Regards, Krzysztof ___ gtk

Re: A Gtk's build system ?

2014-08-06 Thread Krzysztof Kosiński
a file from a script and then compiling it are much easier to implement. Regards, Krzysztof ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: A Gtk's build system ?

2014-08-06 Thread Krzysztof Kosiński
2014-08-06 21:43 GMT+02:00 Colomban Wendling lists@herbesfolles.org: Le 06/08/2014 21:30, Krzysztof Kosiński a écrit : [Waf] does not require silly lists of files to work If that refers to using globs in the build system files, don't. Glob showed on many a situation to be the source

Re: GTK+ 2.0.3 compat with previous 1.2.10

2002-06-02 Thread Krzysztof Krzyzaniak
On Sun, Jun 02, 2002 at 06:58:50PM +0100, Paulo J. Matos wrote: Hi all, I have GTK+ 1.2.10 installed, and I'm willing to update. I wish to know if I remove previous gtk+ version and install 2.0.3, will all apps using gtk+ 1.2.10 work with 2.0.3? Simply answer: no. eloy --

GDK Fonts

2002-07-10 Thread Krzysztof Magrel
How can I convert GdkFont * to char * font? char * means XLFDs font. Function gdk_font_full_name_get doesnot exists (it is deprecated also) in my gdk. Thanks for any help Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL

FW: GDK Fonts

2002-07-10 Thread Krzysztof Magrel
How can I convert GdkFont * to char * font? char * means XLFDs font. Function gdk_font_full_name_get doesnot exists (it is deprecated also) in my gdk. Thanks for any help Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing

RE: Fonts

2002-07-10 Thread Krzysztof Magrel
I'm begginer in gtk, but now I know how to do it. Below is function i wrote to change fonts of elements. element is name of element (for example button1), fontname is fontame in format -misc-*-8...*-iso8859-2, mw is widget to window where is element (for example main window). It works to me. I

GDK Fonts

2002-07-10 Thread Krzysztof Magrel
How can I convert GdkFont * to char * font? char * means XLFDs font. Function gdk_font_full_name_get doesnot exists (it is deprecated also) in my gdk. Thanks for any help Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL

Maximize project

2002-07-10 Thread Krzysztof Magrel
etc.)). How function should I use ? Please help. Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Where is glade2

2002-07-18 Thread Krzysztof Magrel
Where can I get glade2? Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

How can I change color of fonts in GTK 1.2

2002-07-29 Thread Krzysztof Magrel
I've problem like in subject. Please help. Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

RE: How can I change color of fonts in GTK 1.2

2002-07-30 Thread Krzysztof Magrel
-Original Message- From: Jean-Michel OLTRA [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 9:02 PM To: Krzysztof Magrel Subject: Re: How can I change color of fonts in GTK 1.2 On Tuesday 30 Jul 2002, Krzysztof Magrel wrote: It doesn't work for me :(( Use sth like

RE: How can I change color of fonts in GTK 1.2

2002-07-30 Thread Krzysztof Magrel
-Original Message- From: Krzysztof Magrel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 7:20 AM To: 'Jean-Michel OLTRA' Cc: '[EMAIL PROTECTED]' Subject: RE: How can I change color of fonts in GTK 1.2 -Original Message- From: Jean-Michel OLTRA

2 (simple?) questions

2002-08-19 Thread Krzysztof Magrel
widgets (ie.labels, etc). Did someone solve this problems? Thanks Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

RE: 2 (simple?) questions

2002-08-19 Thread Krzysztof Magrel
I have 2 questions. Perhaps someone knows solutions? 1. Is it possible to freeze display (and do something only in memory) and unfreeze after program do what I want? I want to freeze main_window and in this time I wanna show/hide widgets and add elements for lists etc. It takes

how to change a active widget ?

2002-08-20 Thread Krzysztof Magrel
nobody help me ? Thanks Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

RE: 2 (simple?) questions

2002-08-20 Thread Krzysztof Magrel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 8:09 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: 2 (simple?) questions Krzysztof Magrel wrote: 2. How can I

How to block alfanumeric entry

2002-08-28 Thread Krzysztof Magrel
signs ;( . What szhould I do ? Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

How don't let to change focus

2002-08-29 Thread Krzysztof Magrel
How can I don't let to change focus. I wanna to stay in current widget (GtkEntry) until the good value isn't proper. How can I do it ? Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org

Block focus change

2002-08-29 Thread Krzysztof Magrel
How can I not let to change focus. I wanna to stay in current widget (GtkEntry) until the good value isn't proper. How can I do it ? Krzysztof Magrel Registered Linux User #157725 Krzysztof Magrel Registered Linux User #157725 ___ gtk-list mailing

strange error

2002-11-22 Thread Krzysztof Garus
-- .- Krzysztof Garus - http://kolos.math.uni.lodz.pl/~bajcik/ --. | http://kolos.math.uni.lodz.pl/~bajcik/duskc/ - prosz o krytyk :) | ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Problems with fast timeouts

2003-01-04 Thread Krzysztof Dubowik
20microseconds. Is it a bug in GTK+ or am I doing something wrong? I use GTK+ 1.2. Please CC me when you reply to the list. Thanks in advance, -- Krzysztof ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problems with fast timeouts

2003-01-08 Thread Krzysztof Dubowik
kernel, so what's the solution? Where do I learn about realtime scheduling? Regards, -- Krzysztof ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problems with fast timeouts

2003-01-13 Thread Krzysztof Dubowik
the graph at real-time - 1 pixel per 5ms. BR, -- Krzysztof ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problems with fast timeouts

2003-01-13 Thread Krzysztof Dubowik
courses when I went there :-((( Maybe they do it now, but not when I was studying... Regards, -- Krzysztof ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: glib API for iterating the g_hash_table

2004-01-14 Thread Krzysztof Garus
(a, 0); } else a = g_array_new(TRUE, FALSE, sizeof(GQDPair)); g_datalist_foreach(dl, (GDataForeachFunc)on_keyval2GArray, a); return a; } bajcik -- Krzysztof Garus [EMAIL PROTECTED]Linux User 171721 Stronka: http

Re: New widgets and Glade

2004-05-04 Thread Krzysztof Garus
describing custom widgets bajcik -- Krzysztof Garus [EMAIL PROTECTED] Stronka: http://kolos.math.uni.lodz.pl/~bajcik/ Serwis: http://gielda.linux.pl/ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

GOption patch for Windows

2009-01-30 Thread Krzysztof Kosiński
, because on Windows some files which are accessible from other apps will not open in apps using GOption. Regards, Krzysztof Kosiński -- View this message in context: http://www.nabble.com/GOption-patch-for-Windows-tp21747041p21747041.html Sent from the Gtk+ - General mailing list archive

Re: [glib] malloc and bdwgc

2016-01-11 Thread Krzysztof Kosiński
On Jan 11, 2016 7:03 PM, "张海" wrote: > > Yes, but the point of my previous email is that the third-party GC_malloc() might eventually call malloc() itself, and by defining a malloc() in my program, GC_malloc() will again call into my malloc() and then GC_malloc()

Invitation to connect on LinkedIn

2011-09-16 Thread Krzysztof Klinikowski via LinkedIn
LinkedIn Krzysztof Klinikowski requested to add you as a connection on LinkedIn: -- Benoit, I'd like to add you to my professional network on LinkedIn. - Krzysztof Accept invitation from Krzysztof Klinikowski http

compile error in GNOME Builder 3.22.4 https://developer.gnome.org/gtk3/3.24/ch01s02.html

2018-11-16 Thread Krzysztof Sadowski via gtk-devel-list
int main (intargc, char **argv) { GtkApplication *app; int status; app = gtk_application_new ("org.gtk.example", G_APPLICATION_FLAGS_NONE); g_signal_connect (app, "activate", G_CALLBACK (activate), NULL); status = g_application_ru