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> wrote

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 wrote: > >>> I’m on 3.18, and here’s my test application/mockup: >>> >>> http://yurikhan.github.io/images/20170623-gtk-header-bar.png >> >> Oh I see. Yes th

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 I

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, wha

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 tree

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 in

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 > application

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: > https://drive

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) a

Re: GTK+ 2 and prelight

2016-11-16 Thread Michael Torrie
On 11/15/2016 08:10 AM, Gabriele Greco wrote: > It's a functional behaviour, not only aesthetics since a toggle button in > prelight state can be both active or not, but you can't see its state until > you move the mouse pointer... That seems to depend on the theme. I use a modified ClearLooks th

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 di

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 clearly

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/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 happ

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 cal

How to make a GtkButton respond to a key press

2015-03-05 Thread Michael Torrie
Maybe I'm just not reading right, but I cannot figure out how to make a GtkButton respond to a single key press. For example, if I made a simple calculator like the one that comes with Gnome, how can I make it so when I press '1' on my keyboard, the 1 button presses. I know how to make shortcuts

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

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.

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: 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 execute

Re: Updating GUI during long operation

2013-04-25 Thread Michael Torrie
On 04/25/2013 08:04 PM, Kip Warner wrote: > Hey Chris. Your message was not very useful again, but thanks anyways. > As you realized after, the problem may be too many graphical related > events through the main loop. I will try adjusting the animation's > framerate and seeing if I can get the work

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 t

Re: GUI freezes waiting for callback function to return

2012-12-16 Thread Michael Torrie
On 12/15/2012 11:08 AM, Mateusz Marzantowicz wrote: > Very valuable articles and blog posts. > > Now I know that threading in GUI apps (using GTK+) is much harder then I > originally thought it is. Although my use case is very simple I must > employ complicated threading machinery. I'm playing wit

Re: GTK+3 fonts

2012-10-21 Thread Michael Torrie
On 10/21/2012 01:58 PM, Roger Davis wrote: > % fc-match Sans > DejaVuSans.ttf: "DejaVu Sans" "Book" > > And if I put them back, things are restored as before: > > % fc-match Sans > Vera.ttf: "Bitstream Vera Sans" "Roman" > > Can anyone explain how this works? Is there some complicated font > pa

Re: GTK+3 fonts

2012-10-21 Thread Michael Torrie
On 10/21/2012 04:16 AM, Roger Davis wrote: > Any explanation for these mysteries, or any pointers to some decent > documentation on Gnome 2/3 font configuration and installation? If you are using Gtk+3 with the native/quartz backend, then the fonts it uses are coming from the native OS X font sys

Re: Best way to busy-wait in Python 3 / Gtk+ 3?

2012-10-12 Thread Michael Torrie
On 10/10/2012 06:17 AM, Filip Lamparski wrote: > Thanks, your method works. However, it still takes the program quite a bit > to load up, and my problem is that I want display the window as soon as > possible. If that helps, here is how the program loads up: > Script starts > The window is construc

Re: Best way to busy-wait in Python 3 / Gtk+ 3?

2012-10-07 Thread Michael Torrie
On 10/07/2012 08:41 PM, Simon Feltman wrote: > On Sun, Oct 7, 2012 at 12:29 PM, Filip Lamparski > wrote: >> On 7 October 2012 12:58, wrote: >> >>> To have the load in another process, use a pipe to send worker results >>> back to the main process, and add the pipe to your gtk main loop as an >>>

Re: gtk apps on iOS/Android?

2012-09-10 Thread Michael Torrie
On 09/09/2012 11:40 PM, Tristan Van Berkom wrote: > interesting, wouldnt the quartz backend for osx build for iOS ? > > not exactly sure but I think the NSView and highlevel cocoa stuff > is built upon the same low level windowing apis that are available > on osx... I'm sure it could be ported of

Re: gtk apps on iOS/Android?

