Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-20 Thread Mike Martin via gtk-perl-list
. # got: undef # expected: 'CODE(0x20a7dea97b0)' On Mon, 19 Jul 2021 at 14:25, Mike Martin wrote: > Further info (gcc wasnt installed) > > "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- > Glib.bs blib\arch\auto\Glib\Glib.bs 644 >

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin
.) failed. make (e=2): The system cannot find the file specified. mingw32-make: *** [Makefile:452: Glib.o] Error 2 -> FAIL Installing Glib failed. See C:\msys64\home\mike\.cpanm\work\1626621339.5476\build.log for details. Retry with --force to force install it. On Sat, 17 Jul 2021 at 19:02, Zakariyya Mu

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin
o] Error 1 On Mon, 19 Jul 2021 at 12:36, Mike Martin wrote: > Thanks for this. > I am sill getting an issue, it seems to be an oddity with paths > > from cpanm build.log > > [ CC Glib.c ] > process_begin: CreateProcess(NULL, gcc -c -I. -mms-bitfields > -IC:/msys64/mingw64/i

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin via gtk-perl-list
o] Error 1 On Mon, 19 Jul 2021 at 12:36, Mike Martin wrote: > Thanks for this. > I am sill getting an issue, it seems to be an oddity with paths > > from cpanm build.log > > [ CC Glib.c ] > process_begin: CreateProcess(NULL, gcc -c -I. -mms-bitfields > -IC:/msys64/mingw64/i

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin via gtk-perl-list
.) failed. make (e=2): The system cannot find the file specified. mingw32-make: *** [Makefile:452: Glib.o] Error 2 -> FAIL Installing Glib failed. See C:\msys64\home\mike\.cpanm\work\1626621339.5476\build.log for details. Retry with --force to force install it. On Sat, 17 Jul 2021 at 19:02, Zakariyya Mu

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-17 Thread Mike Martin via gtk-perl-list
Hi I am struggling with this, been trying to install on mingw64 for a week. Anyone had any joy recently? various issues tried compiling one by one and glib fails with symbols error (using cpanm) On Thu, 8 Jun 2017 at 12:31, wrote: > Hello everybody, > > I have created a little tutorial about

Changing font size prevents updates to window

2020-12-14 Thread Mike South via gtk-perl-list
e by trial and error until it "looked right" on the screens we were testing on. Anyone have a clue what I might be running into here? I'm at a complete loss Thanks for even reading this far, mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Using Gtk macros

2019-09-06 Thread Mike Martin via gtk-perl-list
How do I use Gtk macros in perl-gtk? eg in c GTK_IS_CONTAINER(widget) What is the corresponding method in perl-gtk thanks ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Strange issue with cell_data_func and Gtk3::FileSelectionDalog

2019-05-08 Thread Mike Martin via gtk-perl-list
I am getting annoying G_IS_ObJECT warnings when I have a cell_data_function my $cellfunc1=$widgete{controlview}->get_column(1)->get_cells; $widgete{controlview}->get_column(1)->set_cell_data_func ($cellfunc1, sub { my ($column, $cell, $model, $iter,$cellfunc1) = @_; my

Tree view toggle and gtypes

2019-05-01 Thread Mike Martin via gtk-app-devel-list
Are there any gtypes that are compatible with both toggle and text renderers? Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Using different signals depending on which row of of a treeview

2019-05-01 Thread Mike Martin
/renderer) On Mon, 29 Apr 2019 at 22:57, Reuben Rissler wrote: > > > On 04/29/2019 10:36 AM, Mike Martin via gtk-app-devel-list wrote: > > Has anyone done anything like this? > I haven't, but you are welcom

Re: Using different signals depending on which row of of a treeview

2019-04-30 Thread Mike Martin via gtk-app-devel-list
/renderer) On Mon, 29 Apr 2019 at 22:57, Reuben Rissler wrote: > > > On 04/29/2019 10:36 AM, Mike Martin via gtk-app-devel-list wrote: > > Has anyone done anything like this? > I haven't, but you are welcom

