Re: Closing XTerm causes the GTK app to exit, inspite of disown/nohup on its PID - why?

2019-03-05 Thread James Cameron
) -- James Cameron http://quozl.netrek.org/ ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: GTK window winthout main iterator

2018-09-04 Thread James Cameron
t; ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- James Cameron http://quozl.netrek.org/ ___ gtk-app-devel-list mailing l

Re: XTestFakeKeyEvent GDK-equivalent

2018-07-06 Thread James Cameron
For quick hacks or testing apps, I use xdotool. I've no idea if it works with Wayland though. -- James Cameron http://quozl.netrek.org/ ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: trouble with g_stat

2018-06-03 Thread James Cameron
pec… > > if(g_stat(fspec->str,stBuf)<0){… [9476 Segmentation fault] stBuf is an uninitialised pointer. g_stat will try to write to the address; undefined behaviour results. Try allocating some memory of the right size, and assign that address to the pointer before calling g_stat?

Re: PyGObject: pep8 konform

2018-06-01 Thread James Cameron
-- James Cameron http://quozl.netrek.org/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Is it possible to catch ALT+TAB and do nothing

2018-05-07 Thread James Cameron
On Mon, May 07, 2018 at 05:03:40PM -0500, Igor Korot wrote: > James, > > On Mon, May 7, 2018 at 4:46 PM, James Cameron <qu...@laptop.org> wrote: > > On Mon, May 07, 2018 at 04:27:57PM -0500, Igor Korot wrote: > >> Paul et al, > >> Any idea how to confi

Re: Is it possible to catch ALT+TAB and do nothing

2018-05-07 Thread James Cameron
to > >> >> the window below it (such as Terminal) and type something. > >> >> > >> >> We also can't use the lock screen window because of some other issues. > >> >> > >> >> So is it possible to catch ALT

RE: EXTERNAL: stdout/sterr to GtkTextView at runtime

2015-12-21 Thread Williams, James P2
$fh); $|=TRUE; select($fhPrev); or with an older idiom for maximum compactness/obfuscation, select((select($fh),$|=TRUE)[0]); or with an I/O layer. binmode($fh,”:unix”) or die “Unable to binmode: $!.\n”; Good luck. Jim From: Williams, James P2 (US) Sent: Friday, December 11, 2015 11

enchant and gtk

2015-07-31 Thread James Stortz
, James ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: enchant and gtk

