Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Michael Torrie via gtk-app-devel-list
Is the subject line of this thread a freudian slip? We are definitely moving toward discord, from the complaints! On 03/21/2019 09:33 AM, Emmanuele Bassi via gtk-app-devel-list wrote: > On Thu, 21 Mar 2019 at 02:28, Matthew A. Postiff via gtk-app-devel-list < > gtk-app-devel-list@gnome.org>

Re: The Future?

2019-03-10 Thread Michael Torrie via gtk-list
On 03/09/2019 11:29 PM, Miroslav Rajcic wrote: > IMO, it seems that GTK does not have a coherent strategy when it comes > to toolkit features and a cross-platform usage (i.e. lowering the effort > needed to develop for all major OSes). Nowadays it is mostly focused on > adding shiny things as

Re:

2019-02-20 Thread Michael Gratton
for accessibility, that it can be invoked from both keyboard and mouse, and is used in almost every non-trivial application. In any case, Igor you might find `gdk_event_triggers_context_menu()` helpful? //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.

Re: Moving from mailing lists to Discourse

2019-02-06 Thread Michael Gratton
ssibly still hosted on GNOME infrastructure, depending on the requirements for our sysadmins. Sounds great! Can we get this for other GNOME projects as well? I'd like to use it for Geary. //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjo

Re: Simple question...

2018-07-01 Thread Michael Gratton
for the imaginary, and a single set of buttons to adjust either depending on which is focused? Just making some suggestions, of course. //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.net/> ___ gtk-list mailing list gtk-list@gnome.org

Re: Simple question...

2018-06-29 Thread Michael Gratton
margin, border and padding right down as well. But you really shouldn't do that, unless you're writing an app only yourself will use. :) //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.net/> ___ gtk-list mailing list gtk-list@gno

Re: gtk_init() command-line args

2018-05-15 Thread Michael Gratton
y should be using G[tk]Application, which will call this for you, and aso provides a structured way of handing command line arg parsing. ;) Especially since that (IIRC) the plan for GTK+4 is to remove all GTK-specific command line args anyway. //Mike -- ⊨ Michael Gratton, Percept Wrangler.

Re: Scrolling to a GtkListBoxRow after adding it to a GtkListBox

2018-04-16 Thread Michael Gratton
What about using g_signal_connect_after on size-allocate? Or connecting to map-event signal on that widget? Or spinning on gtk_events_pending() until all are done, then scroll down? Good suggestions, but size-allocate does indeed seem to be the right signal. Thanks for your help! //Mike -- ⊨ Michael

Scrolling to a GtkListBoxRow after adding it to a GtkListBox

2018-04-14 Thread Michael Gratton
to size-allocate on the row usually works, but configure and map either don't work or don't help. Does anyone have any better suggestions? Cheers, //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.net/> ___ gtk-app-devel-list m

Debugging main loop wakeups

2017-11-23 Thread Michael Gratton
() and g_source_iter_next() is the cause of most of Geary's CPU utilisation when it's otherwise idle. I've also tried to use Dunfell, but it fails with some obscure system tap error. Any suggestions? Cheers! //Mike [0] - <https://bugzilla.gnome.org/show_bug.cgi?id=783025#c6> -- ⊨ Michael Gratton, P

Re: Past and future evolution of Gtk+

2017-09-18 Thread Michael Torrie
On 09/18/2017 09:03 AM, Carsten Mattner wrote: > Qt5 and GTK3 both seem to be very hard to write a Hello World > X11 or Wayland window that uses less than 25MB to 30MB. > This is something that can quickly become a problem and > deal breaker if you want to run more than a few GUI applications.

Re: Past and future evolution of Gtk+

2017-09-18 Thread Michael Torrie
On 09/18/2017 07:39 AM, Carsten Mattner wrote: > Ian, Qt and FLTK have GUI builders and FLTK generates code, not markup. > Qt is used heavily with the declarative variant QML in entertainment > systems of cars and such. If QML is something that works for you > and the licensing is compatible, then

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Michael Torrie
On 06/23/2017 12:35 PM, Yuri Khan wrote: > On Sat, Jun 24, 2017 at 1:21 AM, Michael Torrie <torr...@gmail.com> wrote: > >>> I’m on 3.18, and here’s my test application/mockup: >>> >>> http://yurikhan.github.io/images/20170623-gtk-header-bar.p

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Michael Torrie
On 06/23/2017 11:15 AM, Yuri Khan wrote: > What GTK3 version are you on? Could you make a screenshot so I could > see we’re talking about the same thing? Gtk 3.20 here. > > I’m on 3.18, and here’s my test application/mockup: > > http://yurikhan.github.io/images/20170623-gtk-header-bar.png Oh