Using different signals depending on which row of of a treeview

2019-04-29 Thread Mike Martin via gtk-app-devel-list
Has anyone done anything like this? Basically the idea is that I push multiple renderers into a treeview column , then depending on the row hide/show the appropriate renderer (text, combo, toggle) Then call the appropriate signal_connect (edited, changed, toggled)

Re: G_IS_OBJECT (object)' failed at /usr/share/perl5/vendor_perl/Gtk3.pm line 546 gtk-perl x

2019-04-24 Thread Mike Martin via gtk-perl-list
When I tried running my program from gdb I got an error about program type, when I attached gdb to a running instance no widgets were responsive On Wed, 17 Apr 2019 at 14:36, Emmanuele Bassi wrote: > On Wed, 17 Apr 2019 at 14:11, Mike Martin via gtk-perl-list < > gtk-perl-list@gnome.o

G_IS_OBJECT (object)' failed at /usr/share/perl5/vendor_perl/Gtk3.pm line 546 gtk-perl x

2019-04-17 Thread Mike Martin via gtk-perl-list
I've now got this dreaded message. Is there any way to find out which line is triggering it? thanks Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: TreeView - set border on individual cells

2019-04-05 Thread Mike Martin via gtk-app-devel-list
On Fri, 5 Apr 2019, 12:36 Mike Martin, wrote: > Update, I worked out how to get rid of highlight > > 1 treeview->set selection mode(none) > 2 treeview->signal_connect(row_activated =>sub{ > Treeview->set_cursor_on_cell(path,column,cell,true) > } > ) > &

Re: TreeView - set border on individual cells

2019-04-05 Thread Mike Martin
nd out about borders though On Fri, 5 Apr 2019, 08:03 , wrote: > Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk- > app-devel-list: > > Is this possible? > > > > I did originally plan to have certain cells have a background colour > > to >

TreeView - set border on individual cells

2019-04-04 Thread Mike Martin via gtk-app-devel-list
can find is overall properties for the trreview Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Problem with grids and items spanning more than one column

2019-04-04 Thread Mike Martin
I resolved it by applying set_halign('start') to only the textview in the layout Looks like some interaction between the textview and the multicolumn liststore On Wed, 3 Apr 2019 at 12:53, Reuben Rissler wrote: > On 04/02/2019 05:09 AM, Mike Martin via gtk-app-devel-list wrote: > > I

Setting attributes per cell in treeview (list store)

2019-04-03 Thread Mike Martin via gtk-app-devel-list
confusion It a 12 by two table so performance not an issue Is setting a cell_data_func based on row the best way to go? Or is there a better way to achieve what I want? Thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Problem with grids and items spanning more than one column

2019-04-02 Thread Mike Martin
placement Has anyone had this and come up with a solution example png attached The multicolumn widget is is the file liststore Then I have the second liststore on the next row with other widgets on the same row Mike ___ gtk-app-devel-list mailing list gtk

Problem with grids and items spanning more than one column

2019-04-02 Thread Mike Martin via gtk-app-devel-list
I am using an embedded Gtk grid within a grid , which contains numerous widgets However if I have a widget that spans more than one column it messes up the layout of all other widgets , which seem to position themseleves randomly along the width of this widget, causing horribly jagged widget

Re: Treeview (liststore) CSS question

2019-03-22 Thread Mike Martin
Resolved my issue, turns out I needed some voodoo with properties $widgetpage{file_scroll}->set('propagate_natural_height','1'); $widgetpage{file_scroll}->set_vexpand(0); On Mon, 18 Mar 2019 at 16:01, Mike Martin wrote: > Is it possible to set different background for a

Re: Treeview (liststore) CSS question

2019-03-21 Thread Mike Martin via gtk-app-devel-list
apologies I did resolve my issue , posted as wrong person Resolved my issue, turns out I needed some voodoo with properties $widgetpage{file_scroll}->set('propagate_natural_height','1'); $widgetpage{file_scroll}->set_vexpand(0); On Tue, 19 Mar 2019 at 18:53, wrote: > > Hi Mike,