2015-07-31 Thread James Stortz
When trying to build myself, make freezes at Scanning dependencies of target WebCore Any help would be appreciated! On Jul 31, 2015 4:39 PM, James Stortz james.ryan.sto...@gmail.com wrote: ​Hey all! Does anybody have a copy of webkitgtk compiled without enchant, (via the cmake flag

Re: GDBusProxy missing bus signals during construction

2015-07-24 Thread Roger James
On 24/07/15 12:26, Bastien Nocera wrote: On Thu, 2015-07-23 at 21:59 +0100, Roger James wrote: snip I propose to get this by round this by subscribing to the Avahi ItemNew signal on my AvahiServer proxy to catch the updates and then unscribing it after I have connected the gobject signal

Re: GDBusProxy missing bus signals during construction

2015-07-24 Thread Roger James
On 24/07/15 12:23, Simon McVittie wrote: On 23/07/15 21:59, Roger James wrote: I propose to get this by round this by subscribing to the Avahi ItemNew signal on my AvahiServer proxy to catch the updates and then unscribing it after I have connected the gobject signal

Re: GDBusProxy missing bus signals during construction

2015-07-23 Thread Roger James
On 23/07/15 20:50, Simon McVittie wrote: On 23/07/15 15:01, Roger James wrote: I am trying to implement a Zeroconf service browser using a PyGobject Gio.DBusProxy object to talk to avahi. It all works fine but the browser randomly misses the initial one or more ItemNew signals from the avahi

GDBusProxy missing bus signals during construction

2015-07-23 Thread Roger James
I am trying to implement a Zeroconf service browser using a PyGobject Gio.DBusProxy object to talk to avahi. It all works fine but the browser randomly misses the initial one or more ItemNew signals from the avahi server. It sometimes even misses the AllForNow signal. Subsequent ItemNew

RE: EXTERNAL: Re: Gtk2::SpinButton For Hex

2015-05-22 Thread Williams, James P2
Looks like twisting the implementation of the standard Spinbutton widget is not quite easy to be achieved - maybe my alternative is quicker to put to effective use. Yeah, I've toyed with doing something along these lines, using other widgets to create a poor man's spin button. My hex

RE: EXTERNAL: Re: Gtk2::SpinButton For Hex

2015-05-21 Thread Williams, James P2
How can I use a Gtk2::SpinButton to prompt for an integer expressed in hex? I've tried the following, but it fails. ... The text appears to be correct while I hold either arrow button down; I see hex values incrementing. However, single clicks of an arrow button fail

RE: EXTERNAL: Re: Gtk2::SpinButton For Hex

2015-05-20 Thread Williams, James P2
, James P2 Cc: 'gtk-perl-list@gnome.org' Subject: EXTERNAL: Re: Gtk2::SpinButton For Hex On Tue, May 19, 2015 at 10:22:51PM +, Williams, James P2 wrote: How can I use a Gtk2::SpinButton to prompt for an integer expressed in hex? I've tried the following, but it fails. use strict; use

Gtk2::SpinButton For Hex

2015-05-19 Thread Williams, James P2
How can I use a Gtk2::SpinButton to prompt for an integer expressed in hex? I've tried the following, but it fails. use strict; use warnings; use Glib qw(TRUE FALSE); use Gtk2 qw(-init); my($spin)=Gtk2::SpinButton-new_with_range(0,1000,1); $spin-set_numeric(FALSE);

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-26 Thread James Tappin
Chris, If I interpret what you are trying to do correctly (not necessarily a given), then I would have thought that GtkScrolledWindow (possibly in conjunction with GtkViewport) would be the tool for the job. James On 26 January 2014 14:50, Chris Angelico ros...@gmail.com wrote: My

GtkWidget focus line color

2013-12-29 Thread James Robertson
to use an image and have actually been trying to use border-images and such but haven't been successful. Thanks James ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Get column no. of edited cell.

2013-06-02 Thread James Tappin
Another possibility would be to use g_object_set_data to give the renderer a column number, and g_object_get_data in the handler. On 2 June 2013 07:15, dE de.tec...@gmail.com wrote: On 06/02/13 00:27, Arnel A. Borja wrote: On Sunday, 02 June, 2013 01:44 AM, dE wrote: I've set the editable

In-App Analytics

2013-05-08 Thread Cassidy James
. Regards, Cassidy James ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Question about a Gtk-WARNING message when running gedit

2013-03-28 Thread Tilton, James C. (GSFC-6063)
for in the gedit source code. What GTK+ function would such a WARNING be associated with? Or is this caused by some other problem? Jim Tilton Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight

OT: tcl/tk GUI app

2013-01-17 Thread Fred James
the result for anything as yet. Any help you may be able to offer would be appreciated. Thank you Regards Fred James ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: OT: tcl/tk GUI app

2013-01-17 Thread Fred James
for your help Regards Fred James ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

g_timeout handling, is this the best way?

2012-11-20 Thread James Tappin
I have a program that uses a g_timeout loop to control the display of a sequence of plots (produced via plplot), and I need to be able to change the delay between displaying the plots. The method I am using is this: 1. Use g_timeout_add_full to create the timeout, with the GSourceFunc as a

Re: Lack of gtk_application_get_window_by_id function despite of documentation

2012-11-17 Thread James Tappin
On 17 November 2012 16:05, Jakub Kucharski dexc...@gmail.com wrote: I was trying to compile my application and it appears that one documented function called 'gtk_application_get_window_**by_id' ( http://developer.gnome.org/**gtk3/stable/GtkApplication.**

Re: Examples of ComboBox using an explicit model?

2012-07-31 Thread James Tappin
Thanks to those who send examples on or off list. With the guidance of those I was able to figure out how the different bits fit together and get a working code. James ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Examples of ComboBox using an explicit model?

2012-07-30 Thread James Tappin
an explicit tree model without any success. Does anybody on this list have such an example (or even better, of a CellRendererCombo) that they would be willing to share. James ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org

g_value_set_instance -- how to use?

2012-07-23 Thread James Tappin
There is very little documentation that I can find explaining how g_value_set_instance is supposed to work. Is the following anywhere near correct? void my_gvalue_setter( const GValue *gv, gpointer val, Gtype type) {

Re: Threads and idle functions

2012-07-02 Thread James Morris
, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Threads and idle functions

2012-07-02 Thread James Morris
On 3 July 2012 02:10, James Morris jwm.art@gmail.com wrote: (sorry forgot list) On 3 July 2012 01:50, David Buchan pdbuc...@yahoo.com wrote: My understanding is that child threads must never alter the UI in any way. If I have a program which spawns a child thread to download some data

custom widget theme change problem

2012-06-21 Thread James Morris
, after switching to a different notebook tab, I can see previously hidden instances of the custom widget have been updated (switching notebook tabs back again does not trigger update). Can anyone give any pointers as to what might be happening? Thanks, James. GTK 2.24.10

Re: custom widget theme change problem

2012-06-21 Thread James Morris
Hello again, Seems to be a habit of mine here, I ask a question, don't get an immediate response and then look further into it and find some sort of solution... On 21 June 2012 10:42, James Morris jwm.art@gmail.com wrote: Hi, I have a custom GTK widget which renders using Cairo

Re: custom widget theme change problem

2012-06-21 Thread James Morris
On 22 June 2012 01:50, James Morris jwm.art@gmail.com wrote: Can anyone give any pointers as to what might be happening? I've found the culprit, or put another way, I've found what to comment out to fix the problem. In my custom_widget_realize callback it has the following code which

GtkFileChooser selection-changed signal emission on gtk_dialog_run()

2012-06-14 Thread James Morris
using g_timeout_add as a work-around to delay connection of the signal to my callback and thus prevent the four initial selection-changed emissions activating the callback. Is this normal? Is there a more standard way of doing this? I'm using GTK 2.24.10 in 64bit Arch Linux. Thanks, James

Re: GtkFileChooser selection-changed signal emission on gtk_dialog_run()

2012-06-14 Thread James Morris
On 14 June 2012 16:54, James Morris jwm.art@gmail.com wrote: Hi, I've got a problem with the selection-changed signal being emitted as soon as gtk_dialog_run is called on a GtkFileChooserDialog. I tried delaying connection of the callback until right before calling gtk_dialog_run

RE: Re: Can't locate object method add_actions...

2012-06-08 Thread Williams, James P2 (N-UNITED SPACE ALLIANCE, LLC)
I've done lots of XS, and can help if you need it. Here are the resources I used to learn it, the first two being the most helpful. They're listed in order, from gentlest to most blood-curdling. Nah, it's not so bad. http://world.std.com/~swmcd/steven/perl/pm/xs/intro/index.html

Re: How do I fix the window size?

2012-06-05 Thread James Tappin
On 5 June 2012 11:00, Ferdinand Ramirez ramirez.ferdin...@yahoo.com wrote: I have a treeview and a scrollbar which are both within a hbox. The hbox is within a window. When I expand the treeview, the window resizes itself to include the whole treeview. The biggest problem is when the

Re: How do I fix the window size?

2012-06-05 Thread James Tappin
On 5 June 2012 12:50, Ferdinand Ramirez ramirez.ferdin...@yahoo.com wrote: --- On Tue, 6/5/12, James Tappin jtap...@gmail.com wrote: I think the solution is to place the treeview in a gtk_scrolled_window rather than using an hbox and an explicit scrollbar. The reason for trying out

Multiple selections in list/treeview widgets and accelerator groups?

2012-06-01 Thread James Tappin
that does work is that the top-level window has an accelerator group in the application and not in the demo. James ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk-app to search google scholar

2012-05-25 Thread James Morris
is not yet available to the Google AJAX API. So I would guess there will not be any simple C code to achieve what you want. James. Best and Regards, -- Rudra Banerjee If possible, plz. don't send me MsWord/PowerPoint mails. Why? See http://www.gnu.org/philosophy/no-word-attachments.html

Re: GtkTable cells resizing

2012-05-18 Thread James Steward
On 15/05/12 14:45, Tristan Van Berkom wrote: On Mon, May 14, 2012 at 10:29 PM, James Steward jamesstew...@optusnet.com.au wrote: On 15/05/12 11:56, Tristan Van Berkom wrote: ... perhaps it's worth trying an extra call to gtk_widget_queue_resize() after modifying your table

RE: probable gtk_window_present and pango help

2012-05-18 Thread Tilton, James C. (GSFC-6063)
Also consider hiding your window (with a call to window-hide()) instead of destroying it, and making it reappear with a call to window-show(). Jim Tilton -Original Message- From: gtk-app-devel-list-boun...@gnome.org [mailto:gtk-app-devel-list-boun...@gnome.org] On Behalf Of David

Unable To Control Focus In A Gtk2::Notebook

2012-05-18 Thread Williams, James P2 (N-UNITED SPACE ALLIANCE, LLC)
I wrote a small example of my problem below. It's just a simple window with a Gtk2::Notebook that contains a few pages, each with its own Gtk2::Entry. When I change pages by clicking the tabs, the focus moves to the label on the new tab, but only if it was originally on the label of the

GtkTable cells resizing

2012-05-14 Thread James Steward
this? Regards, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkTable cells resizing

2012-05-14 Thread James Steward
)); But the table rows seem to expand to the largest canvas and don't seem to take on variable heights. Feel I've been around and around the mulberry bush on this ;-) Regards, James. On Mon, May 14, 2012 at 9:21 PM, James Steward jamesstew...@optusnet.com.au wrote: Hi, I have an application

