Re: Past and future evolution of Gtk+

2017-09-17 Thread Ian Chapman
tly simplifies Gtk for me. Is there an evaluation on these alternative GUIs? Regards Ian. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Cross-compiling GTK+, missing icons

2017-05-28 Thread Ian Chapman
n even on the same distro version. Regards Ian. On 28/05/17 12:09 PM, Gerardo Ballabio wrote: It looks like no moderators are actually _reading_ this list... Resending without attachments. 2017-05-23 22:54 GMT+02:00 Gerardo Ballabio mailto:gerardo.balla...@gmail.com>>: Hello all,

Re: Gray out a menu item Edit/copy etc

2017-04-08 Thread Ian Chapman
On 04/07/17 03:25, Stefan Salewski wrote: On Thu, 2017-04-06 at 19:52 -0400, Ian Chapman wrote: Now I need to turn it on/off so that I can use/disable it. For GTK3 we have https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-sensitive So there should be a similar function

Gray out a menu item Edit/copy etc

2017-04-06 Thread Ian Chapman
ciated since 3.10. I got it from the Edit/Hierarchy. But it looks okay. Should I change it to GtkMenuItem? Regards Ian. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

$HOME and gtk_file_chooser_set_current_folder

2017-03-01 Thread Ian Chapman
older(filechooser, WorkingPath); MyWorkRound() strcpy (WorkingPath, getenv("HOME")); strcat (WorkingPath, "/Project/"); I am curious to hear expert comments. Regards Ian. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Gtk3 portability

2017-02-11 Thread Ian Chapman
Thanks guys, these suggestions give me something to work on. Regards Ian.' On 11/02/17 02:48 PM, Paul Davis wrote: GTK cannot be statically linked. Or if it can (I may have failed to keep up with changes in GTK3) it requires special compile-time configuration options. On Sat, Feb 11,

Gtk3 portability

2017-02-11 Thread Ian Chapman
few pointers so that I can generate the program file (binary file) without all the above hassle? Regards Ian. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

RE: GtkComboBox with appears-as-list - broken? going away?

2016-12-29 Thread Ian Puleston
> -Original Message- > From: Ian Puleston [mailto:i...@underpressuredivers.com] > Sent: Tuesday, December 13, 2016 1:15 PM > > Thanks. I found this bug report opened a couple of years ago which seems to > be the same thing that I'm seeing with appears-

RE: GtkComobBox with appears-as-list - broken? going away?

2016-12-13 Thread Ian Puleston
sibly fixing it if I get some time. Those mock-ups for the new replacement look great. And with a proper scroll bar - that will keep us detractors happy :-) Ian > -Original Message- > From: Emmanuele Bassi [mailto:eba...@gmail.com] > Sent: Tuesday, December 13, 2016 12:5

GtkComobBox with appears-as-list - broken? going away?

2016-12-13 Thread Ian Puleston
: Remove appears-as-list style property. Remove all the code handling the appears-as-list=TRUE case". So is this style property known to be not working in GTK-3? And is that the reason that it is being removed, or something else? Will it be removed in GTK-3 or not until GTK-4? Ian

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

2016-12-08 Thread Ian Puleston
> From: Timm Bäder [mailto:m...@baedert.org] > > On 07.12, Ian Puleston wrote: > > A little debugging showed that the time is spent in > > gtk_file_chooser_dialog_new which takes 15 seconds to execute. I tried > > switching to gtk_file_chooser_native_new instead

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

2016-12-07 Thread Ian Puleston
ws it when compiled with GTK 3.22.1 (although it needs a couple of minor edits for that). Ian ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

gtk_entry_set is a bit late.

2016-07-04 Thread Ian Chapman
nation of servicing the signal. The various phases do take some real time to run. Any pointers on how to update the status as the program goes through the phases showing something is working would be appreciated. It is a gui application so there should be a way to do it without resort to the t

Re: signal for closing app