Re: Header bar: Keyboard accessibility?

2017-06-22 Thread Michael Torrie
On 06/22/2017 12:03 PM, Yuri Khan wrote: > And now for the title question. In this latter scenario, how does the > user access the application menu without having to use a pointing > device? Is every application supposed to implement that? As a > developer, how would I go about that? As a user,

Re: Cross-compiling GTK+, missing icons

2017-05-29 Thread Michael Torrie
On 05/29/2017 03:24 AM, Gerardo Ballabio wrote: > Yes, I managed to build self-contained Windows executables (using GTK+ > 2) that don't need any additional resources to be installed. Just download > the file and run it. I tested with Windows XP and 7, but I expect them > to work on newer Windows

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 10:07 AM, Michael Torrie wrote: > He wants to put just the GTK3 dependencies in a tree > somewhere. To do that simply, he could unpack the GTK3 (and glib2) > binary pacman packages if they could be located. Got it. I think they can be downloaded individually he

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 09:16 AM, pelzflorian (Florian Pelz) wrote: > MSYS2 ships with the pacman package manager. After you have followed the > instructions on the website, launch the MSYS2 shell from the MSYS2 > folder and then this command installs everything you need to run gedit > into a filesystem

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 07:37 AM, Dirk Gottschalk via gtk-app-devel-list wrote: > The only chance is, to grab the DLLs from MinGW via objdump ore some > similar, like recommended and pack them into the applications working > directory, because Windows searches DLLs in its System, System32 > subfolders and

Re: Cross platform development

2017-03-17 Thread Michael Torrie
On 03/17/2017 04:02 PM, Dirk Gottschalk via gtk-app-devel-list wrote: > 1. Which DLLs do i have to copy from the bin directory of MinGW for my > GTK+-Application. I don't want to install MinGW on all Workstations > where the app should rum. AFAIK it is enough to copy the DLLs into the >

Changing cursor in GtkTextView

2017-03-14 Thread Michael K via gtk-list
DOW_TEXT ), helpCursor );    if (helpCursor)          g_object_unref (helpCursor);} but I see no change ???!!!  Can anyone help ? Michael ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Glade architecture change

2017-03-03 Thread Michael Torrie
On 03/03/2017 07:16 AM, LRN wrote: > Does this make sense? Was this already considered during previous Glade > rewrites? If yes, why was it discarded? Thoughts? I'm not sure GTK+'s architecture would even allow glade to operate in a manner like you suggest. Besides that, Glade's instability

Re: Come up with layout like QT in new version

2017-03-03 Thread Michael Torrie
On 03/03/2017 02:53 AM, feyyaz özdemir wrote: > Hello i want to use GTK yy while using c language programming > language python programming language but if I have layout like QT, Is there a question you wish to ask? Unless you ask an understandable question, you will not get a reasonable reply.

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Michael Torrie
On 01/31/2017 05:54 AM, Happy wrote: > > Thanks for the note. Hope the following links work. As you can see the > windows are much different in size as well as the spacing. > > Ubuntu: > https://drive.google.com/file/d/0BxjwKUaYdW_zYnUydWExX2NNdE0/view?usp=s > haring > > Windows: >

Re: Where is the Gnome3 application menu for Cinnamon?

2016-12-20 Thread Michael Gratton
/show_bug.cgi?id=770619 HTH, //Mike -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.net/> ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: CSS to look more like Gtk+ 2

2016-12-19 Thread Michael Torrie
On 12/19/2016 07:39 AM, Nicolas George wrote: > Sorry, despite mostly lurking, I have been around longer than you, and > you are wrong: Gtk+ exists because of Gimp, not Gnome. > > And the policy turned sour about the same time the Gnome developers > overflowed the original Gimp developers. Like

Re: CSS to look more like Gtk+ 2

2016-12-11 Thread Michael Torrie
On 12/11/2016 09:15 AM, Nicolas George wrote: > My searches on the web did not produce anything. I found a GTK3 theme that does a reasonable job of emulating ClearLooks. I can't remember where I found it, but I modified it some time ago (colors mainly) and made it be a GTK3 companion to my