2012-09-09 Thread Michael Torrie
On 09/07/2012 07:40 AM, Allin Cottrell wrote: > I'm contemplating trying to produce a version of my gtk app > for tablet use. Can anyone point me to relevant resources or > examples? At this point I'm totally clueless about porting to > tablets (though I'm able to build my app for OS X OK), and

Re: gtk+ 2.24 installation problems

2012-03-04 Thread Michael Torrie
On 03/03/2012 08:10 AM, Roger Davis wrote: > Sleeping on things overnight I'm thinking the best option may be to > go back to the default configure options, let all the new packages > dump their stuff in /usr/local, and adjust my environment as > necessary to pick up those libraries, etc., in advan

Re: porting Xlib/Motif apps to GTK+

2012-02-29 Thread Michael Torrie
On 02/29/2012 02:50 AM, Bernhard Schuster wrote: > If your application license is either GPL or LPGL you are also > allowed to link statically (afaik), so you can deploy a gtk2 and a > gtk3 version. Edit ... so you can deploy a shared and statically > linked application binary. Just to be clear, i

Re: [win32]g_iochannel and USB

2012-02-24 Thread Michael Torrie
On 02/22/2012 06:35 AM, Manuel Ferrero wrote: > I read the thread, now I know I have to link against the right version > of msvcrt.dll. > But I'm compiling with MinGW and according what Tor Lillqvist said in > that thread it should work. > I don't specify any path in my IDE, I just choose the Min

Re: "HELP/About" was :: [Re: suggestions on user config?]

2012-02-19 Thread Michael Torrie
On 02/19/2012 02:25 PM, Gary Kline wrote: > i've been looking for code to learn from. i spotted this botton > layout from the game 'Iagno' but could only find part of its source. > lucky for me that i know c++. be nice if there were some macro like > "GTK_BUTTONBOX_LEFT"! GtkButtonBox is just a

Re: "HELP/About" was :: [Re: suggestions on user config?]

2012-02-19 Thread Michael Torrie
On 02/19/2012 06:38 AM, Tadej Borovšak wrote: > Hi > >>the dialoh has a "Close" button in the lower right. In the >>lower left are two buttons. one is labeled "Credits"; next >>to it is a button labeled "License" that displays the GNU >>copyright. can somebody cl

Re: looking for a program....

2012-02-16 Thread Michael Torrie
On 02/16/2012 12:50 PM, Gary Kline wrote: >> I'm quite sure that what you're looking for is for some screen reader & >> speech synthesis solution, like Orca [1], isn't it? >> If not, or Orca doesn't fit your needs, you can deal with speech-dispatcher >> in a easy way from your application. Controll

Re: no "File", "Edit, "Help" strings in upper left

2012-01-29 Thread Michael Torrie
On 01/29/2012 06:33 PM, Gary Kline wrote: > Do you really mean that is your coming appa you will have no > "File, Edit, Whatever, Help" bars? Or am i misunderstanding > the name of menubar? i like at least File because it > usually gives a way of quitting the app? What h

Re: no "File", "Edit, "Help" strings in upper left

2012-01-29 Thread Michael Torrie
On 01/29/2012 01:41 PM, Gary Kline wrote: > Nada. but it compiles with my gcc string and works as it is coded on > debian linux; on my sub-laptop. but ubuntu: nope. i added gtk-demo > and rebuilt. typing > > $ gtk-demo > > pops up a rectangle with a bunch of items, but the GTK+ Code Demos

Re: need help in looping many times...

2012-01-24 Thread Michael Torrie
On 01/24/2012 07:27 AM, John Coppens wrote: > Wouldn't it be easier to simply add an editor window to your program? > Use for example, the GtkTextView widget. You won't have to spawn > external editors, and always have the text available. > You can even implement cut/copy/paste, re-use recent text,

Re: need help in looping many times...

2012-01-23 Thread Michael Torrie
On 01/23/2012 08:49 PM, Michael Torrie wrote: > On 01/23/2012 07:17 PM, Gary Kline wrote: >> vbc.tgz is enclosed; find someplace to save it, untar and make the >> 'vbc' binary. > > Unfortunately the attachment seems to have been filtered out by the > mailing

Re: need help in looping many times...

2012-01-23 Thread Michael Torrie
On 01/23/2012 07:17 PM, Gary Kline wrote: > vbc.tgz is enclosed; find someplace to save it, untar and make the > 'vbc' binary. Unfortunately the attachment seems to have been filtered out by the mailing list. Can you post it on our web site somewhere perhaps and post a link here? _

Re: Are there such tings like custom signals?

2012-01-23 Thread Michael Torrie
On 01/23/2012 02:18 AM, Manuel Ferrero wrote: > Il 20/01/2012 18.08, Jack ha scritto: > >> However, that is separate from knowing that the button has been pushed, >> so you can then start the communications. For this, is there any reason >> to use a custom signal? Wouldn't it be easier to catch th

Re: discoveries! gtk DOES dim... how can i infinite-loop?

2012-01-21 Thread Michael Torrie
On 01/21/2012 09:49 PM, Gary Kline wrote: > this sound very much worth looking into and i will ... just > as soon as i figure out what is causing my gtk app to dim. I did give you the key to keeping GTK from dimming in my other post. It's pretty easy to iterate the main loop while you

Re: Are there such tings like custom signals?

2012-01-20 Thread Michael Torrie
On 01/20/2012 06:42 AM, Manuel Ferrero wrote: > I was wondering if there is some custom signal I can use to keep the > same event-driven philosophy to exchange messages between process. Of course. Though the other poster's idea of using gio channels is a good one. But yes you can create custom

Re: discoveries! gtk DOES dim... how can i infinite-loop?

2012-01-19 Thread Michael Torrie
On 01/19/2012 01:58 AM, Gary Kline wrote: > > i've spent the last many days tryoing [on ubuntu] anf tonight on my > EEE-900A netbook [debian]. both dim when i go into a recursive > loop. > > 1. edit with gvim > 2. have espeak voice gvim when it is written > 3 goto 1; > > tonight i did everyth

Re: discoveries! gtk DOES dim... how can i infinite-loop?

2012-01-19 Thread Michael Torrie
On 01/19/2012 09:05 PM, Michael Torrie wrote: > You will need to install pygtk2 and gtksourceview2. On Fedora those are > the exact package names. Apparently on Ubuntu, the packages are: python-gtk2 python-gtksourceview2 ___ gtk-app-devel-list m

Re: discoveries! gtk DOES dim... how can i infinite-loop?

2012-01-19 Thread Michael Torrie
Gary, based on conversations in the past about what you are trying to do, I whipped up a little program that just might approach what you are trying to do. If I understand you correctly, you wish to do the following: - type text in an editor where abbreviations are expanded (by macros in gvim or

Re: is thaere a way to exit(1)?

2012-01-17 Thread Michael Torrie
On 01/17/2012 03:35 PM, Gary Kline wrote: > well, it =is= busy. it's looping endlessly; but then i > limited it to 5 loops with a for-loop. same. (i thought my > programming skills were better that having to use the > debugger, but may have to.) before, i am going to scp

Re: GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread Michael Torrie
On 12/30/2011 05:52 AM, David Nečas wrote: > On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: >> i want to make one of those widgets visible from >> another thread > > Use glib.idle_add() in that other thread to subsequently execute the > actual Gtk+ code in the thread running the G

Re: no joy...

2011-12-22 Thread Michael Torrie
On 12/22/2011 03:46 PM, Gary Kline wrote: > abbrevs. iFWIW, my last brain op messed up my entire rt > side and because my left hand wasn't that good, i type only > around 20wpm. by learning only 130 or abbrvs, you can gain > roughly 30%. so imagine some poor kid [[[ OR

Re: no joy...

2011-12-22 Thread Michael Torrie
On 12/22/2011 12:14 PM, Steve . wrote: > What is the preferred method to inject mouse and keyboard events to > another application? Probably that is platform-dependent. In Linux, I only know of the XTEST framework. It's not really part of GTK that I know of. I'm no expert.

Re: no joy...

2011-12-22 Thread Michael Torrie
On 12/22/2011 01:58 PM, Gary Kline wrote: > i am reallty not doing anything that arcane. the nutshell > of it is that in > > "while (!done loop)" > > gvim [ or another editor that can use abbreviations ] > creates a series of text files. 1 to some N. what it >

Re: no joy...

2011-12-22 Thread Michael Torrie
On 12/22/2011 11:22 AM, Michael Torrie wrote: > On 12/22/2011 01:03 AM, Gary Kline wrote: >> you're right. i do not want to type anything into the text file. >> instead, i want to fork gvim and use thaat to type into. it >> seems likely to work if i can have button

Re: no joy...

2011-12-22 Thread Michael Torrie
Let's keep the e-mails on the list, please. You can CC both me and the list if you'd like, but replying just to the list is sufficient and I will see it as will any number of other people that want to help. On 12/22/2011 01:03 AM, Gary Kline wrote: >>> and fopen some file and display the text in

Re: no joy...

2011-12-21 Thread Michael Torrie
On 12/20/2011 03:52 PM, Gary Kline wrote: > > thanks to those who have tried to help, mostly off-list. i can't > believe how hard this is. Well it isn't that hard. Reading over the last two weeks of list posts, it's very unclear what you are trying to do. > and fopen some file and display the

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 05:24 PM, jjacky wrote: > > Thanks, I do need to do some more reading on the gobject docs, great > stuff there. > > What I'm looking for is inheritance, and I see how it could be done yes. > However, that would require the original widget to be done using virtual > public methods

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 04:47 PM, David Nečas wrote: > I wish it was so. What invariably happens in practice is this: Thanks you. Tis unfortunate that things are this way. That said I've heard of problems in other languages where well-meaning developers marked classes as "final." Makes me like Python

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 02:52 PM, jjacky wrote: > And while GTK is oriented-object, it is written in C and, AFAIK, there > are no such things as classes in C? As always, read the docs. Here is the documentation describing how to create new GObjects, and inherit from existing ones, implement virtual method

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 03:03 PM, Michael Cronenworth wrote: > Widgets are not plugins. They are whole objects. There is no extensible > feature to them. Just for your information, here's a couple of examples of extending GtkButton using inheritance and the GObject Builder tool: http://www.jirka.org/gtk-b

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 03:03 PM, Michael Cronenworth wrote: > jacky wrote: >> What I was looking into would be more taking an existing widget, and >> modifying it a little, as in changing its behavior on some aspect, or >> adding a feature, something like that. >> >> My question is: what would be the best/s

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 02:52 PM, jjacky wrote: > Thanks. I will have a look into Vala, although for projects I have > planned, I really want/need to be using C. Precisely. Vala makes the C Gobjects. You could use Vala to construct a class with a bunch of empty methods and then use the generated C code a

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 11:05 AM, Michael Torrie wrote: > As I think about it, my knowledge of extending GTK really is out of date. So I'm not at all sure how to do in C anymore. But Vala still just might be the ticket. Emitted Vala code is supped to be directly usable from a C program. I

Re: How to "extend" a widget?

2011-12-16 Thread Michael Torrie
On 12/16/2011 08:16 AM, jacky wrote: > As I said, I'm not sure this is the right way to do such a thing, so I > would appreciate any help/information on how one would do this > properly. Since GTK is object oriented, you could just create a new class that inherits from GtkCalender. However this i

Re: gtk and linux

2011-11-06 Thread Michael Torrie
On 11/03/2011 02:07 AM, Craig wrote: > Is there a list of linux "flavors" like Ubuntu, KDE, Red Hat... that > include or don't include gtk? And, let's say that a type of linux > doesn't include gtk, how difficult is it for an average computer user to > install gtk (on a scale of 1 to 10)? Programs

Re: Memory leaks

2011-02-10 Thread Michael Torrie
On 02/10/2011 12:19 AM, Costin Chirvasuta wrote: > I find not cleaning up explicitly quite ugly. I shudder at the thought > and maybe I'm not the only one. Not only that, but cleaning up > explicitly is obviously useful for some people. I guess we're at an impasse then. The discussion has now mov

Re: Memory leaks

2011-02-09 Thread Michael Torrie
On 02/09/2011 06:08 PM, Costin Chirvasuta wrote: > Tip: (regarding whether or not that link is relevant) Intelligence > means analogy. Being able to make connections. If you understood my > meaning and thought it wrong you should have said "You analogy is > incorrect". Not point out that you didn't

Re: Memory leaks

2011-02-09 Thread Michael Torrie
On 02/09/2011 02:29 PM, John Emmas wrote: > But my original example looked like this:- > > > Gtk::Main *app = new Gtk::Main (&argc, &argv); > > delete app; Change it to this and then look at memory use: for (;;) { Gtk::Main *app = new Gtk::Main (&argc, &argv); delete app; } If

Re: Memory leaks

2011-02-09 Thread Michael Torrie
On 02/09/2011 05:34 PM, Costin Chirvasuta wrote: > How times have changed: > http://www.folklore.org/StoryView.py?story=Were_Not_Hackers!.txt Nothing to do with the issue at hand. Nothing at all. The issue is whether a library intended for one-time loading should clean up after itself. Whether

Re: Memory leaks

2011-02-09 Thread Michael Torrie
On 02/09/2011 05:05 PM, Jeff Clough wrote: > And the fact that so many shared library hackers have this view is the > reason modern desktops need to ship with four gigs of RAM minimum and > still can't stay up for more than a week. Rubbish. What an absurd and fallacious argument. Whether GTK+ "l

Re: Memory leaks

2011-02-09 Thread Michael Torrie
On 02/09/2011 04:39 PM, Bill C wrote: > My experience with valgrind and GTK is that it is easy to fix leaks. > > Simply look for leaked memory that you allocated. Then determine where > you should have released it. If it was not allocated by you its not > your problem so ignore it. Right. An

Re: Window move at menubar in Gnome

2010-07-05 Thread Michael Torrie
On 07/05/2010 01:53 PM, Andreas Volz wrote: >> since I installed Ubuntu 10.04 I noticed that I could move windows >> while dragging the menubar in Gnome. I like this feature. But I don't >> use Gnome, but Enlightenment 17. I would like to implement support for >> this feature in E17, but I don't kn

Re: how to make my window stays on top when I'm playing fullscreen game?

2010-04-14 Thread Michael Torrie
On 04/14/2010 09:47 AM, Todong Ma wrote: > Sorry,my english is poor... > > I mean I want to popup a window which is created by my own program while > other applications are running at fullscreen mode. On Linux, some Window managers may not allow this. I recall that one of the "features" advertis

Re: how to make my window stays on top when I'm playing fullscreen game?

2010-04-14 Thread Michael Torrie
On 04/13/2010 07:40 AM, Todong Ma wrote: > I want to write a program which can stays on top after it ran when I'm > playing fullscreen game. > (I mean when I'm playing the fullscreen game,I can still see that popup > window) By popup window are you talking about a modal dialog that is created by y

Re: Application termination at some point

2009-11-18 Thread Michael Torrie
ds.sun...@gmail.com wrote: > I learned to generate the core dump file of the test application when it > crashes... and using the gdb debugger i got the following bt... > > Could you please tell me where might be the problem? I'm afraid no one is going to be able to tell you where the problem mi

Re: Regarding newer version of GTK php software

2009-11-08 Thread Michael Torrie
bhagyashri wrote: > I have used your GTK+ version for desktop application of PHP. Here you are > using PHP version 5.1.4.Is there any provision to do serial communication in > GTK+ with PHP 5.1.4? > > I have dll file for serial communication but it is working on PHP 5.2.0 or > higher. > > So plea

Re: Deadlock/Freeze

2009-10-29 Thread Michael Torrie
Michael Torrie wrote: > Matteo Landi wrote: >> From the FAQ entry [1] it seems I need to enter/leave threads inside each >> timeout callback. Could the procedure described be a valid solution >> for my problem? > > Yes I believe you need to call enter/leave around cal

Re: Deadlock/Freeze

2009-10-29 Thread Michael Torrie
Matteo Landi wrote: > From the FAQ entry [1] it seems I need to enter/leave threads inside each > timeout callback. Could the procedure described be a valid solution > for my problem? Yes I believe you need to call enter/leave around calls to any gtk or gdk call inside the callback. You might als

Re: Regarding example code (was Why is ChangeValue reentrant)

2009-08-13 Thread Michael Torrie
Michael Cronenworth wrote: > $ rpm -q gtk2 > gtk2-2.16.5-1.fc11.x86_64 Yup, that's it. 2.16 is the latest stable GTK+ available (2.18 isn't quite released yet) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailm

