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
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
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
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
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"
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
it working in my application?
--
Regards
Krzysztof J.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
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
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
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
/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
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
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
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,
e is never
called.
--
Regards
Krzysztof J.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
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()
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
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
, 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
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
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
-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
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
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
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
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
for this function.)
Regards, Krzysztof
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
. 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
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
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
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
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
#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
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
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
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
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
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
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
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
://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
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)
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
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
-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
.
Regards, Krzysztof
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
. 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
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
. 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
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
, 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
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
(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
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
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
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
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
--
.- 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
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
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
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
nobody help me ?
Thanks
Krzysztof Magrel
Registered Linux User #157725
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
-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
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
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
-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
-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
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
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 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
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
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
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
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
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
--
75 matches
Mail list logo