2016-06-06 Thread Ian Chapman
;} With a Chooser as the top levels you may need "gtk_widget_destroy (ChooseProjectDialog);" to get rid of it, but I'm getting a bit deeper than I should with that. Regards Ian. On 06/06/16 17:52, Paul Davis wrote: the window manager "close" button being cl

Re: multiple windows

2016-05-23 Thread Ian Chapman
build all the widgets that I put in the glade file even though I only need to see them. Regards and thanks to you both Ian. On 05/19/16 09:48, Paul Davis wrote: You need to make the 2nd window modal. And you need to fix the bugs in your code. Use a debugger and set a breakpoint in g_logv, then

multiple windows

2016-05-19 Thread Ian Chapman
that way I expect, the only hick is that window1 functions can be executed in parallel and that is not desired. I'm using the top level window but there are also offscreen and application windows and I've not determined when they should be used? Any pointers greatly appre

Re: "Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Ian Chapman
Yes, I had something like that and ended with this which I hope may help you. I was thinking pull the widgets out of the glade file if that makes sense. Ian main.cpp GtkWidget *Battery, *Temp, *Chip_volts; //these are GtkProgressBar derived from glade. int main (int argc, char *argv

Re: g_idle_add() clarification

2015-01-20 Thread Ian Chapman
in() after gtk_widget_show (window); I'm stuck for the moment not understanding. Richard's suggestion improved things but my code and idea is still broken on exiting Scanning() Regards Ian. On 01/20/2015 04:57 PM, Chris Vine wrote: On Tue, 20 Jan 2015 16:47:27 -0500 Ian Chapman wro

Re: g_idle_add() clarification

2015-01-20 Thread Ian Chapman
the GLib-CRITICAL stuff on exiting Scanning(). Ian. On 01/20/2015 03:34 PM, richard boaz wrote: hi, you are calling the function Scanning() in the g_idle_add() call. richard On Tue, Jan 20, 2015 at 3:23 PM, Ian Chapman <mailto:ichap...@videotron.ca>> wrote: Hi all, Sorry to b

g_idle_add() clarification