Trouble with button mask

2012-05-13 Thread James Steward
when I left click? Regards, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Trouble with button mask

2012-05-13 Thread James Steward
Stupid question below. Please ignore. James. On 14/05/12 15:47, James Steward wrote: Hi, I've been trying to get a canvas select item event to fire for a gtk_plot_canvas. Upon left clicking inside a plot canvas, I can see that gtk_plot_canvas_button_press(...) gets called

RE: Unable To Keep Showing Last Item In Gtk2::TreeView

2012-04-12 Thread Williams, James P2 (N-UNITED SPACE ALLIANCE, LLC)
Williams, James P2 james.p2.willi...@lmco.com wrote: How can I keep my automatic scrolling, even after these kinds of events? I’ve tried reacting to various signals, but the tree view seems too stale for $tree-get_visible_range() or $tree-scroll_to_cell() to work. You might react to size

Re: Getting the busy cursor to display.

2012-04-11 Thread James Tappin
On 11 April 2012 04:36, jcup...@gmail.com wrote: On 10 April 2012 18:33, James Tappin jtap...@gmail.com wrote: Thanks for the suggestion. Unfortunately in this case it doesn't help. (I have also tried gdk_display_flush and gdk_window_flush, but still the same story). Here's a tiny test

Re: Getting the busy cursor to display.