Re: gtk_file_chooser_dialog_new and gtk_file_chooser_native_new very slow on a Windows 10 64-bit PC

2016-12-08 Thread Michael Torrie
On 12/08/2016 10:24 AM, Ian Puleston wrote: > Yep, this was it. I disabled the floppy drive in the BIOS as the poster > there said he did, and the problem went away - now the file chooser dialogs > open immediately. Also the first two paragraphs there almost exactly mirror > the OS and hardware

Re: Can we install a gtk program without root privileges?

2016-12-01 Thread Michael Torrie
On 12/01/2016 08:49 AM, Stefan Salewski wrote: > My Nim editor https://github.com/ngtk3/NEd can be launced from the > directory with the binary by typing > > ./ned file.nim > > For testing that is fine. But to make it work from an arbitrary > directory something like > > # And for making

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Michael Torrie
On 11/29/2016 04:28 PM, pozzugno wrote: > First of all, I'm using Glade 3.20.0 for Windows, installed through > Msys2 project. I don't know if Glade is more stable under Linux OS. In my opinion, GTK is definitely more stable under Linux than Windows. he truth is, 90% of GTK developers (or more)

Re: SpinButton: how to avoid calling signal handler when set_value()

2016-11-02 Thread Michael Torrie
On 11/02/2016 05:19 PM, pozzugno wrote: > It seems pyGObject implementation gives only two "handler block" > functions: handler_block(), that needs the handler_id that I don't have; > handler_block_by_func() that needs the callback to block (the same > problem of your solution, because I have

Re: GTK 3.22 Breaking My Eclipse IDE

2016-10-12 Thread Michael Torrie
On 10/12/2016 09:19 AM, Markus Walther wrote: > Upgrading to GTK 3.22 broke the Preferences window in my Eclipse IDE. It > has also caused strange positioning of the Eclipse splash-screen at startup > and gives a lot of GTK warnings in the console (see attachment). > > Buttons and text inside the

Text in progressbar

2016-10-01 Thread Michael K
I am migrating an application from GTK+2 to GTK+3 and have not been able to resolve two issues. The first is that in my GTK+2 program I was able to show a progressbar with text  displayed in front of the bar (saving screen real estate).I cannot replicate this in GTK-3 unless I create another

Re: Gnome with high resolution display (4k, 27 inch)

2016-09-24 Thread Michael Torrie
On 09/23/2016 05:30 AM, Andrea Giammarchi wrote: > Thanks for sharing your findings, I've updated archibold.io page with this > info. > > Not sure we should file a bug in tweak tool project, I'll try to > investigate how/where but hopefully they are reading this ML too. I've always wondered why

Porting Vala to GTask corner case: GTask w/o a main loop

2016-09-19 Thread Michael Gratton
loop running? Thanks! //Mike [0] - <https://bugzilla.gnome.org/show_bug.cgi?id=763345> -- ⊨ Michael Gratton, Percept Wrangler. ⚙ <http://mjog.vee.net/> ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mail

Re: Gramps 3.4.9 problem with ubuntu 16.04, which may be related to GTK 2.24.30

2016-07-23 Thread Michael Torrie
On 06/29/2016 12:48 PM, Enno Borgsteede wrote: > I know how to compile a GTK version myself, and it's no big issue to add > log statements either, but I don't want to replace the system GTK+ > version 2, because many other applications still depend on it, and I > don't want to corrupt my whole

Re: Farewell

