Re: [gtk-osx-users] Black screen on ARM based Macs

2022-07-09 Thread Miroslav Rajcic via gtk-osx-users-list
, July 10, 2022 4:54 AM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs Miroslav, There's more than one moving part here: Adwaita-icon-theme and the Adwaita icons built in to Gtk3 itself. It looks to me like there was a bit

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-30 Thread Miroslav Rajcic via gtk-osx-users-list
Miroslav From: john Sent: Thursday, June 30, 2022 6:39 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs Miroslav, The basic problem is that all of those color icons were declared "legacy" by

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-30 Thread Miroslav Rajcic via gtk-osx-users-list
ething similar? Best regards, Miroslav From: gtk-osx-users-list on behalf of Miroslav Rajcic via gtk-osx-users-list Sent: Sunday, June 26, 2022 7:52 PM To: john Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs W

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-26 Thread Miroslav Rajcic via gtk-osx-users-list
Will do, thanks! Best regards, Miroslav From: john Sent: Sunday, June 26, 2022 6:24 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs Miroslav, That's good news, and I tested it here as well

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-26 Thread Miroslav Rajcic via gtk-osx-users-list
of these helped to resolve the issue. Thanks again for your help. Best regards, Miroslav From: gtk-osx-users-list on behalf of Miroslav Rajcic via gtk-osx-users-list Sent: Saturday, June 25, 2022 11:34 AM To: John Ralls Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-25 Thread Miroslav Rajcic via gtk-osx-users-list
Thanks John, will work to fix the issues you've observed. Best regards, Miroslav From: John Ralls Sent: Saturday, June 25, 2022 1:45 AM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs Miroslav

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-24 Thread Miroslav Rajcic via gtk-osx-users-list
Hi John, you can find the installer with new build here: http://notecase.sourceforge.net/temp/notecase-4.6.4pre1.pkg Thanks for the help. Best regards, Miroslav From: john Sent: Friday, June 24, 2022 7:49 PM To: Miroslav Rajcic Cc: gtk-osx-users-list

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-24 Thread Miroslav Rajcic via gtk-osx-users-list
n Sent: Thursday, June 23, 2022 2:30 AM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Black screen on ARM based Macs On Jun 21, 2022, at 9:50 PM, Miroslav Rajcic via gtk-osx-users-list wrote: Hi, several users of my program reported the main application sc

[gtk-osx-users] Black screen on ARM based Macs

2022-06-21 Thread Miroslav Rajcic via gtk-osx-users-list
Hi, several users of my program reported the main application screen being partially black on ARM based Macs (M1) on macOS Monterey. Digging online, it seems that this bug has been known: https://gitlab.gnome.org/GNOME/gtk/-/issues/4342 https://gitlab.gnome.org/GNOME/gtk/-/issues/4395 I've

Re: The Future?

2019-03-09 Thread Miroslav Rajcic
I think the question is a valid one and there is a plenty of evidence of people moving to Qt due to some issues of GTK. Some notable examples: - VLC (https://ubuntuforums.org/showthread.php?t=316155=54b259f2cb2d1a30ca8dc269d0561537) - Wireshark

Re: Fwd: How do I get the number

2018-10-09 Thread Miroslav Rajcic
Hi Igor, you actually need to fetch existing columns from the tree view one by one, until you find a match, something like the code below. Regards,   Miroslav int current = 0; GtkTreeViewColumn  *cur_column =

[gtk-osx-users] Crash when loading icon

2018-06-07 Thread Miroslav Rajcic
Hello, I've managed to build GTK3 stack and bundle the app. Starting the app, at first it looked OK, toolbars with stock icons look OK, working with the app seems fine, but when I started the File Open widget, the app crashes. Crash cause seems to be explained in the following log:

Re: [gtk-osx-users] High Sierra issues

2018-06-04 Thread Miroslav Rajcic
Will try to create a PR soon. Regards, Miroslav From: John Ralls Sent: Saturday, June 2, 2018 9:56 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] High Sierra issues Miroslav, Well, I can easily add your pixman patch

Re: [gtk-osx-users] High Sierra issues

2018-06-03 Thread Miroslav Rajcic
_ From: John Ralls Sent: Thursday, May 31, 2018 11:45 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] High Sierra issues > On May 16, 2018, at 5:50 PM, John Ralls wrote: > > > >> On May 15, 2018, at 11:32 AM, Miroslav Ra