2012-04-11 Thread James Tappin
On 11 April 2012 09:25, James Tappin jtap...@gmail.com wrote: On 11 April 2012 04:36, jcup...@gmail.com wrote: On 10 April 2012 18:33, James Tappin jtap...@gmail.com wrote: Thanks for the suggestion. Unfortunately in this case it doesn't help. (I have also tried gdk_display_flush

Re: Getting the busy cursor to display.

2012-04-11 Thread James Tappin
On 11 April 2012 10:51, James Tappin jtap...@gmail.com wrote: I'm now really confused -- I've reordered some of the code so that the set_cursor call precedes putting a message in the status bar. And the status bar updates but not the cursor. OK: I think I've figured it. The problem

RE: Making a cursor (cross hair) track between image displays

2012-04-10 Thread Tilton, James C. (GSFC-6063)
the default appearance of my cursor from the default cursor to something else (e.g. a CrossHair) in gtkmm 3? Thanks. Jim Tilton -Original Message- From: gtk-app-devel-list-boun...@gnome.org [mailto:gtk-app-devel-list-boun...@gnome.org] On Behalf Of Tilton, James C. (GSFC-6063) Sent

Getting the busy cursor to display.

2012-04-10 Thread James Tappin
I have a gtk (fortran) application that displays a progress monitor while computing, and I would like to display the busy cursor while the program is reading a large data file. Right now what I have is: To define the busy cursor and GDK window (module [global] variables). draw_window =

Re: Getting the busy cursor to display.

2012-04-10 Thread James Tappin
On 10 April 2012 10:09, jcup...@gmail.com wrote: On 10 April 2012 16:58, James Tappin jtap...@gmail.com wrote: call gdk_display_sync(gdk_display_get_default()) call gdk_window_set_cursor(draw_window, busy_cursor) call gdk_display_sync(gdk_display_get_default()) My gtk2

RE: Making a cursor (cross hair) track between image displays