Re: Regarding example code (was Why is ChangeValue reentrant)

2009-08-13 Thread Michael Torrie
Boggess Rod wrote: >> In cases like this, you probably have to hack around the problem/bug. >> IE solve your use case in a different way. > > Already have. Instead of using the response from gtk_dialog_run, I > gtk_widget_show_all the dialog window and return TRUE from the > change-value callback

Re: Regarding example code (was Why is ChangeValue reentrant)

2009-08-13 Thread Michael Torrie
Boggess Rod wrote: > It should be attached to one of the messages I posted on this thread. > If you're interested, here's another copy of it. Will take a brief look at it. > I have NOT tested this on a newer version of Gtk (can't). I'm hoping > someone else out there will be kind enough to test

Re: Regarding example code (was Why is ChangeValue reentrant)

2009-08-13 Thread Michael Torrie
Boggess Rod wrote: > Sorry, I did post a small example that demonstrates the unusual (buggy?) > behavior in a follow-up post. The more I dug into it, the weirder it > became, and the more convinced I am that it's a bug in Gtk. Or at > least, a bug in the HPUX implementation of it. I'm waiting ab

Re: Can't quite get my head around this, can anyone help?

2009-08-10 Thread Michael Torrie
Boggess Rod wrote: > BTDT. Won't work because by then, the user-value I'm trying not to > loose would already be lost. Guess I don't understand the problem, then, as I don't see why this would be if you kept track of it in an external variable between callbacks. Maybe a very small, self-containe

Re: Can't quite get my head around this, can anyone help?

2009-08-10 Thread Michael Torrie
Boggess Rod wrote: > I guess I wasn't clear. The messagebox is working fine. It returns > whether the user clicked Ok or Cancel. I'm calling the > gtk_dialog_run(...) from within the callback of the > on_hscale_valuechanged(...) (or _changevalue) event handler. It's the > hscale's event handler

Re: Can't quite get my head around this, can anyone help?

2009-08-10 Thread Michael Torrie
Michael Torrie wrote: > Well inside a callback you can return TRUE which stops signal > propagation right here. Or FALSE, which lets it continue. So you could > do it two ways. One would be to to display a GtkDialog, and use > gtk_dialog_run() from within your callback [1]. The ot

Re: Can't quite get my head around this, can anyone help?

2009-08-10 Thread Michael Torrie
Boggess Rod wrote: > Can someone point me to some example code in Gtk that intercepts a > signal, prompts the user, and either continues or aborts the signal, > depending on user response? A button wouldn't do this, but I'm sure > there are other widgets that would. I've Googled everything I can

Re: Makeing librsvg work (bizp2.dll missing)

2009-08-01 Thread Michael Torrie
David Nečas wrote: > No amount of talking about how your vastly superior approach is better > [for you] will make these use cases disappear (and I suppose there are > many people in a situation similar to mine). So please stop that you > are not constructive. This tone is uncalled for. David, yo

Re: Makeing librsvg work (bizp2.dll missing)

2009-08-01 Thread Michael Torrie
Hartmut Goebel wrote: > Please note: Your arguments are sheer technical ones. You are ignoring > the "marking" side. But for me, your arguments simply do not count, > since I simply want to *use* GTK for my application. Currently this is > very, very tremulous (again see my other postings these we

Re: Virtual drag drop using gtk api's

2009-07-31 Thread Michael Torrie
rajat mahajan wrote: > The link i have provided is on windows. I need the same on Linux I don't know anything about it, really. Here is a link on the freedesktop specification that might give you some idea. Then again it might not. Basically there's nothing in the drag and drop raw protocol to

Re: Makeing librsvg work (bizp2.dll missing)

2009-07-31 Thread Michael Torrie
Freddie Unpenstein wrote: > That sounds straight forward enough. And a hell of a lot better than the > current situation. I just checked the latest pidgin installer and indeed they do operate this way. However their GTK runtime just uses the major version number, so it installs to C:\Program Fi

Re: Virtual drag drop using gtk api's

2009-07-30 Thread Michael Torrie
Is this on Solaris? Linux? X11? Framebuffer? OS X? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Makeing librsvg work (bizp2.dll missing)

2009-07-30 Thread Michael Torrie
Freddie Unpenstein wrote: > Not everyone is free from the space issue. Some people using > ultra-small laptops can be running a full desktop version of > software, but still have sub-desktop resources. > > What I don't understand, is why GTK+ doesn't come with its own > installer that lets the us

Re: Stop alt-spacebar window menu

2009-07-08 Thread Michael Torrie
Michael Torrie wrote: > So it looks like it is certainly possible to take alt-spacebar away from > the window manager. Just now I noticed that VirtualBox's virtual > machine windows do this very thing. In fact alt-clicking to drag/resize > is eaten by virtualbox as well. So th

Re: Stop alt-spacebar window menu

2009-07-08 Thread Michael Torrie
Bill Farmer wrote: > Thanks for all the help. I've put it in the too hard box for the moment, > but will come back to it later... So it looks like it is certainly possible to take alt-spacebar away from the window manager. Just now I noticed that VirtualBox's virtual machine windows do this very

Re: "portable" applications

2009-06-24 Thread Michael Torrie
John Zavgren wrote: > My intuition tells me that there must be a better way to build an > application that will run on more than one Linux machine. > > Is there a simple way to statically link the esoteric aspects of my GUI You can use the "ldd" command to see what your binary is linking to. The

Re: How to set a window filled the whole screen when we start the window?

2009-06-24 Thread Michael Torrie
donglongchao wrote: > Thank you very much.That is just what I need. > I am not very familiar with the API manual. I always program with a web browser open showing the API docs. Although they often lack documentation and examples (they are generated from the source code), they at least document th

Re: slowness in getting events

2009-04-05 Thread Michael Torrie
Efraim Yawitz wrote: > Hi, > > I am trying to port a Windows application to Linux with GTK+ and an > important part of the GUI is a grid displaying a hex dump of memory which > must be constantly updated. > > I am implementing this using a gtk_drawing_area You might want to implement this hex du

Re: Problem with gtkbuilder & mingw cross (not the signal problem)

2009-03-20 Thread Michael Torrie
John Stebbins wrote: > Tor Lillqvist wrote: >> (Adding gtk-app-devel-list back as Cc. Please let's keep this >> discussion on the list.) >> > Oops, didn't notice that reply went direct to you instead of to the list. >> Why make it harder for yourself, why not use a shared library (dll) >> build

  1   2   >