GtkFrame looks different each time the program is started

2016-03-22 Thread Andreas Falkenhahn
n Linux Mint. On Ubuntu I don't see this behaviour. On Ubuntu all GtkFrames look exactly the same and they never change. But on Linux Mint with Adwaita the apparently random change of GtkFrame designs is confusing the heck out of me... Somebody please shed some light onto this! Thanks a lo

Re: GtkFrame looks different each time the program is started

2016-03-22 Thread Andreas Falkenhahn
On 22.03.2016 at 19:17 Emmanuele Bassi wrote: > Hi; > On 22 March 2016 at 18:09, Andreas Falkenhahn wrote: >> This is really confusing the heck out of me. Please take a look at this >> screenshot: >> http://www.falkenhahn.com/tmp/shot.png > Are you sure you linked

Re: GtkFrame looks different each time the program is started

2016-03-22 Thread Andreas Falkenhahn
could give a clue... but maybe > not... Unfortunately, this isn't easily possible because the GUI is programmed using wxWidgets... -- Best regards, Andreas Falkenhahnmailto:andr...@falkenhahn.com ___ gtk-list maili

Re: GtkFrame looks different each time the program is started

2016-03-23 Thread Andreas Falkenhahn
On 23.03.2016 at 01:30 Allin Cottrell wrote: > On Tue, 22 Mar 2016, Andreas Falkenhahn wrote: >> On 22.03.2016 at 20:17 Göran Hasse wrote: >>> Hello, >>> Strange... You can test the behavior by changing the order >>> the widget get realized. >>> I

Computing border size of GtkFrame

2016-03-23 Thread Andreas Falkenhahn
does this mean that gtk_widget_realize() will end up being called on the top-level window which means that the top-level window will be shown very briefly? That's of course something I'd like to avoid... I'm targetting GTK+ 2. Thanks for any suggestions! -- Best rega

Re: Computing border size of GtkFrame

2016-03-23 Thread Andreas Falkenhahn
On 23.03.2016 at 16:52 Igor Korot wrote: > Hi, Andreas, > On Wed, Mar 23, 2016 at 11:34 AM, Andreas Falkenhahn > wrote: >> I need to compute the border sizes of a GtkFrame before the window containing >> that GtkFrame has been realized. Precisely, I need the distances be

GtkFrame looks different each time the program is started

2016-03-27 Thread Andreas Falkenhahn
't see this behaviour. On Ubuntu all GtkFrames look exactly the same and they never change. But on Linux Mint with Adwaita the apparently random change of GtkFrame designs is confusing the heck out of me... Somebody please shed some light onto this! Thanks a lot! -- Bes

Using g_utf8_collate() with gtk_disable_setlocale()

2017-03-09 Thread Andreas Falkenhahn
Thanks! -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Using g_utf8_collate() with gtk_disable_setlocale()

2017-03-26 Thread Andreas Falkenhahn
C's standard locales which many people consider seriously broken. Heck, even Wikipedia says "Most large-scale software forces the locale to "C" (or another fixed value) to work around these problems." ;-) -- Best regards, An

Applying system scale on GTK 2

2018-03-02 Thread Andreas Falkenhahn
it. Still, I'm wondering whether GTK 2 has an inhouse solution for this particular problem because my solution seems rather hackish. Any ideas? -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com ___ gtk-li

GtkFileChooser filter problems

2009-11-20 Thread Andreas Falkenhahn
Hi, I'm having a hard time to get filters to work with the file chooser dialog. It seems that whenever I'm calling gtk_file_chooser_set_filename() before opening the dialog, the file filters are not installed at all. The weird thing is that the filters work fine when I use gtk_file_chooser_set

Re: GtkFileChooser filter problems

2009-11-21 Thread Andreas Falkenhahn
Hi Bert On 21.11.2009 at 11:25 Bert Timmerman wrote: >Hi Andreas, > >Andreas Falkenhahn wrote: >> Hi, >> >> I'm having a hard time to get filters to work with the file chooser >dialog. It seems >> that whenever I'm calling gtk_file_chooser_set

Re: GTK+ for Mac is online

2009-12-26 Thread Andreas Falkenhahn
On 25.12.2009 at 14:23 Janek Buchholz wrote: >GTK+ for Mac is online >http://ftp.imendio.com/pub/imendio/gtk-osx/Gtk-Framework-2.14-LATEST.dmg Is there also a newer version for OS X available? 2.16 or 2.18 maybe? Andreas -- "Remember: It's nice to be important but it's more important to be nice