2012-04-10 Thread Tilton, James C. (GSFC-6063)
in the associated gtkmm windows. Jim Tilton -Original Message- From: gtk-app-devel-list-boun...@gnome.org [mailto:gtk-app-devel-list-boun...@gnome.org] On Behalf Of Tilton, James C. (GSFC-6063) Sent: Tuesday, April 10, 2012 9:28 AM To: gtk-app-devel-list@gnome.org Subject: RE: Making a cursor

Re: Getting the busy cursor to display.

2012-04-10 Thread James Tappin
On 10 April 2012 11:36, Michael Cronenworth m...@cchtml.com wrote: James Tappin wrote: Is there some other call (or calls) I should be making to force the updates to take place? I use the following for widget updates during background processing: while ( gtk_events_pending

Unable To Keep Showing Last Item In Gtk2::TreeView

2012-04-09 Thread Williams, James P2 (N-UNITED SPACE ALLIANCE, LLC)
The code below illustrates a problem I'm having with Gtk2::TreeViewhttp://gtk2-perl.sourceforge.net/doc/pod/Gtk2/TreeView.html (or herehttp://developer.gnome.org/gtk/2.24/GtkTreeView.html). It just displays a list of random words, and adds a new one at the bottom once every second. I'd like to

RE: Making a cursor (cross hair) track between image displays

2012-04-04 Thread Tilton, James C. (GSFC-6063)
Thanks John, Your response is very helpful. The one key question that remains for me is: How do I draw a floating crosshair? Thanks. Jim Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight

Making a cursor (cross hair) track between image displays

2012-04-02 Thread Tilton, James C. (GSFC-6063)
Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight Center FAX: 301-286-1776 Mail Code 606.3E-Mail: james.c.til...@nasa.govmailto:james.c.til

Trouble with TreeView

2012-03-21 Thread James Steward
to suppress the display of some columns that don't make sense for the parent node, I.e. columns 1, 2, 3 in row 0? Regards, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

An issue with Qt styling and/or threads?

2012-02-17 Thread James Tappin
code. FWIW I'm running Debian stable, with Gtk+ 2.20. Any ideas? James ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

RE: How to install pangocairo

2012-02-02 Thread Tilton, James C. (GSFC-6063)
...@gnome.org] On Behalf Of Tilton, James C. (GSFC-6063) Sent: Wednesday, February 01, 2012 5:23 PM To: gtk-i18n-list@gnome.org Subject: How to install pangocairo I am installing some software that depends upon the pango - and pangocairo packages. I downloaded pango version 1.29.3 and performed

How to install pangocairo

2012-02-01 Thread Tilton, James C. (GSFC-6063)
.) However, even though it appears that the pango make built the pangocairo module, the make install step did not install it. How can I force the install of the pangocairo module? Thanks. Jim Tilton Dr. James C. Tilton

Re: misc and a question...

2011-12-28 Thread James Steward
On 29/12/11 11:05, Gary Kline wrote: ... due to people on this list who have been patient and 'splained things ... and who have NOT said: 'go read the man page' --well, nutshell, in ~ 3 weeks, i'm starting to see how gtk works. i just learned that TRUE == 1 and not 0. i haven't used the

Re: no luck with dialogs and ecrooolbars, and gtktext..

2011-12-20 Thread James Morris
n Tue, Dec 20, 2011 at 02:52:10PM -0800, Gary Kline wrote:         text = gtk_text_view_new();         gtk_container_add(GTK_CONTAINER(window),text);         buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)); and fopen some file and display the text in the buffer.  The question

Re: how to use hbox?

2011-12-11 Thread James Tappin
2011/12/11 Gary Kline kl...@thought.org:        can somebody help me figure out how to pack the buttons        horizontally, or is is not possible to mix hbox and vbox? It should be as simple as: make the vbox put the various items in it, including the hbox put the increase decrease buttons in

Alignment of markup labels in menu items

2011-11-30 Thread James Tappin
I'm trying to add the capability to add a label formatted with Pango markup to buttons and menu items in the high-level interface to gtk-fortran. While the following is successful in producing subscripts in labels when the markup flag is set, there is a problem with alignment: while a plain text

Re: Alignment of markup labels in menu items

2011-11-30 Thread James Tappin
On 30 November 2011 11:31, James Tappin jtap...@gmail.com wrote: there is a problem with alignment: while a plain text label is correctly centred in the pulldown menu, a markup label begins at the centre (even if it does not actually include any markup). I should add, the problem does

Re: gtk_tree_view_column_set_cell_data_func gives GTK-CRITICAL error