2016-05-20 Thread Michael Torrie
Ahh I see there are other more recent posts that I had not read yet. My apologies. I see that he acknowledged finally that the conclusion people arrived at before (that argv[] isn't populated by default when using assembly on Windows) was correct. That's progress!

Re: Farewell

2016-05-20 Thread Michael Torrie
On 05/09/2016 09:24 AM, Ardhan Madras wrote: > Its been long time since I've posted to gtk-app-devel-list, this is the > best joke ever! > I'd eat my cheap keyboard for other post like this. Indeed. Kudos to the devs and other list posters who patiently tried to help the OP solve what was

Support for CUPS printer instances

2015-10-16 Thread Michael Weghorn
ave worked on an implementation for them and have attached patches to bug 148184 [2]. I would be very grateful if somebody could have a look at them. Best regards, Michael [1] http://www.cups.org/documentation.php/options.html [2] https://bugzilla.gnome.org/show_bug.cgi

Re: Dropping 'fringe' pixbuf loaders

2015-09-24 Thread Michael Natterer
On Tue, 2015-09-22 at 01:20 +0200, Bastien Nocera wrote: > > As for removing those loaders, I'd double-check whether GIMP has > native > support for those (not through a gdk-pixbuf loader), so that at least > some modicum of support is left for those, making it less likely that > we'll crash

Bug 753628 - user options of wrong printer are used

2015-09-04 Thread Michael Weghorn
considered in some way, I apologize for disturbing you with this unnecessary email. I just was not sure and wanted to avoid that nobody is aware of the problem and the proposed patch and it gets "lost" somehow. Best regards, Michael ___ gtk-

Re: g_error_free() warning on null pointer

2015-08-31 Thread Michael McConville
Simon McVittie wrote: > On 16/08/15 20:23, Michael McConville wrote: > > Emmanuele Bassi wrote: > >> You expected the *_free() functions in GLib to be NULL-safe. They > >> aren't, except for g_free(). > > > > g_error_free is. Maybe others too, I haven

Re: g_error_free() warning on null pointer

2015-08-29 Thread Michael McConville
Nicolas George wrote: But maybe I am forgetting another case: can you imagine a code snippet where g_error_free(error) would make sense with error == NULL? I may have already mentioned this, but the simplest example is just adding a g_error_free() at the end of a function when adding a GError*

Re: g_error_free() warning on null pointer

2015-08-29 Thread Michael McConville
Jasper St. Pierre wrote: Michael McConville wrote: Nicolas George wrote: But maybe I am forgetting another case: can you imagine a code snippet where g_error_free(error) would make sense with error == NULL? I may have already mentioned this, but the simplest example is just adding

Re: g_error_free() warning on null pointer

2015-08-16 Thread Michael McConville
to authority in the form of the POSIX and ISO C working groups. Seems like you didn't read all of it then. This came up at least twice: Michael McConville wrote: I wasn't suggesting that it's officially specified. I just think that this aspect of free() is intentional and useful, and that people

Re: g_error_free() warning on null pointer

2015-08-16 Thread Michael McConville
Emmanuele Bassi wrote: Michael McConville wrote: I wasn't suggesting that it's officially specified. I just think that this aspect of free() is intentional and useful, and that people have a reasonable expectation that g_error_free() will conform. No, people don't have a reasonable

Re: g_error_free() warning on null pointer

2015-08-15 Thread Michael McConville
Paul wrote: Michael McConville wrote: Paul wrote: Recently I was re-educated by the Java people that using a null on free is how they regularly force various Java handling routines they rely on SEGFAULT. Is that relevant? This is C, not Java. What do you Java is written in? I'm

Re: g_error_free() warning on null pointer

2015-08-15 Thread Michael McConville
Jasper St. Pierre wrote: Lots of things in GLib fail when passed a NULL pointer, like g_object_unref. I'm talking about free()-family functions specifically, though. They have a POSIX-specified behavior that people expect. The idea is that passing a NULL pointer is probably a sign of a bug

Re: g_error_free() warning on null pointer

2015-08-15 Thread Michael McConville
Christian Hergert wrote: Try g_clear_error(error) instead of g_error_free(error) to get the effect you want. I had discovered this workaround. :-) However, I think it would be really nice if this (very trivial) change were made in glib. For example, with Pidgin we'd either have to replace

Re: g_error_free() warning on null pointer

2015-08-15 Thread Michael McConville
Allin Cottrell wrote: On the one hand, the function is question is specialized, it's not free(), nor g_free(), and no standard mandates that it should accept a NULL pointer as a no-op. Agreed. I wasn't suggesting that it's officially specified. I just think that this aspect of free() is

g_error_free() warning on null pointer

2015-08-15 Thread Michael McConville
If you call g_error_free() on a null pointer, you'll see something like this: (process:345): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed However, POSIX specifies: If ptr is a null pointer, no action shall occur.

Null check in g_hash_table_lookup()

2015-08-15 Thread Michael McConville
Currently, if you pass a null key pointer to g_hash_table_lookup(), it will sometimes segfault in g_str_hash(). This often happened in the Pidgin development tip until we added this check: https://hg.pidgin.im/pidgin/main/rev/7e57fa4513f4 I was running GLib 2.44.1 on OpenBSD 5.8

Re: GTK+ accessibility