2015-01-20 Thread Ian Chapman
4011): GLib-CRITICAL **: g_idle_add_full: assertion `function != NULL' failed on_StartScan_activate () at main.cpp:129 (gdb) next Exiting StartScan. guint Scanning(void) { while(1 == scan_on_fg) { //Bean counting with rest of GUI in control, I hoped. } return(F

Re: Progress_bar failing to change

2014-12-16 Thread Ian Chapman
Spot on Hrvoje, that's my problem, many thanks for the help. I'll have to change the way I'm thinking. Paul, your comment is correct, I should have taken more care in cutting the clutter from the my problem, sorry about that. Ian. On 12/16/2014 03:55 AM, Hrvoje Niksic wrote:

Progress_bar failing to change

2014-12-15 Thread Ian Chapman
Hi All, I'm having a strange problem using gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(Battery), x); I have it in two places, the first in my file that has main() and that works like I'd expect. The second in a different module and that compiles and runs but fails to change the progress ba

Gtk and SDL

2014-10-30 Thread Ian Chapman
Is it simple to put a dynamic SDL generated image into a Gtk 3 container or is it best to keep them as separate as possible? Ian. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Widget

2014-09-12 Thread Ian Chapman
Hi, Is there a gtk+-3 widget a bit like a progress bar but simply a light where the brilliance can be controlled? That is lamp off, lamp dim, lamp brighter and lamp bright as a minimum. Ian. ___ gtk-list mailing list gtk-list@gnome.org https

printf okay strcpy with cName_pt segment fault

2014-06-06 Thread Ian Chapman
above code. I can printf using cName_pt and it prints the file that I selected using the glade gtkfilechooserwidget. I must be doing something silly, I hope that someone can see what it is? Regards Ian. ___ gtk-list mailing list gtk-list@gnome.o

RE: Alternative to gtk_widget_set_sensitive on GetComboBoxEntry

2013-03-14 Thread Ian Puleston
re. Thanks Ian > -Original Message- > From: salsaman [mailto:salsa...@gmail.com] > Sent: Wednesday, March 13, 2013 4:42 AM > To: Ian Puleston > Cc: gtk-list@gnome.org > Subject: Re: Alternative to gtk_widget_set_sensitive on GetComboBo

RE: Alternative to gtk_widget_set_sensitive on GetComboBoxEntry

2013-03-12 Thread Ian Puleston
entry))), FALSE); However, what that achieves is just to make the entry field non-editable. The drop-down selection part still operates. Ian > -Original Message- > From: salsaman [mailto:salsa...@gmail.com] > Sent: Tuesday, March 12, 2013 3:19 PM > To: Ian Puleston > Cc: gt

Alternative to gtk_widget_set_sensitive on GetComboBoxEntry

2013-03-12 Thread Ian Puleston
). So is there a way to make it do that? This is with the latest GTK 2. Thanks, Ian ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Newbie problems using g_spawn_async_with_pipes and watching for IO

2013-02-20 Thread Ian Liu Rodrigues
If you only need the return code and output, you might find this method more usefull: http://developer.gnome.org/glib/stable/glib-Spawning-Processes.html#g-spawn-command-line-sync Ian On Tue, Feb 19, 2013 at 10:28 PM, Will Orr wrote: > Here[1] is the problematic code. > > I'm t

Re: GObject Destruction

2013-01-18 Thread Ian Liu Rodrigues
d now we are experiencing some problems like this. We usually don't know when to unref the object unless in their own signal handlers. The only rule I can think of is that you shouldn't do absolutely anything after a signal emission that might destroy your object. Regards, Ian L. __

Re: About the behaviour of g_strsplit_set

2013-01-16 Thread Ian Liu Rodrigues
Maybe strtok(3) <http://linux.die.net/man/3/strtok> can help you. Ian L. On Wed, Jan 16, 2013 at 6:19 AM, Alejandro T. Colombini < atcolomb...@gmail.com> wrote: > Of course, now it seems logical to me also. What a silly question I've > sent. I suppose I was blind by th

Re: GObject Destruction

2012-12-24 Thread Ian Liu Rodrigues
I was wondering if this GObject destruction scheme allows destroying an object in a callback for a signal of itself. Is this possible? Sorry for the slight of topic! Merry Christmas, Ian Liu. On Dec 24, 2012 9:38 AM, "David Nečas" wrote: > On Wed, 19 Dec 2012 18:55:40 +0100, N

Re: Question about Glade and application development

2012-07-30 Thread Ian Liu Rodrigues
Hey Kevin, You must select the HBox(3) and go to the packing tab. There you must set the "Expand" property to false! Regards, Ian L. Em 29/07/2012 23:15, "Kevin Anthony" escreveu: > I'm designing a small single screen front end to a home automation daemon > i

RE: Printing multiple copies not working in Windows

2012-04-09 Thread Ian Puleston
r what I selected in the print dialog. Ian From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On Behalf Of Ian Puleston Sent: Monday, April 09, 2012 5:00 PM Hi, I have an app that uses GtkPrintOperation and I'm finding that although printing multiple copies

Printing multiple copies not working in Windows

2012-04-09 Thread Ian Puleston
t;draw-page" handler gets called with pages 0, 1, 2, 3, . up to the last, then it goes back to page 0 and the sequence repeats for the 2nd copy. This is with GTK 2.24.10. Anyone know anything about this problem? Ian ___ gtk-list mailing lis

Re: Error while building GTK+ from source

2012-04-08 Thread Ian Liu Rodrigues
> > > I guess that is correct. pkg-config says 2.32.1 > > > > $ pkg-config --modversion glib-2.0 > > 2.32.1 > And what about `which glib-genmarshal'? Does it point to the correct binary compiled by you? Ian L. ___

Re: Maximization or Maximized window size

2012-03-03 Thread Ian Liu Rodrigues
t_height. To get the screen you can call gtk_widget_get_screen. Cheers, Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: glib.timeout_add doesn't works well