Re: [gtk-osx-users] Latest issues (URL)

2018-06-02 Thread Miroslav Rajcic
Thanks John, I can confirm that this part works OK now. Will give feedback on the rest of the build process in reply to your other email. Regards, Miroslav From: John Ralls Sent: Thursday, May 31, 2018 10:37 PM To: Miroslav Rajcic Cc: gtk-osx-users-list

[gtk-osx-users] Latest issues (URL)

2018-05-30 Thread Miroslav Rajcic
Hi, I've deleted old Jhbuild build and tried to build latest version (few minutes ago) using these commands: curl https://raw.githubusercontent.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh > ./gtk-osx-build-setup.sh chmod +x ./gtk-osx-build-setup.sh ./gtk-osx-build-setup.sh The

Re: gtk_init_with_args behavior

2018-05-20 Thread Miroslav Rajcic
ell <cottr...@wfu.edu <mailto:cottr...@wfu.edu>> wrote: On Sat, 19 May 2018, Miroslav Rajcic wrote: Hi Allin, on Windows, it is advisable to use an API to get the command line parameters as UTF-16, so you don't lose the letters "foreign"

Re: gtk_init_with_args behavior

2018-05-18 Thread Miroslav Rajcic
Hi Allin, on Windows, it is advisable to use an API to get the command line parameters as UTF-16,  so you don't lose the letters "foreign" to your code page. See "CommandLineToArgvW" for more info: https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx Regards,  

[gtk-osx-users] High Sierra issues

2018-05-16 Thread Miroslav Rajcic
Hi, I've tried to build GTK3 64-bit stack using gtk-osx, but got some issues in the process. I am using High Sierra 10.13.4, Xcode 9.3. Added this to .jhbuildrc-custom: setup_sdk(target="10.8") My build process: 1) ./gtk-osx-build-setup.sh 2) jhbuild bootstrap

Re: gtk 2 problem with Gramps in Linux Mint 18 (beta) and ubuntu 16.04

2016-06-22 Thread Miroslav Rajcic
I also noticed, after upgrading my app from older GTK 2.24.x to 2.24.30 (on OS X) that the tree item reordering (gtk_tree_view_set_reorderable) stopped working correctly. So, yes, you are probably seeing a real bug in the code... Regards, Miroslav On 22.6.2016. 20:10, Enno Borgsteede

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-03-04 Thread Miroslav Rajcic
Thanks John. Regards, Miroslav From: John Ralls <jra...@ceridwen.us> Sent: Friday, March 4, 2016 3:54 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets&quo

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-03-04 Thread Miroslav Rajcic
1, 2016 7:07 PM To: Miroslav Rajcic Cc: John Ralls; gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg) > On Mar 1, 2016, at 9:58 AM, Miroslav Rajcic <mraj...@hotmail.com> wrote: > > Thanks. It's nice to see tha

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-03-01 Thread Miroslav Rajcic
Thanks. It's nice to see that I was not imagining things ;-) Regards, Miroslav From: John Ralls <jra...@ceridwen.us> Sent: Tuesday, March 1, 2016 6:02 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users]

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-02-29 Thread Miroslav Rajcic
Hi John, > I don't think that libffi has anything to do with anything, but FWIW I build > 3.0.13 by shelling out after 3.2.1 fails then > cd .. > rm -rf libffi-3.2.1 > tar -xf ../gtk-downloads/libffi-3.0.13.tar.gz > mv libffi-3.0.13 libffi-3.2.1 > ^d >and then re-running configure. That

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-02-29 Thread Miroslav Rajcic
log is given here: http://notecase.sourceforge.net/temp/putty.zip Regards, Miroslav From: John Ralls <jra...@ceridwen.us> Sent: Friday, February 26, 2016 3:58 PM To: Miroslav Rajcic Cc: Christoph Reiter; gtk-osx-users-list@gnome.org Subject: Re: [g

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-02-26 Thread Miroslav Rajcic
Thanks for the tip, will check my .jhbuildrc-custom on Monday at the office. Regards, Miroslav From: John Ralls <jra...@ceridwen.us> Sent: Friday, February 26, 2016 3:58 PM To: Miroslav Rajcic Cc: Christoph Reiter; gtk-osx-users-list@gnome.org S

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-02-26 Thread Miroslav Rajcic
:51 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg) On Thu, Feb 25, 2016 at 1:28 PM, Miroslav Rajcic <mraj...@hotmail.com> wrote: > OK, I opened shell and installed gobject-introspection

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set