2015-07-16 Thread Michael Torrie
On 07/16/2015 01:39 AM, Miroslav Rajcic wrote: 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. F10 seems to focus on the menu on GTK apps. That could be a good

Re: Misconduct of GTK+/glib Bugtracker Admins

2015-06-04 Thread Michael Torrie
On 06/04/2015 01:11 PM, IgnorantGuru wrote: All that needs to be done to fix it is add the traditional location used for fuse mounts to the heuristics - a 5 minute job. Have you submitted a patch then? I have a hard time seeing how any of the devs would refuse a well-written patch that fixes

Re: How to make a GtkButton respond to a key press

2015-03-06 Thread Michael Torrie
On 03/05/2015 09:31 PM, Jim Charlton wrote: I presume you have a callback function connected to the button press event. Just create code to intercept the keyboard event and go to a callback function that sees what key was pressed and then calls the same function that would have been called

Re: How to make a GtkButton respond to a key press

2015-03-06 Thread Michael Cronenworth
On 03/06/2015 08:52 AM, Michael Torrie wrote: No, this is not quite what I am asking for. Capturing keyboard events is fine, but I need the button to click visually, for feedback purposes. Just like what happens if you define the control key shortcut and press that. So the question is either

Re: How to make a GtkButton respond to a key press

2015-03-06 Thread Michael Torrie
On 03/06/2015 08:23 AM, Michael Cronenworth wrote: On 03/06/2015 08:52 AM, Michael Torrie wrote: No, this is not quite what I am asking for. Capturing keyboard events is fine, but I need the button to click visually, for feedback purposes. Just like what happens if you define the control

Re: GTK+_failed installation

