Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-23 Thread Emmanuel Thomas-Maurin
etter if the document can add a NOTE for > gtk-thread.c example to remind reader it's not guarantee to work on WIN32. It's actually well documented on: http://www.gtk.org/documentation.php -> Windows portability for gnome software (http://www.iki.fi/tml/fosdem-2006.pdf) -- Emman

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-23 Thread Emmanuel Thomas-Maurin
the code. ;) -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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

2011-12-30 Thread Emmanuel Thomas-Maurin
ique > is recommended as it is most safe and most portable. You may check out http://www.iki.fi/tml/fosdem-2006.pdf about gtk-win32 and threads. -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Runtime environment for GTK+ application

2012-01-12 Thread Emmanuel Thomas-Maurin
building app/installer on win32 is available on the site (http://www.newsrssticker.com/help.php#building_from_source_howto). -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: cursor position in filename entry of gtkfilechooserdialog

2012-02-02 Thread Emmanuel Thomas-Maurin
> cursor position to be at the end of the string I set as the filename? I think you may use something like: gtk_editable_set_position(GTK_EDITABLE(entry), -1) -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gn

Re: cursor position in filename entry of gtkfilechooserdialog

2012-02-03 Thread Emmanuel Thomas-Maurin
On 02/03/2012 01:17 AM, Ferdinand Ramirez wrote: > --- On Thu, 2/2/12, Emmanuel Thomas-Maurin wrote: > >> I think you may use something like: >> gtk_editable_set_position(GTK_EDITABLE(entry), -1) >> > > The problem is that I don't seem to have access to loca

Re: xml parse

2012-05-27 Thread Emmanuel Thomas-Maurin
//linkinghub.elsevier.com/retrieve/pii/S0921452610007271 > > > > > > > > > > Is there any xml parser that I can use with GTK2+? google says xml > parsing can be done with php. What about C? > > Please help. > &

Re: Accelmap value

2012-06-20 Thread Emmanuel Thomas-Maurin
t; So I try p, but it doesn't work. >>> >>> Somebody could tell me which keyword I have to use in my Accelmap for >>> a shortcut using AltGr key ? >>> >>> Thanks a lot, >>> Jean >>> ___ &

Re: Porting Between Linux and Windows

2012-07-15 Thread Emmanuel Thomas-Maurin
by which to insulate yourself from the oddities > of UTF-16 pathnames. > > --karl One doc I found extremely useful is: http://www.iki.fi/tml/fosdem-2006.pdf There is also: http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/ (These are links from http://www.gtk.org/documentation.php) -- Emm

Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread Emmanuel Thomas-Maurin
u could create a GtkBox that contains a close GtkButton > and a centred GtkLabel as the title, set it as the titlebar with > gtk_window_set_titlebar(), then connect "clicked" to gtk_main_quit() or > something, though its a very hacky solution, and IDK if it will handle > dragging

Re: charset issue on Windows help needed

2014-09-10 Thread Emmanuel Thomas-Maurin
gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: charset issue on Windows help needed

2014-09-13 Thread Emmanuel Thomas-Maurin
OK, here is some example code (it's from 'tickr' application code). On 09/13/2014 10:42 AM, Geert Janssens wrote: On Thursday 11 September 2014 07:14:54 Emmanuel Thomas-Maurin wrote: > I've had a similar problem previously, with non-ascii (for instance > cyrill

Re: IA__gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

2015-03-12 Thread Emmanuel Thomas-Maurin
rtion 'GTK_IS_WIDGET (widget)' failed" warning. How can I fix this? Thanks, Rui -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: which gtk-win32 version to use?

2010-10-20 Thread Emmanuel Thomas-Maurin
Thanks everybody for the answers. So far, I've only found that one call to pango_layout_get_pixel_size() in my app was followed by a segfault although the layout is valid, so this remains quite confusing (at least for me.) Now I have one more question: In the linux version, I use g_timeout_add

pango-win32 chinese big5 encoding support

2011-03-21 Thread Emmanuel Thomas-Maurin
Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk::FileChooserButton

2011-04-29 Thread Emmanuel Thomas-Maurin
devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list Have you tried with Gtk::FileChooser::set_current_name() instead ? -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Getting a pointer to a dialog's 'Cancel' button

2011-05-04 Thread Emmanuel Thomas-Maurin
You could add the cancel button after creating the dialog with gtk-dialog-add-button: http://developer.gnome.org/gtk/stable/GtkDialog.html#gtk-dialog-add-button -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.o

GDK to Cairo move

2011-05-13 Thread Emmanuel Thomas-Maurin
m I missing? (The Cairo doc is somewhat spartan...) Thanks. -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GDK text rendering function (gdk_draw_layout deprecated).

2011-05-25 Thread Emmanuel Thomas-Maurin
d, but > there is no recommendation for what should be used in its place. What > is the right GDK function for drawing text, or is text drawing now > moved outside of GDK? Have a look at cairo / pango stuff. -- Emmanuel Thomas-Maurin ___ gtk-a

Re: gtkLabel resize itself and resize the whole window

2011-05-31 Thread Emmanuel Thomas-Maurin
text length ++ -- Emmanuel Thomas-Maurin ___ 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 Emmanuel Thomas-Maurin
_rectangle(cr, dest_x, dest_y, drawing_area_width, drawing_area_height); cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); cairo_fill(cr); cairo_destroy(cr); -- Emmanuel Thomas-Maurin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://ma