2012-02-27 Thread Ian Liu Rodrigues
eout_add(first_timeout, f) def f: (...) i = () if (condition): glib.timeout_add(i, f) # This will start another timeout with the new interval return False # This will end this timeout! Regards, Ian L. Rodrigues ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: tree_view_set_cursor outlier case

2012-02-13 Thread Ian Liu Rodrigues
cell-data-func> Regards, Ian On Mon, Feb 13, 2012 at 2:37 AM, Enoch Langston wrote: > My name is Kevin and I work in IT support. I am new to the mailing list > and development in general. I have found gtk both rewarding and difficult > to learn. I have especially been having a rough time

Re: g_strsplit() return

2012-02-09 Thread Ian Liu Rodrigues
> > The "newly-allocated" means that I have to call > g_strfreev(single_string_vector, TRUE) in the for loop or can I just do it > once outside the cycle? > You must free inside the loop, since a vector is allocated in every iteration.

Canceling a DnD

2011-12-13 Thread Ian Liu Rodrigues
rt(context, GDK_CURRENT_TIME); but that seems to do nothing at all. Thanks, Ian L. Rodrigues. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Re: Why GtkTextIter doesn't provide a function to return its byte index? How to retrieve it?

2011-08-10 Thread ian . liu88
You can use g_utf8_offset_to_pointer, and then its just a pointer arithmetic: gchar *buffer = ... ; gint offset = gtk_tree_iter_get_offset(iter); gint index = g_utf8_offset_to_pointer(buffer, offset) - buffer; Cheers Ian L. On , Gang Chen wrote: gtk-text-get-offset() returns the character

Re: Why GtkTextIter doesn't provide a function to return its byte index? How to retrieve it?

2011-08-10 Thread Ian Liu Rodrigues
gtk_text_iter_get_offset - http://developer.gnome.org/gtk/stable/GtkTextIter.html#gtk-text-iter-get-offset Ian L. On Mon, Aug 8, 2011 at 11:51 PM, Gang Chen wrote: > Hi all, > > My application has its own text buffer which uses byte indexes to > index the text. I create a GtkTex

Re: Re: make file command not working

2011-07-31 Thread ian . liu88
Please read http://www.catb.org/~esr/faqs/smart-questions.html Yeti Also, it is a common practice to place a "README" file in projects. If you read GTK's "README" file, you will see the installation instructions ;-) Cheers, Ian L. __

Re: Regarding GLIB 2.29.8 instalation

2011-07-02 Thread Ian Liu Rodrigues
doesn't point to that, you will not be able to use them. You should set export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH I guess you won't have troubles with GObject Introspection, since that folder is already pre

Editable cell renderers

2011-05-14 Thread Ian Liu Rodrigues
Hi list! I have an editable cell renderer which starts editing when the mouse button is *pressed*. This seems odd since the user can't DnD a selected row. Is it possible to start editing on mouse *release* and enable DnD for editable renderers? Cheers,

Re: Tooltips only work on top half of a GtkTreeView

2011-05-02 Thread Ian Liu Rodrigues
I guess the function to transform the X, Y coordinates is wrong. Try changing gtk_tree_view_convert_bin_window_to_tree_coords to gtk_tree_view_convert_widget_to_bin_window_coords Ian L. On Fri, Apr 29, 2011 at 12:08 PM, Nigel Stuckey < nigel.stuc...@systemgarden.com> wrote: > I&#

Re: GTK+ 3.0.9 installation issue on Ubuntu 10.10

2011-05-02 Thread Ian Liu Rodrigues
You must set the PKG_CONFIG_PATH environment variable: export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" Ian L. On Thu, Apr 28, 2011 at 8:13 AM, Benjamin Trias wrote: > Hello there, > > I'm not sure whether i did something wrong, but i failed insta

Re: Drawing a line in the GtkTable cell

2011-03-22 Thread Ian Liu Rodrigues
Pack one of GtkHSeparator or GtkVSeparator ;-) Ian L. On Tue, Mar 22, 2011 at 7:52 PM, wrote: > Hi, > I need your expertise one more time. > > I need to draw a line in the cell of GtkTable. > What is the best and quickest way to achieve it