2015-01-06 Thread Michael Torrie
On 01/05/2015 03:28 AM, Nabil Ferguen wrote: Dear Team GTK, I would like to install gtk+ (for OOF2D) on ubunto 12.04, and I have successfully installed all packages (pango, glib, gdk-pixbuf, atk) but the compiler fails and sends an error message linked to the atspi-2 package (requires

Font Rendering backends

2014-12-17 Thread Michael Gummelt
, and why might the same font be rendered differently in each application? Is there any way to get emacs to render fonts as well as terminator? Thanks, Michael ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo

Re: State of gdk-pixbuf

2014-10-24 Thread Michael Natterer
On Fri, 2014-10-24 at 13:30 +, Benjamin Otte wrote: So to reiterate, I wish 3 things would happen: - graphic-heavy apps like eog or gthumb would go use Gegl/libgimp. They'd get nice filters for free! libgimp does nothing, it is simply a way for GIMP plug-ins to talk to the GIMP

Re: Understanding accelerators.

2014-10-07 Thread Michael Cronenworth
On 10/07/2014 04:45 AM, Oscar Lazzarino wrote: I'm trying to understand the difference between accelerators and the “key-press-event” signal. Let's say I have a window with just one button quit. I'd like to handle the controloq key event to quit the application. I now I can connect to the top

Re: Understanding accelerators.

2014-10-07 Thread Michael Cronenworth
On 10/07/2014 09:18 AM, Gergely Polonkai wrote: Mnemonics are discouraged by the HIG, and AFAIK they are not displayed by recent GTK versions. From the user's perspective, I think there is no difference. However, if you are using GApplication/GtkApplication, it is easier to register accels,

Re: Custom Titlebar

2014-08-11 Thread Michael Cronenworth
On 08/09/2014 04:25 PM, Mahan Marwat wrote: How can I add a custom titlebar to my GUI application? Are you asking for custom text or a complete replacement with widgets of your own? If the former then it's a simple call. I'll use the C function: gtk_window_set_title( GTK_WINDOW( window ),

Re: Custom Titlebar

2014-08-11 Thread Michael Cronenworth
On 08/11/2014 04:40 PM, David Nečas wrote: Unless you are running someting like Gnome 3(?), this will add a strangely looking thing to the top of your window, but inside. It will not change the title bar which is controlled by the window manager. I've never seen it actually do what is

Re: cursor icon hotspots with PNG

2014-07-14 Thread Michael Natterer
On Mon, 2014-07-14 at 08:35 -0400, Paul Davis wrote: does anyone know of any good (i.e. non-hacky) ways to define/provide cursor icon hotspots with PNG files, the way one can with various other image formats more intended for this purpose? No, but if you find one, please let me know, we have

Re: g_spawn*() on windows

2014-07-03 Thread Michael Cronenworth
On 07/03/2014 08:33 AM, jcup...@gmail.com wrote: Yes, I'm doing that. It all works and I can capture stdout and stderr from the convert.exe I'm running, it's just that I get a very annoying command window flash on the screen each time. If anyone has any ideas about the command window, I'm all

Implementing GObject interfaces in Python

2014-06-25 Thread W. Michael Petullo
Is it possible when using GObject introspection to implement a GObject interface in Python? I have written a GObject interface (in C) called I, along with the following Python code: class MyClass (MyPkg.Iface): def __init__(self): super(MyClass,

Shift-Insert and primary selection

2014-03-27 Thread Michael
Hello, I would like to know, why would GTK use Shift-Insert to paste clipboard. This is not standard: any other program would use it to paste X primary selection. And it breaks interaction with some things, most often terminal emulators. Say, you have a terminal emulator that allows you to

Re: final gtk+maverick battles

2014-02-19 Thread Michael Torrie
On 02/17/2014 05:05 AM, Bric wrote: FWIF: with this drive to keep upgrading, I just lost a critical hour of sleep (I start new class material today and needed to be rested) because I messed up the one and only thing you should NEVER mess up in your system: network (wifi) connection (if

Re: final gtk+maverick battles

2014-02-16 Thread Michael Torrie
On 02/16/2014 04:30 AM, Bric wrote: Nonetheless, I run ./configure in gtk+ git, and I am still getting unmet dependencies: configure: error: Package requirements (glib-2.0 = 2.39.5atk = 2.7.5pango = 1.32.4cairo = 1.12.0 cairo-gobject = 1.12.0 gdk-pixbuf-2.0 = 2.27.1) were

Re: Can't link to Pango

2014-02-13 Thread Michael Cronenworth
Bric wrote: Here is my config.log : http://www.flight.us/misc/gtk_config.log.txt Your log shows your system libraries are mismatched in some way. /usr/local/lib/libpangocairo-1.0.so: undefined reference to `pango_fc_font_create_base_metrics_for_context'

Re: How to re-enable icons in menus?

2014-02-04 Thread Michael Lipp
, being a bit curious about these settings now, is there any kind of reference where those helpful secrets are documented (besides reading the code)? - Michael Am 04.02.2014 01:42, schrieb Matthias Clasen: Hey, you didn't say which environment this struggle is happening in, so I'm just

How to re-enable icons in menus?

2014-02-03 Thread Michael Lipp
to be a feature. Finally, I decided to risk some Wrong list! responses from this list in order to get (hopefully) an authoritative answer how to re-enable the menu icons or (though I hope not) the confirmation that it is impossible. - Michael ___ gtk

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-04 Thread Michael Cronenworth
On 01/04/2014 05:21 PM, Jordan H. wrote: In Glade I've defined column 0 in the list store as a gchararray cell. I even tried forcing the assignment of GtkListStore to GtkTreeView (knowing full well I wouldn't need to) to no avail. I don't get any errors, but the GtkTreeView doesn't reflect the

Re: Delay time to spawn new threads?

2013-11-27 Thread Michael Torrie
On 11/27/2013 08:29 AM, David Buchan wrote: I have written a program which spawns a new thread when the user clicks a button. The new thread does something noticeable immediately after starting, so I know when the thread has begun. What I mean is, if I run that piece of code that is executed

Re: Delay time to spawn new threads?

2013-11-27 Thread Michael Torrie
On 11/27/2013 12:59 PM, David Buchan wrote: Hi Michael, My 32-bit, GTK+2 version does // Secure glib if (!g_thread_supported ()) { g_thread_init (NULL); } at the beginning, and then the thread is spawned via: on_button1_clicked (GtkButton *button1, MyData *data

Re: GtkMenu padding - need an alternative for providing an offset

2013-11-09 Thread Michael Webster
for this. Thanks On Wed, Oct 30, 2013 at 7:36 AM, Michael Webster miketwebs...@gmail.comwrote: For what it's worth, I'm guessing the current behavior is what was intended all along, and we've all been using what was previously an accidental 'feature' to accomplish something (using padding

Re: changing font, color, size, etc. in a GtkEntry

2013-11-06 Thread Michael Cronenworth
Eric Wajnberg wrote: However, as I've mentioned in my original post, functions like pango_font_description_from_string, etc. are not recognized in my coding environment (while I can define pointer to things like PangoFontDescription without problem). This looks weird to me. Is there some

Re: changing font, color, size, etc. in a GtkEntry

2013-11-05 Thread Michael Cronenworth
Eric Wajnberg wrote: I simply want to modify the font, color, size, etc. of the characters entered while they are typed in a GtkEntry. I am coding with GTK 2.24.0. Looking around on the web, I found several possible functions to do that, some of them seem to be specific to GTK3, however. I

Re: GtkMenu padding - need an alternative for providing an offset

2013-10-30 Thread Michael Webster
, Emilio Pozuelo Monfort poch...@gmail.comwrote: Hi, On 30/10/13 01:10, Michael Webster wrote: Apologies if this has been brought up already... This patch: https://git.gnome.org/browse/gtk+/commit/gtk/gtkmenu.c?id=01dc23cdec377c9d9897cc32bf28ec1d241b29fa Is it just me or all

Re: Some widget idea

2013-10-29 Thread Michael Webster
Can't this already be achieved in combination with a GtkEventBox and GtkFrame? On Sun, Oct 27, 2013 at 9:34 AM, narcisse doudieu siewe wambenarci...@yahoo.fr wrote: Hello, I have some idea about a helpfull widget in gtk. the purpose of this widget is to give to the developper an clickable

GtkMenu padding - need an alternative for providing an offset

2013-10-29 Thread Michael Webster
Apologies if this has been brought up already... This patch: https://git.gnome.org/browse/gtk+/commit/gtk/gtkmenu.c?id=01dc23cdec377c9d9897cc32bf28ec1d241b29fa deprecated GtkMenu-horizontal-padding and GtkMenu-vertical-padding, suggesting that CSS padding is used instead. The problem is that

Re: GtkEntry ... change size

2013-10-28 Thread Michael Cronenworth
Mariano Gaudix wrote: I can not change the size to GtkEntry . I am using Gtk 3.6 . I need a GtkEntry small , for my graphic interface . GTK expands widgets to fill space by default so setting widget size has no visible effect. You need to disable expansion. I'll add a

Re: Signal of a button dynamically created

2013-10-28 Thread Michael Cronenworth
Borja Mon Serrano wrote: The point here is: how can I know what button was pressed in order to remove a row? You need to attach to the clicked signal on each button[1]. Each button could call a separate function or you can pass a pointer to different values to know which button is which.

Re: GtkEntry ... change size

2013-10-28 Thread Michael Cronenworth
Mariano Gaudix wrote: ¿ how I disable expansion ? I used the sentences . gtk_widget_set_vexpand (GTK_WIDGET(entry ) , FALSE ) ; gtk_widget_set_hexpand (GTK_WIDGET(entry ) , FALSE ) ; But these sentencesdon't run . I know those are the new GTK3 functions, but I still mainly use

Re: GtkEntry ... change size

2013-10-28 Thread Michael Cronenworth
On 10/28/2013 08:55 PM, Mariano Gaudix wrote: The GtkEntry continuous big . gtk_box_set_child_packing( GTK_BOX( box ), entry,FALSE, TRUE, 0, GTK_PACK_START ); the sentence don't work . You need a widget adjacent to your entry to take up the space you don't want filled by your entry...

Re: Removal of icons in buttons/menus

2013-10-09 Thread Michael Natterer
On 10/09/2013 10:40 PM, Bastien Nocera wrote: On Wed, 2013-10-09 at 22:14 +0200, Olivier Brunel wrote: Ok, but this isn't about a change in GNOME, but in GTK. And the default for those options was still TRUE a few days ago in GTK 3.8 As we're on this subject, I think it's pretty clear, from

Re: Removal of icons in buttons/menus

2013-10-09 Thread Michael Natterer
On 10/10/2013 12:08 AM, Emmanuele Bassi wrote: On 9 October 2013 23:04, Emmanuele Bassi eba...@gmail.com wrote: Bastien, excuse me, but Michael's reference to The GIMP was a hint that GTK (with or without '+' -- no matter), stands for The GIMP Toolkit. GIMP, not GNOME. Proof:

Re: Removal of icons in buttons/menus

2013-10-09 Thread Michael Natterer
On 10/10/2013 01:40 AM, Andrew W. Nosenko wrote: On Thu, Oct 10, 2013 at 1:41 AM, Michael Natterer mi...@gimp.org wrote: On 10/10/2013 12:08 AM, Emmanuele Bassi wrote: On 9 October 2013 23:04, Emmanuele Bassi eba...@gmail.com wrote: Bastien, excuse me, but Michael's reference to The GIMP

Re: GtkCellRenderer for GtkButton or GtkSwitch

2013-05-03 Thread Michael Cronenworth
On 05/03/2013 11:30 AM, D.H. Bahr wrote: Is it possible to display a GtkButton or a GtkSwitch within a TreeView row (that is a GtkCellRenderer of some kind)? Yes, but unfortunately there isn't a convenience function for it. You will have to create a custom renderer.

Re: GtkCellRenderer for GtkButton or GtkSwitch

2013-05-03 Thread Michael Cronenworth
On 05/03/2013 02:29 PM, D.H. Bahr wrote: Ok, does anyone have some working code with similar effects? I've never coded my own widgets before, so I'm not sure how to do so. You can take a look at this page[1], but I cannot vouch for its relevecy with current GTK2 or GTK3. Your question was

Re: _gtk_quartz_framework_init

2013-05-02 Thread Michael Natterer
On Thu, 2013-05-02 at 15:41 +0200, Benjamin Otte wrote: Hey, I recently found this magic call to _gtk_quartz_framework_init() in the Quartz initialization code and after asking people on IRC it seems it's no longer used by anyone (was it ever?). So in my pursuit of code clarity I was

Re: _gtk_quartz_framework_init

2013-05-02 Thread Michael Natterer
On Thu, 2013-05-02 at 08:01 -0700, John Ralls wrote: On May 2, 2013, at 7:29 AM, Michael Natterer mi...@gimp.org wrote: On Thu, 2013-05-02 at 15:41 +0200, Benjamin Otte wrote: Hey, I recently found this magic call to _gtk_quartz_framework_init() in the Quartz initialization code

Re: GTK+3 win32/64 build environment

2013-04-15 Thread Michael Torrie
On 04/13/2013 07:37 PM, tarn...@tarnyko.net wrote: As a majority of you told me it was so easy and effective to cross-compile from Linux, rather than doing it navitely on Windows, I finally felt like trying it. Well, after some hacking... you were right ^^. I extracted my GTK+3

Re: Release of next binary GTK+2 package for Windows?

2013-03-12 Thread Michael Cronenworth
On 03/12/2013 08:24 AM, Serrano Pereira wrote: We are currently using GTK+ 2.24.10 on Windows 7 (the binary package from gtk.org) which is affected by bug 685959 Memory leak on every redraw of a widget which causes our application to crash with an out of memory error. Has the fix been released

Re: switch printer tray during printing

2013-03-11 Thread Michael Cronenworth
to different paper sizes and trays in one go. I have it working for me now without too much pain, but if I ever have an epiphany I'll be sure to share it. Thanks, Michael ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: Is GTK+ a cross-platform toolkit ?

2013-03-04 Thread Michael Torrie
On 03/04/2013 06:03 PM, tarn...@tarnyko.net wrote: (We're speaking policy here, but to support my point in technical terms : - my reusable GTK+3 build environment : http://www.tarnyko.net/repo/gtk3_build_system/ ; - sample bundle I have produced : http://www.tarnyko.net/en/?q=node/20) So

Re: acute + c giving cedilla

2013-02-22 Thread Michael Natterer
On Fri, 2013-02-22 at 12:34 +0100, Mario Frasca wrote: good day Michael, I found your name behind a couple of lines in gtk/gtkimcontextsimple.c and I think they are in mistake. can you have a look at them? the problem has been reported and discussed on ubuntu, I recently filed a bug

Re: parsing bibtex using gscanner

2013-02-21 Thread Michael Torrie
On 02/18/2013 11:15 AM, Rudra Banerjee wrote: On Mon, 2013-02-18 at 19:02 +0100, David Nečas wrote: The best approach to parse a grammar is, you know, using a parser. So anything better then bison? You can write your own parser if you want. Maybe a recursive-descent parser. You will want to

Re: switch printer tray during printing

2013-02-21 Thread Michael Cronenworth
Michael Cronenworth wrote: Does anyone know if GTK allows switching print trays in the middle of a GtkPrintOperation? I tried setting the source to Tray 2 in the request-page-setup signal for the second page, but this did not work. The second page printed to Tray 1 (default). Old message

  1   2   3   4   5   6   7   8   9   10   >