2011-11-30 Thread James Steward
On 30/11/11 20:04, Tadej Borovšak wrote: Hi. 2011/11/30 James Stewardjamesstew...@optusnet.com.au: col = gtk_tree_view_insert_column_with_attributes ( GTK_TREE_VIEW (view), -1, Title, renderer, text, i

gtk_tree_view_column_set_cell_data_func gives GTK-CRITICAL error

2011-11-29 Thread James Steward
, just this runtime error. -- James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Change in FileChooser behavior

2011-11-11 Thread Tilton, James C. (GSFC-6063)
it now? If so, why was this change made? It seems this should be a simple thing. What am I missing? Thanks. Jim Tilton Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight Center FAX

Re: 'irregular shaped' windows without deprecated gdk code or compositing

2011-08-01 Thread James Morris
On 31 July 2011 23:24, James Morris jwm.art@gmail.com wrote: Hi, It appears that the 'irregularly shaped' windows which used to be possible by using now-deprecated GDK code even without full compositing available, are no longer possible using non-deprecated code. Using the old

'irregular shaped' windows without deprecated gdk code or compositing

2011-07-31 Thread James Morris
, but gdk_bitmap_create_from_data is of course deprecated. The docs do at least suggest cairo alternatives, but none of which are compatible with gdk_window_shape_combine_mask. Please please tell me if there's anyway around this mess. I can't force or assume use of compositing. Cheers, James

slightly OT: install IITM multi-lingual editor

2011-07-28 Thread Fred James
James ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Append to list store doesn't get all column attributes

2011-07-27 Thread James
); gtk_widget_grab_focus (view); The item New is indeed appended to the list, and it scrolls to the correct cell, however New is not editable, and no matter what I've tried, I can't make it editable. Can anyone offer a clue as to why? Regards, James

Re: Append to list store doesn't get all column attributes

2011-07-27 Thread James
On Thu, 2011-07-28 at 07:08 +0200, Florian Müllner wrote: Hey, 2011/7/28 James jamesstew...@optusnet.com.au In a dialog with a scrolled window displaying a list, with one column in the view, where the cells are editable

Re: Check if dbus program is running

2011-07-20 Thread Fred James
hits ... anywhere near what you are talking about? Regards Fred James [fredjame@localhost ~]$ ps -ef | grep dbus | grep -v grep 145631 1 0 01:10 ?00:00:00 dbus-daemon --system fredjame 7403 1 0 07:52 ?00:00:00 /usr/bin/dbus-launch --exit-with-session --sh-syntax

Re: Making widgets visible outside their containing window

2011-07-13 Thread James Morris
is associated with. There might be some pointers in there for how to do what you want, but note it's unmaintained code by now, and also contains some deprecated code. http://phat.berlios.de/ James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

gobject and gtk_widget_set_sensitive

2011-07-04 Thread James Morris
-changed signal to set_sensitive on all the widgets? Cheers, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Changing a GtkToolButton icon_widget on the fly

2011-06-22 Thread James Morris
On 22 June 2011 05:43, James jamesstew...@optusnet.com.au wrote: Hi, I've been trying to change the icon_widget that's displayed for a toolbar button while the main window is displayed.  I can't seem to get the actual image to change, although the functions that call

Changing a GtkToolButton icon_widget on the fly

2011-06-21 Thread James
(gtk_builder_get_object(builder, eject_tracker_red_image)); eject_button = GTK_TOOL_BUTTON(gtk_builder_get_object(builder, toolbutton_eject_tracker)); g_object_unref(G_OBJECT(builder)); gtk_widget_show(window); gtk_main(); snip } What am I missing? Regards, James

Re: Cairo, Gtk+, Gdk GdkPixbuf -- making a pixel-based backing store for vector graphics

2011-06-17 Thread James Tappin
Just to let folks know that the pointers here have given me the lead in that I needed and I've got a working code. (A bit more elegant in the Gtk3 case than Gtk2 but both work). ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Cairo, Gtk+, Gdk GdkPixbuf -- making a pixel-based backing store for vector graphics

2011-06-14 Thread James Tappin
I crack 1 2 then 3 will be fairly obvious. James ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Cairo, Gtk+, Gdk GdkPixbuf -- making a pixel-based backing store for vector graphics