Re: Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin via gtk-app-devel-list
Its not whether the row is empty, its whether it exists On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote: > On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < > gtk-app-devel-list@gnome.org> wrote: > >> Is it possible to set different backg

Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin
tree Grid,Notebook,grid,scrolledwindow,treeview thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin
Its not whether the row is empty, its whether it exists On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote: > On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < > gtk-app-devel-list@gnome.org> wrote: > >> Is it possible to set different backg

Treeview (liststore) CSS question

2019-03-18 Thread Mike Martin via gtk-app-devel-list
tree Grid,Notebook,grid,scrolledwindow,treeview thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Setting background of ToggledButton on pressed

2019-03-13 Thread Mike Martin via gtk-perl-list
ledbutton #fcopy is the name I have given to a button :checked is the correct action background-image: image(yellow) is how to set the background, background-color does not work Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.

Re: Treeview sortingis this a bug

2019-03-06 Thread Mike Martin via gtk-perl-list
Apparently , yes this is a bug in gtk upstream https://gitlab.gnome.org/GNOME/gtk/issues/794 On Tue, 5 Mar 2019 at 23:12, Mike Martin wrote: > I am trying to toggle sorting on a liststore, so I am trying to use > > $list->get_column(0)->set_sort_column_id(-2) > where

Treeview sortingis this a bug