Re: problems compiling gtk3

2011-03-15 Thread Ian Liu Rodrigues
XDG_DATA_DIRS=$BASE/share:$XDG_DATA_DIRS Ian L. On Tue, Mar 15, 2011 at 5:21 PM, Josh Bialkowski wrote: > Hello, I'm having some trouble compiling gtk3 on ubuntu lucid. I've > successfully compiled and installed the following versions of the > pre-reqs from source: > > glib-2.

Pango tabs and printing

2011-02-23 Thread Ian Puleston
oint being 1/72". So if I want a tab to be set at, say, 1 inch, setting it to "72 * PANGO_SCALE" Pango units should result in that, irrespective of the actual resolution of the print device. Is this correct? Note that this is the behavior that I see in Linux, but not in Windows

MinGW versus GTK libintl.dll.a building GTK in Windows

2011-02-21 Thread Ian
o -LC:/GTK/GTK-2.22.1/lib/ -LC:/GTK/GTK-2.22.1/lib -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L/mingw/lib c:/mingw/lib/libintl.dll.a /mingw/lib/libiconv.dll.a -L/mingw/lib updateiconcache.o: In function `main': c:\Users\Ian\Development\GTK\GTK\gtk+-2.22.1\gtk/updatei

RE: Problems printing from a wide PangoLayoutLine

2011-02-17 Thread Ian
> -Original Message- > From: Ian [mailto:i...@underpressuredivers.com] > > > -Original Message----- > > From: Ian Puleston > > > > The other problem I am having is that I now need to print to a page in > > landscape format and with narrow

RE: Problems printing from a wide PangoLayoutLine

2011-02-17 Thread Ian
> -Original Message- > From: Ian Puleston > > The other problem I am having is that I now need to print to a page in > landscape format and with narrow margins. I set the margins to 0.25" via > gtk_page_setup_set_top_margin() etc. I then draw the grid up to tho

Problems printing from a wide PangoLayoutLine

2011-02-10 Thread Ian Puleston
> -Original Message- > From: Ian Puleston [mailto:i...@underpressuredivers.com] > > I'm have an application that uses GTK and print pages to a printer with > text overlaid in a grid using pango/cairo and GtkPrintOperation etc. > This works great, but I am currently

Problems printing dotted/dashed lines - cairo_set_dash working?

2011-02-10 Thread Ian Puleston
d, 2, 0); Anyone know if cairo_set_dash should work OK in a Windows build? Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Re: Happy New Year

2011-02-03 Thread ian . liu88
Happy New Year! From a Half-Chinese in Brazil ;-) Ian Liu Rodrigues On Feb 3, 2011 2:54am, 纵横天下 wrote: Happ New Year!! Have a good time. (From China) 在 2011年2月2日 下午9:31,狼:0)七度 838317...@qq.com>写道: Happy New Year. From China. -- Original -- F

GtkPrintOperation and custom tab

2010-10-04 Thread ian . liu88
page, but if the page is large enough, the print operation starts *before* the page is fully loaded, so it prints only a part of it. I appreciate any help. Kind regards, Ian L. Rodrigues --- [1] - http://library.gnome.org/devel/gtk/stable/gtk-High-level-Printing-API.html#GtkPrintOperation

Re: Contribution: portuguese translation for GTK+ 2.0 Tutorial

2010-09-30 Thread Ian Liu Rodrigues
I'm also Brazillian and I work with GTK for 2 years. I would also like to help on this ;) Include me on the private emails too if you want. Ian On Thu, Sep 30, 2010 at 9:28 AM, frederico schardong wrote: > Hi Peter, > > My name is Frederico and I'm from Brazil too. I work

Re: Gettext question for GTK+ Guru

2010-09-04 Thread Ian Liu Rodrigues
ely not an Autotools/i18n expert ;-) I would also like to hear others advice, since I'm just learning this too. Regards, Ian L. Rodrigues. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Syntax highlight in GtkDoc

2010-08-05 Thread Ian Liu Rodrigues
> Did you try generation any other docs apart yours? Are those pretty or plain? I just compiled GTK 2.20.1 and the examples are plain text. Weird! In Devhelp, I have the documentation from Ubuntu's repo, which is highlighted. Ian. ___ gtk-list

Re: Syntax highlight in GtkDoc

2010-08-05 Thread Ian Liu Rodrigues
I'm using GtkDoc 1.4, which is the default version for Ubuntu 10.04 Maybe there is a flag that must be set into the Makefile.am? Ian On Thu, Aug 5, 2010 at 10:18 AM, Tadej Borovšak wrote: > Hi. > > Your markup is just fine, maybe your gtk-doc is too old to highlight > the

Syntax highlight in GtkDoc

2010-08-05 Thread Ian Liu Rodrigues
* * Foo * * // some code * * */ So, how can I make the example code highlighted? Cheers, Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtkcombobox with self internal code to the options

2010-06-24 Thread Ian Liu Rodrigues
You shall not beg, but you should test ;-) Yes, you can set the active option with the 'gtk_combo_box_set_active' or 'gtk_combo_box_set_active_iter'. On Thu, Jun 24, 2010 at 3:07 PM, John Williams wrote: > Shall I beg? > > 2010/6/21 John Williams : > > Anyone? > > > > 2010/6/16 John Williams :

Re: Layout Manager

2010-06-17 Thread Ian Liu Rodrigues
me to read the Gtk tutorial. You can also learn from the gtk-demo program, available in the package "gtk2.0-examples" from Ubuntu repository. Cheers, Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Layout Manager

2010-06-17 Thread Ian Liu Rodrigues
Could you be more specific? When you say "Layout Manager" you mean Glade/GtkBuilder? Ian L. On Thu, Jun 17, 2010 at 7:56 AM, Emeka wrote: > Hello All, > > Could someone direct me to where I can read up stuff on layout managers? &

Re: Newbie

2010-06-16 Thread Ian Liu Rodrigues
Attached there is an example of usage Regards, Ian L. On Wed, Jun 16, 2010 at 10:32 AM, Manu Kaul wrote: > Hi Ian, > I have already looked at that API but I am just wondering if I can see some > sample code to see how it all hangs together and get a better idea? > > Cheers! >

Re: free pixbuf

2010-05-17 Thread Ian Liu Rodrigues
I guess you must use g_object_unref. The documentation says it starts with one reference in case of success. Ian L. On Mon, May 17, 2010 at 2:01 PM, maxim maxim wrote: > Hi to all, > > How to free allocated memory for pixbuf with gdk_pixbuf_new_from_file()? &

Re: Is there a GTK version preprocessor symbol

2010-05-06 Thread Ian Liu Rodrigues
#if GTK_CHECK_VERSION(2,12,0) ... #endif ;-) On Thu, May 6, 2010 at 9:18 AM, Lothar Scholz wrote: > r ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: Problem debugging the GTK dll in Windows

2010-04-03 Thread Ian
> -Original Message- > From: Ian Puleston > Sent: Thursday, April 01, 2010 5:15 PM > > I downloaded the GTK 2.16.6 source and successfully compiled it > under mingw. The result was a > built libgtk-win32-2.0-0.dll file with full symbols. So far so good. > > I t

Problem debugging the GTK dll in Windows

2010-04-01 Thread Ian Puleston
it-deps=no --disable-gtk-doc --disable-static Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: Windows theme not working in GTK 2.18.7

2010-04-01 Thread Ian Puleston
this mean all use of themes is disabled in XP? And is it only XP or does the same apply for Vista and Windows 7? Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Windows theme not working in GTK 2.18.7

2010-03-31 Thread Ian Puleston
t the nice rounded corners of the Windows theme). I copied the gtkrc file from $GTK_BASEDIR/etc/gtk-2.0 from the 2.16 installation - it contains a single line 'gtk-theme-name = "MS-Windows"'. Did something change? Ian ___

RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-25 Thread Ian
o a Temp folder on the flash drive mounted as E:, process explorer show that the app has 3 files on it: FileE:\ FileE:\ FileE:\Temp Think this is worth a Bugzilla report against GtkFileChooserDialog? Ian ___ gtk-list mailing list gtk-l

RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-25 Thread Ian
ck else could be preventing Windows from un-mounting it? > > You could try (though it's unlikely to help) explicitly setting the > file chooser's current directory to C:\ before you delete it. Thanks, but already tried exactly that - didn't help. Ian __

RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
> -Original Message- > From: Ian Puleston [mailto:i...@underpressuredivers.com] > > Is there anything I might be missing to tidy up after the > GtkFileChooserDialog that might be causing this? I'm using GTK > 2.16.6. I tried a hack to temporarily

RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
> -Original Message- > From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On > Sent: Tuesday, March 23, 2010 4:48 PM > > On Tue, 23 Mar 2010 16:42:34 -0700, Ian Puleston wrote: > > > Is there anything I might be missing to tidy up after the >

Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
6.6. Thanks, Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Hello Everyone!

2010-03-07 Thread Ian Liu Rodrigues
Those docs can be seen in Devhelp, but I would also like to see some man pages too ;) Ian On Sun, Mar 7, 2010 at 9:47 AM, Edward sm...@gtk wrote: > Hello Everyone!~ > > My name is Edward Smith, new guy to the GTK field. > It's my first time to explore the GTK world. > I

Question about GtkSeparatorMenuItem

2010-01-25 Thread Ian Liu Rodrigues
rator does emit "activate" signal, while the gtk one does not. How come? Kind regards, Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: Assertion from gtk_notebook_append_page

2009-12-06 Thread Ian
at doesn't get initialized until after the notebook has been built. This I can easily fix. Thanks Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Assertion from gtk_notebook_append_page

2009-12-06 Thread Ian
re printed when gtk_notebook_append_page is called in the following sequence: viewWin = gtk_scrolled_window_new(NULL, NULL); . noteBook = gtk_notebook_new(); lbl = gtk_label_new("some text"); gtk_notebook_append_page(GTK_NOTEBOOK(noteBook),

RE: Pango problem with 16-bit character?

2009-12-05 Thread Ian
> -Original Message- > From: Ian > Sent: Saturday, December 05, 2009 4:51 PM > > I seem to have uncovered a problem with Pango's handling of 16-bit UTF8 > characters in certain circumstances. Or not > the double-left facing chevron character (ASCII 171 or 0x

Pango problem with 16-bit character?

2009-12-05 Thread Ian
racter sequence "34 ab 20" returns "34 c2 ab 20" and displays properly, converting "34 ab 0a" returns "34 c2 ab 0a" and does not. An easy work around is to insert a space after any graphical character on the end of a line. Ian ___

Re: dynamically growing 2D aray of structues

2009-11-26 Thread Ian Liu
You can always map a 2d coordinate intto 1d: (i, j) -> i * w + j where w is the width of the matrix Ian L. On Thu, Nov 26, 2009 at 3:04 PM, wrote: > As far as I know a GArray grows an array of pointers in 1D not 2D. > I thought of a GArray myself but my question, although not clear,

Re: Noob: Is this the correct place to ask Python/Gtk coding questions?

2009-10-12 Thread Ian Liu
Many questions regarding PyGtk are easily translated to C Gtk, so I guess yes, it is valid to ask here. Ian L. On Mon, Oct 12, 2009 at 4:18 PM, Daniel B. Thurman wrote: > This is a second posting, as I am not sure > if this message is reaching gtk-list. > > I wanted to check f

Re: Reparent tree iter

2009-08-16 Thread Ian Liu
Hey Kristian, Thanks for the answer. The problem with the "cursor-move" event is that I was re-parenting the row to the same "father" when the user clicked on it. This, obviously, "canceled" the selection, because the original row which was clicked is now replaced by

Reparent tree iter

2009-08-09 Thread Ian Liu
ginal selected iter is gone). I'm wondering if there is a way to re-parent an iter *without* destroying it. Thanks! Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: FileChooser dialog positioning on parent in Win32 bug?

2009-07-02 Thread Ian Puleston
tk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER_ON_PARENT); Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: How can I get the resolution of printer?

2009-06-26 Thread Ian Puleston
ution list of specific printer? Thanks advanced! Alfred Young If it is inside your print dialog: dpi_x = gtk_print_context_get_dpi_x(context); dpi_y = gtk_print_context_get_dpi_y(context); The print context is passed to your “begin-print” signal handler.

Re: Passing NULL to the function

2009-06-04 Thread Ian Liu
I would suggest the same, just set the label to show no text On Thu, Jun 4, 2009 at 3:59 AM, Robert Pearce wrote: > On Wed, 3 Jun 2009 17:38:29 -0400 (EDT) > iko...@earthlink.net wrote: > > > What I want is do something like this: > > > > 1. In my main app create a status bar and the text editor.

Re: Passing NULL to the function

2009-06-03 Thread Ian Liu
I don't understand why you would do that.. If you are talking about reordering, take a look at gtk_box_reorder_child Cheers, Ian L. On Wed, Jun 3, 2009 at 4:40 PM, wrote: > Hi, ALL, > I am wondering if it is possible to pass NULL to > gtk_box_pack_start/gtk_box_pack_end? >

Re: GtkAboutDialog link bug

2009-06-01 Thread Ian Liu
Sorry for the grammar errors ;P Again: Does anyone knows exactly the version which fix this issue? How can I test the new version and how would I make my code portable between versions? Thanks! Ian L. On Mon, Jun 1, 2009 at 9:18 PM, Ian Liu wrote: > Hi list, > > There is a bug in

GtkAboutDialog link bug

2009-06-01 Thread Ian Liu
nyone knows what version fix this issue? How can I test it and how can I how would I make my code portable so that in next version I don't have to correct my workaround? Regards, Ian L. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.o

RE: Finding width of a piece of text

2009-05-21 Thread Ian Puleston
not seem to work in properly Windows either. The following wraps the printout at 7.5" in Linux, but at about 2" in Windows: pango_layout_set_width(layout, (int)(7.5 * PANGO_SCALE * 72)); I'll submit a bug report on that too. Ian ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: Finding width of a piece of text

2009-05-20 Thread Ian Puleston
> -Original Message- > From: me > Sent: Wednesday, May 20, 2009 3:38 PM > > The function that I wrote to get the text width is below. For the text > "Ian Puleston" with Arial font and point size 10 it returns > width 60416 Pango units which translates to 0

RE: Finding width of a piece of text

2009-05-20 Thread Ian Puleston
> -Original Message- > From: Behdad Esfahbod > > On 05/20/2009 06:38 PM, Ian Puleston wrote: > >> -Original Message- > >> From: Ian Puleston > >> Sent: Sunday, April 26, 2009 8:31 PM > >> > >>> -Original Message

RE: Finding width of a piece of text

2009-05-20 Thread Ian Puleston
> -Original Message- > From: Ian Puleston > Sent: Sunday, April 26, 2009 8:31 PM > > > -Original Message- > > From: > Behdad Esfahbod > > Sent: Sunday, April 26, 2009 6:13 PM > > > > On 04/26/2009 07:27 PM, Ian Puleston wrote: > >

RE: Pango tab stops

2009-04-27 Thread Ian Puleston
> -Original Message- > From: Ian Puleston > Sent: Friday, April 24, 2009 6:48 PM > > Something that I have noticed is that the tab stop spacing problem when > giving them in Pango units only happens in Windows. Hence I'm sure it has to be a Pango Win32 bug, so FYI

Re: Finding width of a piece of text

2009-04-26 Thread Ian Puleston
> -Original Message- > From: > Behdad Esfahbod > Sent: Sunday, April 26, 2009 6:13 PM > > On 04/26/2009 09:09 PM, Ian Puleston wrote: > > I may well be wrong, but it seems to me that in this case it should > not matter. Should 10-point courier font not be the sa

  1   2   3   4   >