2016-02-26 Thread Miroslav Rajcic
Just sent the pull request. Regards, Miroslav From: philip.chime...@gmail.com <philip.chime...@gmail.com> Sent: Thursday, February 25, 2016 6:17 PM To: Miroslav Rajcic; gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Issue with building

Re: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg)

2016-02-25 Thread Miroslav Rajcic
osx-users-list-boun...@gnome.org> on behalf of Miroslav Rajcic <mraj...@hotmail.com> Sent: Thursday, February 25, 2016 1:14 PM To: gtk-osx-users-list@gnome.org Subject: [gtk-osx-users] Issue with building GTK2.x for "modulesets" set (librsvg) Librsvg fails to configure: *** Confi

[gtk-osx-users] Issue with building GTK2.x for "modulesets" set

2016-02-25 Thread Miroslav Rajcic
It seems that ragel package URL is invalid, I got this error text stored as tar.gz file: The requested URL /wp-content/uploads/2014/10/ragel-6.9.tar.gz was not found on this server. New URL for the same package is now: http://www.colm.net/files/ragel/ragel-6.9.tar.gz I hope this helps.

Re: [gtk-osx-users] Support of Older OS X Versions

2016-02-23 Thread Miroslav Rajcic
> I guess there's another option available: Freeze your gtk-osx repo and change > your application moduleset to include the locally-installed gtk-osx.modules > instead of the online > one, or we could add a moduleset that freezes glib at 2.44 and any dependent > packages at the last version

Re: [gtk-osx-users] Pasting images from clipboard

2016-02-12 Thread Miroslav Rajcic
-4 lines). Hunk #3 succeeded at 229 (offset -4 lines). 1 out of 3 hunks FAILED -- saving rejects to file modules/input/imquartz.c.rej From: John Ralls <jra...@ceridwen.us> Sent: Thursday, February 11, 2016 11:11 PM To: Miroslav Rajcic Cc: gtk-osx-u

Re: [gtk-osx-users] crash on maximize/unmaximize

2016-02-12 Thread Miroslav Rajcic
This sounds similar to the crashes reported to me by users of my app (I reported this case on this list in January) where crashes happen only on El Capitan and are related to using app in full screen or new split view. It seems that El Capitan version changed something internally, because

Re: [gtk-osx-users] Pasting images from clipboard

2016-02-10 Thread Miroslav Rajcic
gnal_connect (window1, "destroy", G_CALLBACK (gtk_main_quit), NULL); } int main (int argc, char *argv[]) { gtk_init (, ); create_gui(); gtk_main (); return 0; } From: Gtk-osx-users-list <gtk-osx-users-list-boun...@gnome.org> on behalf of Miroslav Rajcic <

[gtk-osx-users] Pasting images from clipboard

2016-02-09 Thread Miroslav Rajcic
Is pasting images from the clipboard supported in GTK 2.x for OS X? In my app, the same code doesn't work on OS X but works OK on all other platforms (Windows, Linux, BSD, ...). Actual code goes like this: - paste is initialized by call to: GtkClipboard *clipboard =

Re: [gtk-osx-users] Crash issue

2016-01-18 Thread Miroslav Rajcic
Thanks John, will do that. Regards, Miroslav From: John Ralls <jra...@ceridwen.us> Sent: Monday, January 18, 2016 4:01 PM To: Miroslav Rajcic Cc: gtk-osx-users-list@gnome.org Subject: Re: [gtk-osx-users] Crash issue On Jan 17, 2016, at 9:18 PM, Mi

[gtk-osx-users] Crash issue