2019-03-05 Thread Mike Martin via gtk-perl-list
rror message gtk_tree_view_column_set_sort_column_id: assertion 'sort_column_id >= -1' failed thanks Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-03-02 Thread Mike Martin via gtk-app-devel-list
er cancel edition) >- editing-canceled > In all cases you only have the path of the edited row, since the > cellrenderer does not "know" the model it is displaying : you have to pass > it through the signal user_data (then you can build the iter and do your > editio

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Mike Martin via gtk-app-devel-list
Thanks Though what I don't quite get is the difference in behaviour between editing-started and edited (both using path to get the ITER) On my particular scenario I use editing-started to setup some stuff so I can use the iter created On Thu, 28 Feb 2019, 12:30 Nicolas Soubeiran via

liststore issue 2 - which 'path' comes from signal

2019-02-27 Thread Mike Martin via gtk-app-devel-list
cases the value is the same ie: an integer, not an object Can anyone clarify this thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-27 Thread Mike Martin via gtk-app-devel-list
I have come across an issue where the iter points to the wrong row on edited signal after sorting the column (via clicking header). This only happens with edited signal and not editing-started (which is correct) The edited iter is obtained via

Build errors against current Gtk3

2019-02-26 Thread Mike Martin via gtk-perl-list
Trying to build Gtk3-perl and getting the following errors Test Summary Report --- t/overrides.t(Wstat: 65280 Tests: 162 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 233 tests but ran 162. Files=22, Tests=843, 5 wallclock secs (

Issue with iters with cellrenderercombo and sorted columns

2019-02-25 Thread Mike Martin via gtk-perl-list
pdfiles contains the wrong rowid (column 5 is a rowid from a database) The sort is just $list->get_column(0)->set_sort_column_id (0); nothing fancy seems to only affect a cellrenderercombo I have another column wihich is cellrenderertext which has no issues Any ideas why this is happening thanks Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Force liststore to update when leaving treeview

2019-02-12 Thread Mike Martin via gtk-app-devel-list
hing to do this and if I leave the cell without pressing enter or clicking on another cell, all changes are lost thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Strange issue with subroutine being called too late

2019-01-18 Thread Mike Martin via gtk-perl-list
Ignore message, found issue, needed a return value of 0 to the sub-routine On Fri, 18 Jan 2019 at 10:47, Mike Martin wrote: > Hi > I have a procedure which should be called on error (if a directory doesn't > exist a window pops up as follows; > > foreach my $filesg (

Strange issue with subroutine being called too late

2019-01-18 Thread Mike Martin via gtk-perl-list
at code that depends on it fails. If I put exactly the same code directly as follows, it runs as expected. if (scalar keys %err >0){ print '3045 ', keys %err,"\n"; } Any ideas appreciated Mike __

Liststore and editing cancelled event

2018-11-26 Thread Mike Martin via gtk-app-devel-list
as the treeview still has focus thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problems with populating combo box with editing-started signal

2018-11-24 Thread Mike Martin via gtk-perl-list
Hi $datamwidgetw->{keyfieldc}->get_cells->signal_connect('editing-started'=>sub{ print 'editing',"\n"; my ($cell,$combo)=@_; my $model=$combo->get_model; print $model; $model->clear; } ) This doesnt do anything (at all), $datamwidgetw->{keyfieldc} is

How to invoke none blocking main, with thread safety.

2017-11-07 Thread Mike Rosset
start a gtk instance without it blocking? Also hopefully I can do this with some thread safety. Thanks in advanced, Mike R. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Multi page widgets in Gtk

2017-09-03 Thread Mike Martin
,lname from table Then a text view with the appropriate data for each record, with next/previous buttons for navigation thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Prolems with liststore insert_with valuesv

2017-08-07 Thread Mike Martin
partial answer to my own question if I replace insert_with_valuesv to insert_with_values it works On 7 August 2017 at 17:35, Mike Martin <redt...@gmail.com> wrote: > Hi > I am trying to use insert_with_valuesv to populate a liststore as follws > > my ($resultmodel,$result)=@

Prolems with liststore insert_with valuesv

2017-08-07 Thread Mike Martin
Hi I am trying to use insert_with_valuesv to populate a liststore as follws my ($resultmodel,$result)=@_; no strict 'refs'; #print $resultmodel; my @cols=0 .. scalar @{$result->[0]} -1; foreach my $f (@{$result}){ my $iter=$resultmodel->insert_with_valuesv(-1,\@cols,$f); }

Preferred width/height warning

2017-07-29 Thread Mike Martin
I am trying to eliminate this warning ie: (membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow 0x44d4260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow

Re: Preferred height/width error message

2017-07-24 Thread Mike Martin
Anyone? On 23 July 2017 at 18:30, Stefan Salewski <m...@ssalewski.de> wrote: > On Sun, 2017-07-23 at 17:46 +0100, Mike Martin wrote: > > Gtk version 3.22 > > I see a similar message for evince pdf viewer whenever I use it since > some months. But I have no idea for

Preferred height/width error message

2017-07-23 Thread Mike Martin
I am trying to eliminate this warning ie: (membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow 0x44d4260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow

Re: Combobox disable item

2017-06-23 Thread Mike Martin
rerequites are not available or the wrong type of config file is selected, but still show the option as a prompt thanks On 22 June 2017 at 21:09, <cecas...@aol.com> wrote: > > > Hi Mike, > > What part of the combo box are you trying to disable? If you want to > filter rows or columns

Combobox disable item

2017-06-22 Thread Mike Martin
Hi Is it possible to disable an item in a combobox? I cant find anything about this, set_sensitive only seems to apply to either cell-renderer or widget thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

How to stop glib main loop mixing up perl loops

2017-03-16 Thread Mike Martin
*I have a weird issue on an application I am developing* *The application is fully tabbed and runs loops to transcode video files, and I would like to be able to run the main transcoding loop fully in parellel, ie: the process running in one tab is totally separate to that running in another tab*

Re: Glib threads in gtk-perl?

2017-03-15 Thread Mike Martin
Suspected as much. Looks like it's back to square one. On 15 Mar 2017 3:08 p.m., "Brian Manning" <c...@xaoc.org> wrote: > On Tue, Mar 14, 2017 at 4:24 AM, Mike Martin <m...@redtux.org.uk> wrote: > > Hi > > It was suggested that I look into using glib thread

Seperating Multiple processes

2017-03-10 Thread Mike Martin
Hi I have a weird issue on an application I am developing The application is fully tabbed and runs loops to transcode video files, and I would like to be able to run the main transcoding loop fully in parrellel, ie: the process running in one tab is totally seperate to that running in another tab

Pango-Cairo graphics - is this as good as it gets?

2015-05-23 Thread Mike Birch
here. Am I overlooking something? Being able to render Pango to a region (leaving holes for images) would be a good start, modifying that region as part of the rendering would be even better. Mike. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org

How should I structure a full screen, modal kiosk app (newbie)

2015-05-09 Thread Mike South
missed in my searching are also welcome. mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Custom GtkTextBuffer objects - virtually impossible?

2015-03-27 Thread Mike Birch
to be overrideable? Mike. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Preferred method for updating the model behind a combobox?

2014-08-26 Thread Mike Fleetwood
it to the combobox replacing the original. Is one method preferred over the other? Is there another method I should be using instead? Thanks, Mike P.S. If I appear vague it is because the code in in C++ using gtkmm, but I don't think it matters, hence asking in this list. Here's the current broken code from

Re: Building glib 2.28.7

2013-11-08 Thread Mike Steinert
On Fri, Nov 8, 2013 at 7:34 AM, Colin Walters walt...@verbum.org wrote: On Thu, 2013-11-07 at 14:24 -0800, Daniel Schultze wrote: I'm trying to cross-compile glib From what host to what target? gfile.c: In function 'do_splice': gfile.c:2749: warning: passing argument 2 of 'splice'

Re: Bug 687752 - work with theme authors

2012-11-11 Thread Mike C.
Now what does that mean for you or me working with GNOME 3 (or GTK 3)? It means they can't rely on things staying the same or having a stable base to build on. Things keep changing. You can't just write something for 3.0 (be it an application, a shell plugin or a GTK theme) and expect it

Bug 687752 - work with theme authors

2012-11-09 Thread Mike C.
Continuing the discussion on the mailing list as requested from: https://bugzilla.gnome.org/show_bug.cgi?id=687752 To those just joining this discussion, the general issue that I'd like to see addressed is the lack of communication between GTK developers and theme developers coupled with the

Re: Introspecting Pango

2012-09-13 Thread Mike Dupont
see this example: https://mail.gnome.org/archives/commits-list/2012-August/msg00770.html type name=TestTypeGUInt64 c:type=RegressTestTypeGUInt64/ it seems that you are missing the name attribute. mike On Tue, Sep 11, 2012 at 8:41 PM, John Ralls jra...@ceridwen.us wrote: I'm trying to make

Re: Introspecting Pango

2012-09-13 Thread Mike Dupont
On Thu, Sep 13, 2012 at 8:48 PM, John Ralls jra...@ceridwen.us wrote: On Sep 13, 2012, at 10:56 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: see this example: https://mail.gnome.org/archives/commits-list/2012-August/msg00770.html type name=TestTypeGUInt64 c:type

GIO basic docs

2012-08-27 Thread Mike Gran
. - in the GFileInputStream section, cross-reference other functions that can  operate on GFileInputStreams - in the Migrating to GIO section, consider writing a section called   Migrating from ISO C Streams or whatever. Thanks, and keep up the good work, Mike

Re: Some questions regarding GObject-Introspection

2012-07-22 Thread Mike Dupont
Hi there, please provide a call stack. mike On Thu, Jul 19, 2012 at 5:28 AM, Fan Chun-wei fanc...@yahoo.com.tw wrote: Hi, I was trying to build G-I on Windows using MSVC, and managed to get the GLib-2.0.gir file to be built by g-ir-scanner (used the gcc preprocessor as MSVC does not accept

Re: compiler optimization causing issues with glib

2012-06-05 Thread Mike
On Tue, Jun 5, 2012 at 12:54 PM, Colin Walters walt...@verbum.org wrote: On Fri, 2012-06-01 at 11:33 -0500, Mike wrote: If you read the example program, you will see in my test that I simply call exit in the child -- that's it.  That meets your requirement. There is one issue in your code

Re: compiler optimization causing issues with glib

2012-06-05 Thread Mike
On Tue, Jun 5, 2012 at 1:28 PM, Colin Walters walt...@verbum.org wrote: On Tue, 2012-06-05 at 13:20 -0500, Mike wrote: I'm fairly convinced at this point that it is something in libc, but I'm not sure that it isn't acting to spec with regards to allowed behavior. Just to be clear, *which

Re: compiler optimization causing issues with glib

2012-06-05 Thread Mike
On Tue, Jun 5, 2012 at 1:51 PM, Mike puffy.t...@gmail.com wrote: On Tue, Jun 5, 2012 at 1:28 PM, Colin Walters walt...@verbum.org wrote: On Tue, 2012-06-05 at 13:20 -0500, Mike wrote: I'm fairly convinced at this point that it is something in libc, but I'm not sure that it isn't acting

Re: compiler optimization causing issues with glib

2012-06-01 Thread Mike
On Wed, May 30, 2012 at 3:16 PM, Mike puffy.t...@gmail.com wrote: On Wed, May 30, 2012 at 9:12 AM, Mike puffy.t...@gmail.com wrote: On Wed, May 30, 2012 at 6:43 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 24/05/12 17:20, Mike wrote: I am using glib 2.26.0

Re: compiler optimization causing issues with glib

2012-06-01 Thread Mike
I am using glib 2.26.0 [...] The application I'm having issues with uses gdbus [...] - Thread stuck in futex wait inside kernel When I've attached GDB (or done SysRq), it's the gdbus thread that is stuck. If your application is calling GDBus APIs from more than one thread (it's unclear

Re: compiler optimization causing issues with glib

2012-06-01 Thread Mike
On Fri, Jun 1, 2012 at 11:30 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 01/06/12 16:43, Mike wrote: The issue seems to somehow relate to calling fork. From GLib documentation (e.g. http://developer.gnome.org/glib/2.32/glib-The-Main-Event-Loop.html): On Unix, the GLib

Re: compiler optimization causing issues with glib

2012-06-01 Thread Mike
On Fri, Jun 1, 2012 at 11:17 AM, Mike puffy.t...@gmail.com wrote: I am using glib 2.26.0 [...] The application I'm having issues with uses gdbus [...] - Thread stuck in futex wait inside kernel When I've attached GDB (or done SysRq), it's the gdbus thread that is stuck. If your

Re: compiler optimization causing issues with glib

2012-05-30 Thread Mike
On Wed, May 30, 2012 at 6:43 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 24/05/12 17:20, Mike wrote: I am using glib 2.26.0 [...] The application I'm having issues with uses gdbus [...] - Thread stuck in futex wait inside kernel When I've attached GDB (or done SysRq), it's

Re: compiler optimization causing issues with glib

2012-05-30 Thread Mike
On Wed, May 30, 2012 at 9:12 AM, Mike puffy.t...@gmail.com wrote: On Wed, May 30, 2012 at 6:43 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 24/05/12 17:20, Mike wrote: I am using glib 2.26.0 [...] The application I'm having issues with uses gdbus [...] - Thread stuck

Re: compiler optimization causing issues with glib

2012-05-25 Thread Mike
On Thu, May 24, 2012 at 11:20 AM, Mike puffy.t...@gmail.com wrote: Hi, I'm seeing some unexplained behavior from glib when I compile it with optimizations.  I am using glib 2.26.0 cross-compiled for ARM using Code Sourcery arm-2010q1-202. The application I'm having issues with uses gdbus

compiler optimization causing issues with glib

2012-05-24 Thread Mike
to figure out the futex issue. So I'm not yet sure what the real issue is, but I'm curious if anyone has encountered anything like this? I was going to try compiling the latest glib release, but it has new host tools dependencies and I don't want to change those for now. Thanks, Mike

MSAA or UIA

2012-05-14 Thread Mike
Searches on the internet give me nothing. Who knows when/if gtk+ applications will be accessible using MSAA or UIA? What are the reasons we're not there yet? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: MSAA or UIA

2012-05-14 Thread Mike
Cronenworth wrote: Mike wrote: Searches on the internet give me nothing. Who knows when/if gtk+ applications will be accessible using MSAA or UIA? What are the reasons we're not there yet? Googling for uia gtk brought me this up in 30 seconds: http://comments.gmane.org/gmane.comp.gnome.gtk

UI Automation, mingw, w32api

2012-05-14 Thread Mike
It was asked why gtk+ coundn't use UI Automation or MSAA on Windows, to have an accessible GUI. I'll assume having UI Automation in w32api headers would help. The following post wasn't answered: https://mail.gnome.org/archives/legal-list/2012-April/msg1.html It refers to a Windows SDK

Re: linking to libgirepository_internals.a

2012-03-24 Thread Mike Dupont
to expose the static xml functions for testing. here is my commit, https://github.com/h4ck3rm1k3/gobject-introspection/commit/9dc11f8a42e66797db7ed015ac5f2703435f4456 thanks, mike -- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org

linking to libgirepository_internals.a

2012-03-20 Thread Mike Dupont
-lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6.1/crtend.o /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crtn.o thanks, mike PS : This message was posted to the Mailing list: gtk-devel-list@gnome.org but was awaiting moderation, maybe

In function `serialize_type': /gobject-introspection/girepository/girnode.c:1198: undefined reference to `g_type_tag_to_string'

2012-03-19 Thread Mike Dupont
/libglib-2.0.so -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6.1/crtend.o /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crtn.o thanks, mike -- James Michael DuPont Member of Free Libre Open Source Software

Re: Program Files folder

2011-04-21 Thread Mike Ma
visit MSDN for that. - -- Mike. Blog: http://ekd123.org/ Fedora Project Contributor - Translator. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNsC/aAAoJEKaIeAmEWZo8MA4H/RkIXxll+iviQVuPc/p0fa7u

How to get GdkNativeWindow from GdkWindow? (need during iteration of display, using gdk)

2011-03-13 Thread Mike Cookson
Hi all. I'm developing window docker - tool, allowing to turn any toplevel window into panel. It should check all toplevel windows in default display for properties (name, role, class, type, probably something else) and create panel on the same screen, which should grab window into GtkSocket

Re: How to get GdkNativeWindow from GdkWindow? (need during iteration of display, using gdk)

2011-03-13 Thread Mike Cookson
more generic way to get it. Sun, 13 Mar 2011 21:56:45 +0300 письмо от Mike Cookson cook60020...@mail.ru: Hi all. I'm developing window docker - tool, allowing to turn any toplevel window into panel. It should check all toplevel windows in default display for properties (name, role, class

Re: Can g_error() write logs to files?

2011-03-05 Thread Mike Ma
于 2011年03月05日 17:33, David Nečas 写道: On Sat, Mar 05, 2011 at 02:13:20PM +0800, Mike Ma wrote: I want g_error() to write messages to files, because released edition shouldn't to print any messages on terminal. But if find any bugs, should to find error messages to send support team. I have

Can g_error() write logs to files?

2011-03-04 Thread Mike Ma
error log files? Thank you for all. -- Mike. Blog: http://ekd123.org/ Fedora Project Contributor - Translator. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

OOP in C (A SIMPLE BUT EASY LIBRARY. NOT USEFUL FOR Professional APP)

2011-02-15 Thread Mike
VISIT THIS PAGE: http://pingf.is-programmer.com/posts/24088.html SORRY FOR MY POOR ENGLISH. IF YOU DON'T LIKE IT, PLEASE REPORT YOUR REASON TO GOOGLE CODE, MY FRIEND WILL THANK YOU. :-) BEST WISHES. MIKE. -- Mike. Blog: http://www.ekd123.org/ Fedora Project Contributor

OOP in C (A SIMPLE BUT EASY LIBRARY. NOT USEFUL FOR Professional APP)

2011-02-15 Thread Mike
VISIT THIS PAGE: http://pingf.is-programmer.com/posts/24088.html SORRY FOR MY POOR ENGLISH. IF YOU DON'T LIKE IT, PLEASE REPORT YOUR REASON TO GOOGLE CODE, MY FRIEND WILL THANK YOU. :-) BEST WISHES. MIKE. -- Mike. Blog: http://www.ekd123.org/ Fedora Project Contributor

Couldn't link my app with GTK+ 3

2011-01-31 Thread Mike
: ld returned 1 exit status May be I must to compile latest GTK+ by myself? (Sorry for my poor English.) -- Mike. Blog: http://ekd123.is-programmer.com/ Fedora Project Contributor. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Couldn't link my app with GTK+ 3

2011-01-31 Thread Mike
于 2011年01月31日 16:56, David Nečas 写道: On Mon, Jan 31, 2011 at 04:03:04PM +0800, Mike wrote: OS: Fedora 14 x86_64 GCC: 4.5.1 20100924 I have a app project, use GTK+2. I want to move it to GTK+3. So I git clone latest glib. Compiled them. (I use GTK3 in mirror, not compile by myself) Does pkg

How to use GNOME Keyring?

2011-01-31 Thread Mike
How to use GNOME Keyring? I want some examples. Thx a lot. -- Mike. Blog: http://ekd123.is-programmer.com/ Fedora Project Contributor. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Re: How to implement a global hot-key listener ?

2010-12-06 Thread Mike Massonnet
mentions. http://kaizer.se/wiki/keybinder/ https://github.com/engla/keybinder My 2 cents, -- Mike ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

pkg-config CFLAGS/LIBS ignored in GLIB 2.26.0 build

2010-12-03 Thread Mike
in any Makefile, only set. Therefore, these flags are not properly being passed to the compiler. Am I missing something? Thanks, Mike ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkButton, enter-notify signal, and GdkWindow

2010-11-23 Thread Mike Massonnet
http://library.gnome.org/devel/gdk/2.22/gdk-Events.html#GdkEventMask HTH Kind Regards -- Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Annoyance with treestore (SimpleList) and remove row

2010-10-25 Thread Mike Martin
((null) fundamental for (null)) *** ignoring at /home/mike/dvd_cat.pl line 467. Code is $itemdel-signal_connect('activate'=sub{ my @index= $header_table-get_selected_indices; warning occurs with both splice @{$header_table-{data}},$index[0],1; and my $iter

CellRenderCombo in SimpleList example and question re: go to position

2010-10-08 Thread Mike Martin
Hi I am working on getting CellRendererCombo working as I want Code ##Setup combo column type## Gtk2::SimpleList-add_column_type( 'combo',type='Glib::Scalar',renderer='Gtk2::CellRendererCombo',attr= sub{ $_[1]-set(text,$_[2]-get($_[3],$_[4])); $_[1]-set(has_entry,TRUE); $_[1]-set(editable,TRUE);

Re: Get Iter/Path from CellRendererCombo

2010-10-02 Thread Mike Martin
annoying - just would be nice to be able to get the path direct from the model On 01/10/2010, Kevin Ryde use...@zip.com.au wrote: Mike Martin redt...@gmail.com writes: if ( $cell-get(model)-get( $combo_iter, 1 ) eq $val ) { If you know what columns are what then that's about

Re: Get Iter/Path from CellRendererCombo

2010-10-02 Thread Mike Martin
On 02/10/2010, Mike Martin redt...@gmail.com wrote: I think we may have crossed as that is more or less what I have done $cat_rend-signal_connect('changed'=sub{ my $rend_iter=$_[2]; # iter of selected item $valid=$cat_rend-get(model)-get_value($rend_iter,0); } ); $cat_rend-signal_connect

g_value_type_transformable String to Enum fails

2010-09-28 Thread Mike Massonnet
-object.h int main (int argc, char *argv[]) {        g_type_init ();        g_value_type_transformable (G_TYPE_STRING, G_TYPE_ENUM);        return 0; } -- Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

  1   2   3   4   >