Re: gtk on win32

2010-03-29 Thread Andreas Falkenhahn
Hi Jorge, On 29.03.2010 at 14:57 Jorge Opaso Pazos wrote: >Hello everybody, > >Can I use GTK and all its dependencies to develop Windows applications at >production level? That is a general question, no about a particular >versions. >I have to make a decision, because a new project I'm participat

GTK on Linux and UTF-8 text

2010-05-04 Thread Andreas Falkenhahn
Hi, I previously worked with GTK only on Windows and the Windows builds of GTK always used UTF-8 for everything. Now I played a bit with GTK on Linux and noticed that it doesn't seem to handle UTF-8 correctly by default. Instead, ISO 8859-1 is used (which should be my locale's default charset). Wh

Re: GTK on Linux and UTF-8 text

2010-05-04 Thread Andreas Falkenhahn
> On Tue, May 04, 2010 at 02:01:45PM +0200, Andreas Falkenhahn wrote: >> I previously worked with GTK only on Windows and the Windows builds of >> GTK >> always used UTF-8 for everything. Now I played a bit with GTK on Linux >> and >> noticed that it doesn&#x

GTK clipboard notification

2010-05-06 Thread Andreas Falkenhahn
Hi, is there a way to get notified by GTK when the flavor type in the clipboard changes? I have an image app here and I'd like to disable my toolbar's paste button whenever there is something other than an image in the clipboard. So I'm wondering if there is any way to get notified when the cl

Re: GTK clipboard notification

2010-05-08 Thread Andreas Falkenhahn
On 06.05.2010 at 18:54 Lucas Hermann Negri wrote: >Hi, > >I'm also looking for a good solution for this task. Looking at the >docs, gtk_clipboard_request_targets() seems to be useful, since it >will call a callback function when a certain clipboard data is ready. Thanks, that did the trick. Gree

Creating an app with optional GTK support

2010-05-14 Thread Andreas Falkenhahn
Hi, I'm currently developing an X11 app and would like to use GTK only for the file chooser dialog. The rest is done entirely in X11. However, the GTK support shall be optional. If GTK is there, then my app will use the GTK file chooser. If GTK is not there, I'll simply ask for a file name using a

Re: Creating an app with optional GTK support

2010-05-14 Thread Andreas Falkenhahn
> Hello. > >> Especially striking is that Ubuntu doesn't have a libglib-XXX.so at all, >> but only a libglibmm-XXX.so! > > I'm not sure why you cannot find it, by all my machines have at least > libglib-2.0.so, libgtk-x11-2.0.so, libgobject-2.0.so ... Are you sure > glib shared object is not presen

Re: Creating an app with optional GTK support

2010-05-14 Thread Andreas Falkenhahn
> On Fri, 2010-05-14 at 12:46 +0200, Andreas Falkenhahn wrote: >> > I'm not sure why you cannot find it, by all my machines have at least >> > libglib-2.0.so, libgtk-x11-2.0.so, libgobject-2.0.so ... Are you sure >> > glib shared object is not present? >> &

Re: Creating an app with optional GTK support

2010-05-14 Thread Andreas Falkenhahn
> Hi. > > >>> >>> As for optional GTK+ support, wouldn't be better to check for GTK+ at >>> configure phase and compile/link your application accordingly? >> >> Not possible because my app is currently not open source. > > Which probably means that you'll be distributing binaries. So you can > comp

Re: Creating an app with optional GTK support

2010-05-16 Thread Andreas Falkenhahn
On 15.05.2010 at 21:14 Stanislav Maslovski wrote: >On Fri, May 14, 2010 at 12:26:00PM +0200, Andreas Falkenhahn wrote: >> Hi, >> >> I'm currently developing an X11 app and would like to use GTK only for >the >> file chooser dialog. > >Are you sure you w

Re: Creating an app with optional GTK support

2010-05-16 Thread Andreas Falkenhahn
On 14.05.2010 at 18:34 Lothar Scholz wrote: >Hello Andreas, > >Friday, May 14, 2010, 12:26:00 PM, you wrote: > >AF> I'm currently developing an X11 app and would like to use GTK only for >the >AF> file chooser dialog. The rest is done entirely in X11. However, the GTK >AF> support shall be optiona