2016-01-17 Thread Miroslav Rajcic
I got a crash report from a user using my GTK2.x based app , so I though to ask here if anyone can recognize if this is a known issue (never got this before). My app was built using GTK 2.24.28 (built on OSX version 10.7.5, XCode 4.2 (gcc 4.2.1), using modulesets-stable, using jhbuild setting

gtk_print_context_get_hard_margins documentation

2015-12-31 Thread Miroslav Rajcic
I am trying to use gtk_print_context_get_hard_margins API to ensure that my margin settings do not go below printer's hard settings. The API is documented as: "Obtains the hardware printer margins of the GtkPrintContext, in units." My question is: what units are we talking about here? Most

[gtk-osx-users] Upgrade GTK v2.x to latest 2.24.29 ?

2015-12-31 Thread Miroslav Rajcic
It would be nice to update GTK v2.x to the latest release 2.24.29. Regards, Miroslav ___ Gtk-osx-users-list mailing list Gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: How to customize GtkCellRendererCombo ?

2015-12-06 Thread Miroslav Rajcic
. I've tried to ensure that the initialization within on_tree_cell_combo_editing_start is called only once, but this doesn't seem to help ... :( Regards, Miroslav On 6.12.2015. 1:12, Stefan Salewski wrote: On Sat, 2015-12-05 at 16:47 +0100, Miroslav Rajcic wrote: I am trying to customize

Re: How to customize GtkCellRendererCombo ?

2015-12-06 Thread Miroslav Rajcic
nk you very much for your help. Regards, Miroslav On 6.12.2015. 18:19, Stefan Salewski wrote: On Sun, 2015-12-06 at 15:26 +0100, Miroslav Rajcic wrote: Hi Stefan, thank you for the nice idea. I was not really happy with that fix myself. You may have seen http://www.kksou.com/php-gtk2/sample

How to customize GtkCellRendererCombo ?

2015-12-05 Thread Miroslav Rajcic
I am trying to customize GtkCellRendererCombo so that the items in the combo box have different colors. Documentation indicates that this is supposed to be done through "editing-started" signal handler, but I failed to do it. My sample is given below. When gtk_cell_layout_set_cell_data_func or

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-27 Thread Miroslav Rajcic
Hi Yann, On 27.11.2015. 9:40, Yann Leboulanger wrote: On Windows, IMO, the ideal project would have to provide binaries (not just source), probably built with VS2015 and support both GTK2.x and GTK3.x stack. Additional points would be to build gstreamer, GtkSourceView and many other commonly

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-27 Thread Miroslav Rajcic
ne day. But for now, I don't know, it's too early and there is still a lot of stuff to do with current status as you can see. Thank you for feedback! On Fri, Nov 27, 2015 at 8:18 AM, Miroslav Rajcic <supp...@notecasepro.com <mailto:supp...@notecasepro.com>> wrote: Looks nice, it'

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-27 Thread Miroslav Rajcic
Thanks. On 27.11.2015. 9:10, codekiddy wrote: I've just cloned the GtkSourceView from here <https://github.com/GNOME/gtksourceview> I'll try to create solution for VS 2015 and send you a link for download. On Fri, Nov 27, 2015 at 8:50 AM, Miroslav Rajcic <supp...@noteca

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-27 Thread Miroslav Rajcic
to automatize the builds: https://github.com/nacho/icbuild Still far from ready but any help would be appreciated. Cheers. On Fri, Nov 27, 2015 at 8:18 AM, Miroslav Rajcic <supp...@notecasepro.com <mailto:supp...@notecasepro.com>> wrote: Looks nice, it's appreciated very much!

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-26 Thread Miroslav Rajcic
Looks nice, it's appreciated very much! Any chance to add GtkSourceView library in the mix ? Regards, Miroslav On 27.11.2015. 7:59, codekiddy wrote: Hello there! I'm glad to be able to announce new release of Visual Studio 2015 projects and solutions to compile GTK+, Gtkmm, all it's

Re: Announcement of Visual Studio 2015 projects and solutions for Gtkmm and GTK+

2015-11-26 Thread Miroslav Rajcic
7, 2015 at 8:18 AM, Miroslav Rajcic <supp...@notecasepro.com <mailto:supp...@notecasepro.com>> wrote: Looks nice, it's appreciated very much! Any chance to add GtkSourceView library in the mix ? Regards, Miroslav On 27.11.201

Re: Background color of Treeviews with just few rows

2015-10-01 Thread Miroslav Rajcic
light grey, which is more or less what I wanted. Thanks a lot!!! Best Regards JLF El 01/10/2015 a las 6:07, Miroslav Rajcic escribió: Hi Juan, have you tried the proposed code to verify that if works or not, or just guessing? I use that code (plus your code, but it doesn't work on its

Re: GTK+ accessibility

2015-07-17 Thread Miroslav Rajcic
Thanks, this is quite useful info. Regards, Miroslav On 17.7.2015. 5:59, Michael Torrie wrote: F10 seems to focus on the menu on GTK apps. That could be a good workaround in the meantime. ___ gtk-app-devel-list mailing list

Re: GTK+ accessibility

2015-07-16 Thread Miroslav Rajcic
On 15.7.2015. 14:12, Emmanuele Bassi wrote: you probably want to contact the gnome-accessibility team, on gnome-accessibility-l...@gnome.org. Will do as suggested, thanks. Regards, Miroslav ___ gtk-app-devel-list mailing list

Re: GTK+ accessibility

2015-07-15 Thread Miroslav Rajcic
, Miroslav Rajcic wrote: Hi everyone, recently I've received the mail from a blind user of my program complaining about accessibility issues. Program is GTK+ 2.x based, he tried Windows edition. One of the things he mentioned is that pressing Alt key in the main window should cause the first item

GTK+ accessibility

2015-07-15 Thread Miroslav Rajcic
Hi everyone, recently I've received the mail from a blind user of my program complaining about accessibility issues. Program is GTK+ 2.x based, he tried Windows edition. One of the things he mentioned is that pressing Alt key in the main window should cause the first item in the menu bar to

Re: [gtk-osx-users] [Gtk-osx-users] jhbuild issues

2015-05-18 Thread Miroslav Rajcic
Thanks for the info. Regards, Miroslav From: jra...@ceridwen.us Date: Mon, 18 May 2015 07:19:27 -0700 To: gtk-osx-us...@lists.sourceforge.net Subject: Re: [gtk-osx-users] [Gtk-osx-users] jhbuild issues On May 18, 2015, at 3:18 AM, Miroslav Rajcic mraj...@hotmail.com wrote:Solved

Re: [gtk-osx-users] [Gtk-osx-users] jhbuild issues

2015-05-18 Thread Miroslav Rajcic
Solved the issue with gtksourceview, it seems that gtk-mac-integration changed the name of .pc file to: gtk-mac-integration-gtk2.pc. Removing the -gtk2 suffix solved the issue. I guess that gtksourceview library should be patched to use new name for everything to work out of the box. Regards,

Issue with clipboard in Windows

2014-10-09 Thread Miroslav Rajcic
I've implemented custom clipboard handling in my program that allows me to push to clipboard more than one clipboard format in parallel (plain text format plus text/html plus HTML Format on windows etc). My issue is that from time to time I get report from users that they can not paste plain

Re: [gtk-osx-users] Issues when building latest GTK+

2013-10-07 Thread Miroslav Rajcic
Hi John, sorry for delay, I just got a chance to check the fixes today. Everything works fine except that tiny fact that I have to copy the charset.alias manually to the correct location (.alias file gets built correctly). Thank you for your help. Regards, Miroslav Subject: Re:

[gtk-osx-users] Issues when building latest GTK+

2013-10-02 Thread Miroslav Rajcic
Just tried to rebuild latest GTK for OS X using jhbuild. I am using OSX 10.7.5, XCode 4.3.3, building modulesets-stable version of GTK 2.x 32-bit (I've downloaded latest gtk-osx-build-setup.sh from GitHub). Issues this time: 1. cmake fails to build: *** Checking out cmake *** [3/19] curl

[gtk-osx-users] Program crash using GTK-OSX

2013-04-07 Thread Miroslav Rajcic
I got a following crash backtrace from the user of my program: 11:49:30.923 6 libSystem.B.dylib 0x939646e4 abort + 93 () 11:49:30.923 7 libintl.8.dylib 0x013cca7f _nl_load_domain + 95 () 11:49:30.923 8 libintl.8.dylib 0x013cbc4d

[gtk-osx-users] Latest issues with gtk-osx

2013-04-01 Thread Miroslav Rajcic
Just tried to rebuild latest GTK for OS X (tested with GTK2, 32-bit), I am using OSX 10.7.5, building modulesets-stable. Note that I've downloaded latest gtk-osx-build-setup.sh from GitHub. Few issues: 1. jhbuild fails at trying to build cups (read in git commits that it should skip building

Catching typed characters using the key press handler

2012-09-19 Thread Miroslav Rajcic
I am having a problem similar to the one described in the following posts: https://mail.gnome.org/archives/gtk-list/2009-September/msg00066.html https://mail.gnome.org/archives/gtk-list/2009-September/msg00067.html Basically key press event handler passes individual key presses which may not be

Re: Catching typed characters using the key press handler

2012-09-19 Thread Miroslav Rajcic
More info, the same code works fine on Linux Mint. Regards, Miroslav On 9/19/2012 11:24 AM, Miroslav Rajcic wrote: I am having a problem similar to the one described in the following posts: https://mail.gnome.org/archives/gtk-list/2009-September/msg00066.html https://mail.gnome.org/archives

Re: How can I check if a GtkWidget exists?

2012-07-20 Thread Miroslav Rajcic
On 7/20/2012 8:50 AM, Frank Cox wrote: How can I check if a GtkWidget exists? I am planning to create and destroy widgets in a window depending on the user's selections, but I can't figure out how to determine if a particular widget already exists in the window so it won't be created twice or

Re: Can I develop gtk app in Mac OS X ?

2011-12-02 Thread Miroslav Rajcic
Here is a starting point to install GTK on OSX: http://live.gnome.org/GTK%2B/OSX/ And It can running separately from X in OSX? Not yet. Actually you can run it separately from X server, like an ordinary application, when using Quartz backend. What you need is is to check GTK-OSX

Drag and drop drag-motion strangeness

2011-07-19 Thread Miroslav Rajcic
I am trying to use drag-motion signal to add support for some additional drop format testing (using tree view for drop target). But I noticed the following thing: it appears that drag-motion is not fired at all when dragging the data from the external source!? Note that drag-drop handler is

Re: GDK/Cairo question

2011-05-18 Thread Miroslav Rajcic
The source compiles fine and the application runs, but instead of displaying the PNG file, it only shows a black square with no apparent content. Please help me, what am I missing or doing wrong? You are running the program within an loop that does not process GTK events. You need to add a

Re: GTK3 porting problem (clipboard)

2011-03-11 Thread Miroslav Rajcic
GtkTargetEntry targets[] = { {text/html, 0, 0}, {text/plain, 0, 0} }; size_t num_targets = sizeof(targets) / sizeof(targets[]); This would work if I would know the count of the targets in advance. I want to support all possible text formats, so I use gtk_target_list_add_text_targets as

Re: GTK3 porting problem (clipboard)

2011-03-11 Thread Miroslav Rajcic
Maybe you should report the bug about missing accessors so it gets fixed. I've added the bug report here: https://bugzilla.gnome.org/show_bug.cgi?id=644490 Feel free to comment or add suggestions there. Thanks to everyone for the help. ___

Re: GTK3 porting problem (clipboard)

2011-03-11 Thread Miroslav Rajcic
Seems I was blind not to see gtk_target_table_from_list. And maybe I was not alone :-) J. So true :) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GTK3 porting problem (clipboard)

2011-03-10 Thread Miroslav Rajcic
I resolved the majority of the the issues when porting my program from GTK 2.x to GTK 3.x. Unfortunately I still have one issue left: when compiling the program on Feodra 15 alpha (gcc 4.6, GTK3 v3.0.2) I get these errors: ./src/clipboard.cpp:442:38: error: invalid use of incomplete type

Re: GTK3 porting problem (clipboard)

2011-03-10 Thread Miroslav Rajcic
You're right, but this seems odd. In the GTK3 version of the documentation the basic structures GtkTargetEntry and GtkTargetPair are still exposed in the API, and although GtkTargetList is said to be opaque (a) it's unclear why this should be so (it seems to be a trivial composite) and (b) the

How to make the toolbar button flashing

2011-03-01 Thread Miroslav Rajcic
I am trying to make the Pause button flash (or show any similar behaviour similar to that) when the pause state is active. So far I tried many things, but none of these seem to work: - changing the button background color - changing the button stock icon - changing the button relief style

Re: How to make the toolbar button flashing

2011-03-01 Thread Miroslav Rajcic
( GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_widget_show(img1); gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(tool_pause), img1); Thank you for your help. Regards, Miroslav - Original Message - From: James Morris jwm.art@gmail.com To: Miroslav Rajcic raj

Re: gtk-app-devel-list Digest, Vol 81, Issue 20

2011-01-20 Thread Miroslav Rajcic
It appears that GtkSourceCompletionWords provider grabs the words that exist in your text view and offers one of those as completion suggestion once you type a similar word. Correct me if I am wrong, but this is my experience with almost exact code as the one you are using. And the fact that

Scaling pixbuf loses alpha information

2011-01-19 Thread Miroslav Rajcic
I am having a PNG picture with alpha transparency loaded with gdk_pixbuf_new_from_file. If I resize the pixbuf using gdk_pixbuf_scale_simple (GDK_INTERP_BILINEAR) the resulting picture loses alpha information and the picture, inserted within the text view, is displayed with the black

Re: Example of GtkSourceCompletion

2011-01-18 Thread Miroslav Rajcic
As far as I can see GtkSourceCompletion is not obsolete, it has just become part of the GtkSourceView library. See here: http://library.gnome.org/devel/gtksourceview/stable/ I also started looking for the examples of its usage. You can find an example in GtkSourceView code itself and in Anjuta

GTK 2.22 for Windows: the 'hicolor' theme was not found

2010-12-01 Thread Miroslav Rajcic
I am using the latest GTK 2.22 build for Windows found at gtk.org. I've noticed that since this version, when opening GtkFileChooserDialog I get this printout in the terminal: Could not find the icon 'gtk-file'. The 'hicolor' theme was not found either, perhaps you need to

No palette in GtkColorButton

2010-10-11 Thread Miroslav Rajcic
Does anyone know if it is possible to show the palette widgets in the dialog started from GtkColorButton ? GtkColorSelection/GtkColorSelectionDialog widgets support showing the palette, but I can not seem to access this functionality through GtkColorButton widget. Does anyone know a way to

Theme switching

2010-07-09 Thread Miroslav Rajcic
I am trying to write a code to set a custom GTK theme for my program (should affect only my application). The problem is that this sample code works fine on Windows, but not on Linux: char *pszStyle = gtk-theme-name = \HighContrastInverse\\nstyle \custom\ {\nfont_name=Sans 10\n}

Re: Theme switching

2010-07-09 Thread Miroslav Rajcic
Since you are just changing various GtkSettings, it would be better to use the GtkSettings API: g_object_set (gtk_settings_get_default (), gtk-theme-name, HighContrastInverse, gtk-font-name, Sans 10, NULL); Your original approach may not be working

Problems with print preview

2009-12-14 Thread Miroslav Rajcic
I knew that GTK toolkit on Windows has major problems with drawing print preview of a document, but it seems that the new GTK 2.18.x has the same problem on Linux too. Starting with Ubuntu 9.10 and Fedora 12, my print preview code just displays blank pages now :( Note that the same code is

Re: Old gtk app, file open dialog freezes (Ubuntu 9.04)

2009-06-06 Thread Miroslav Rajcic
+0200, Miroslav Rajcic wrote: I had the same problem with my program, and discovered by chance that linking with gio library seems to cause this. When I canged some unrelated code to older GnomeVfs, the file open dialog started to work fine on the new Ubuntu 9.04. Hopefully, the same tip could

Re: Old gtk app, file open dialog freezes (Ubuntu 9.04)

2009-06-06 Thread Miroslav Rajcic
No idea, those methods are documented under glib. Perhaps someone else will know the details. - Original Message - From: Jack Turner ja...@juvul.com To: Miroslav Rajcic raj...@sokrates.hr Cc: gtk-app-devel-list@gnome.org Sent: Saturday, June 06, 2009 1:51 PM Subject: Re: Old gtk app

GtkTextView drag and drop problems

2009-04-07 Thread Miroslav Rajcic
that the same problem exists on Linux too. When dragging the Firefox contents over Clipboard Spy tool, I notice that data formats include CF_TEXT and text/html. Why does not seem to be any format match then (I've registered target for text formats) ? TIA, Miroslav Rajcic

Print preview problems with new gtk 2.16

2009-03-20 Thread Miroslav Rajcic
After upgrading Windows build of gtk (from www.gtk.org) from 2.14.7 to the latest 2.16.0, I've noticed that my print preview code stopped working. When initiated, print preview dialog is displayed, but than it hangs indefinitely with the Preparing message. Note that I've tested, and it is not

Re: Problems with 64bit build for Windows

2009-03-17 Thread Miroslav Rajcic
I seem to have forgotten to upload the gettext_0.17-2_win64 build... It is there (http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ ) now. I think I forgot to use the -machine:x64 switch when building the import library in the -1 package. The -2 one has a correct import library

Problems with 64bit build for Windows

2009-03-16 Thread Miroslav Rajcic
Does anyone use a 64bit Windows build available from gtk.org ? I've installed a latest bundle of this release. Compile of my program works fine, but at the linking phase I get lots of unresolved external symbols related to intl.lib (the lib is correctly added to the list of libraries to link

Re: Problems with 64bit build for Windows

2009-03-16 Thread Miroslav Rajcic
To be precise, the problem here is that the symbol exported is actually _libintl_fprintf. (And the same pattern holds for all other symbols, too, this is not restricted to just libintl.) Overall problem does not seem to be big at all. The only library with a problem seems to be intl.lib. All

Re: how to get a selected filter to save

2009-02-16 Thread Miroslav Rajcic
Something like this: GtkFileFilter *filter = gtk_file_chooser_get_filter(GTK_FILE_CHOOSER(m_pDialog)); if(filter) gchar*szName = gtk_file_filter_get_name(filter); - Original Message - From: frederico schardong frede@gmail.com To: gtk-app-devel-list@gnome.org Sent: Monday,

Re: How to handle files with sizes 32bit?

2009-01-23 Thread Miroslav Rajcic
I myself am using lower level functions like open, read, ... instead of methods that use FILE structure. When opening the file be sure to pass O_LARGEFILE flag. Regards, Miroslav - Original Message - From: Dan Ium dac...@gmail.com To: gtk-app-devel-list@gnome.org Sent: Friday,

Re: Running on Windows?

2008-12-22 Thread Miroslav Rajcic
You can run your application in portable mode, meaning your GTK runtime can be released together with the application. For more details, you can see my Notecase project and its portable version for Windows. (http://sourceforge.net/projects/notecase or http://notecase.sourceforge.net/) It uses

gtk_tree_view_scroll_to_cell does not work ?

2008-12-12 Thread Miroslav Rajcic
anyone confirm the problem ? This seems like a major problem to me, because GtkTreeView is one of the basic components. TIA, Miroslav Rajcic ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Bug in the new GTK 2.14.4 for Windows ?

2008-10-21 Thread Miroslav Rajcic
I've updated my GTK build for Windows from the previous version to the latest GTK 2.14.4. The first thing I've noticed that my print preview stopped working correctly. Now I get the empty white preview window, meaning no text that I draw on it is being displayed. Reverting to the older

Re: Drawing on gtk textview

2008-10-20 Thread Miroslav Rajcic
I had a same problem a while ago with expose drawing, and it turned out that the problem was this: to draw something in your handler, you must use event-window as a pointer to the window that is being drawn, not widget-window or anything else. Once I've made that change, my expose drawing

Re: GtkSourceView build for Windows?

2008-09-14 Thread Miroslav Rajcic
Thanks, I'll try that. Miroslav - Original Message - From: Tor Lillqvist [EMAIL PROTECTED] To: Miroslav Rajcic [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Saturday, September 13, 2008 8:47 PM Subject: Re: GtkSourceView build for Windows? Is there any other way to create

Re: GtkSourceView build for Windows?

2008-09-13 Thread Miroslav Rajcic
- Original Message - From: Tor Lillqvist [EMAIL PROTECTED] To: Miroslav Rajcic [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Friday, September 12, 2008 11:55 PM Subject: Re: GtkSourceView build for Windows? I should mention what happened when I tried that: The program

Re: GtkSourceView build for Windows?

2008-09-13 Thread Miroslav Rajcic
least not with MSVS8. So I had to create an import library for libgtksourceview-2.0-0.dll using pexports and lib instead, which is trivial. Can you explain this in more detail please? I've found the pexports.exe here in this page:

Re: GtkSourceView build for Windows?

2008-09-12 Thread Miroslav Rajcic
be the source of my problems? Does anyone use GtkSourceView successfully on Windows platform? Regards, Miroslav - Original Message - From: Paolo Borelli [EMAIL PROTECTED] To: Miroslav Rajcic [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Monday, September 08, 2008 2:41 PM Subject

Re: GtkSourceView build for Windows?

2008-09-09 Thread Miroslav Rajcic
- Original Message - From: Paolo Borelli [EMAIL PROTECTED] Official gtksourceview windows binaries are available at http://ftp.gnome.org/pub/gnome/binaries/win32/gtksourceview/ and are linked from the download page of gtksourceview web site at http://projects.gnome.org/gtksourceview

GtkSourceView build for Windows?

2008-09-08 Thread Miroslav Rajcic
Does anyone know a good Windows build for GtkSourceView and its dependencies ? I've managed to find only this build: http://code.google.com/p/bpad/wiki/GtksourceviewForWindows When unpacked, it provides .a file instead of .lib format. I could link against that, but then my application crashes

  1   2   >