2011-06-14 Thread James Tappin
On 14 June 2011 15:00, Stefan Salewski m...@ssalewski.de wrote: On Tue, 2011-06-14 at 14:30 -0600, James Tappin wrote: I would like to be able to make a code that draws some (possibly very complex) vector graphics, A better place for asking may be the cairo mailing list? At least

Re: Maximize on Windows 7 seems broken.

2011-05-12 Thread James Steward
On 11/05/2011 8:07 AM, James Steward wrote: Hi, I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity with a Posix type system. I have installed gtk+-bundle_2.22.1-20101227_win32.zip, and building a 32bit app for compatibility. My application calls gtk_window_maximize

Re: Maximize on Windows 7 seems broken.

2011-05-12 Thread James Steward
On 13/05/2011 8:03 AM, James Steward wrote: On 11/05/2011 8:07 AM, James Steward wrote: Hi, I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity with a Posix type system. I have installed gtk+-bundle_2.22.1-20101227_win32.zip, and building a 32bit app for compatibility. My

GdkEvent question (is it a bug?)

2011-05-11 Thread James Tappin
While working on a script to convert the GdkEvent structures to Fortran derived types for the GtkFortran project I came across the following struct _GdkEventClient { GdkEventType type; GdkWindow *window; gint8 send_event; GdkAtom message_type; gushort data_format; union { char

Maximize on Windows 7 seems broken.

2011-05-10 Thread James Steward
. Is this a known Windows 7 (possibly also Vista) problem with GTK+ apps? Is there a fix? I've googled around, but not hit on any solutions yet. James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: Maximize on Windows 7 seems broken.

2011-05-10 Thread James Steward
On 11/05/2011 8:19 AM, Matteo Landi wrote: On Wed, May 11, 2011 at 12:07 AM, James Steward jamesstew...@optusnet.com.au wrote: Hi, I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity with a Posix type system. I have installed gtk+-bundle_2.22.1-20101227_win32.zip

Basic GStreamer level example converted from C

2011-04-19 Thread James Bromberger
, James -- Email: james_AT_rcpt.to ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

gtk_tree_view_column query.

2011-03-17 Thread James Tappin
Hello, I'm working on some aspects of gtk-fortran (an interface of GTK+ to Fortran95/2003), and so need to implement things without using varargs routines. However I'm getting unexpected behaviours. I don't think the problem is in the Fortran interface as I can reproduce the errors in

Re: gtk_tree_view_column query.

2011-03-17 Thread James Tappin
On 17 March 2011 15:55, James Tappin jtap...@gmail.com wrote: Hello,  I'm working on some aspects of gtk-fortran (an interface of GTK+ to Fortran95/2003), and so need to implement things without using varargs routines. However I'm getting unexpected behaviours. I don't think the problem

Re: How to make the toolbar button flashing

2011-03-01 Thread James Morris
On 1 March 2011 08:20, Miroslav Rajcic raj...@sokrates.hr wrote: 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 -

Re: g_remove

2011-02-17 Thread James Morris
On 17 February 2011 12:27, Craig Bakalian craigbakal...@verizon.net wrote: Hi, I am using g_remove to remove some temporary files from the /tmp folder. It is working as expected.  Yet, gcc is complaining that I am making an implicit declaration.  What is up with this? You've not #include-ed

Re: adding button events to a gtkdrawingarea based gobject

2011-02-15 Thread James Morris
On 14 February 2011 13:20, James Morris jwm.art@gmail.com wrote: Hi, (forgive some imprecise names here, am writing from memory and in a rush before work) I'm adapting some code which uses gobject to create a widget. The code previously used GtkWidget as the parent_class but I am trying

adding button events to a gtkdrawingarea based gobject

2011-02-14 Thread James Morris
the widget needs to connect to it's own internal private implementation code anyway so gtk_add_events is obviously wrong. Can anyone provide some pointers please? Thanks, James. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Memory leaks

2011-02-09 Thread James Morris
is needed for GTK/GLIB. And creating a suppressions file is more work than actually writing the code of the program I'm trying to debug in the first place is. james. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: Memory leaks

2011-02-09 Thread James Morris
On 9 February 2011 16:10, Michael Cronenworth m...@cchtml.com wrote: James Morris wrote: How does one gain this mysterious tool for Linux? It's called Google. There's a web page[1] that details how to setup valgrind to debug gtk/glib apps and even a preliminary suppression file. [1] http

  1   2   3   4   5   >