Re: Moving from mailing lists to Discourse

2019-02-08 Thread Jan Tojnar via gtk-devel-list
On Pá, úno 8, 2019 at 11:53 PM, Reuben Rissler wrote: Thanks. But it probably isn't possible to open an issue for Gtk by emailing a specific email address on GitLab, or am I wrong? Only in Enterprise Edition Premium: https://gitlab.com/help/user/project/service_desk

Functional programming with GLib

2017-04-23 Thread Dirk-Jan C. Binnema
epo: https://github.com/djcb/gxlib Docs: http://www.djcbsoftware.nl/code/gxlib/ Best wishes, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:d...@djcbsoftware.nl w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D D

German "Umlaute" in drag and drop

2017-01-08 Thread Jan
ser dialog in my application, which does open/access the files perfectly, even with the "Umlauts" (äöü) and all function handling the work, work as expected. Only when the same file becomes dragged and dropped, the special symbols are mixed up. From drag and drop I receive: file:///h

Re: GTK+3 Win32 Bundles : RFC

2013-09-09 Thread Jan Kneschke
. regards, Jan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: pixbuf outermost pixels are white

2013-08-23 Thread Jan Kratochvil
://www.jankratochvil.net/t/2.png Regards, Jan Kratochvil /* g++ -o 1 1.C -Wall -Werror -std=gnu++11 -g $(pkg-config --cflags --libs gtkmm-3.0);./1 */ #include gdkmm/general.h #include gtkmm/main.h #include gtkmm/window.h #include gtkmm/drawingarea.h #include vector #include stdio.h using

graphics inside tooltip?

2013-01-17 Thread Jan Schubert
Assuming I have a working tooltip (realized in C) showing just text and want to add some simple graphics (rectangles or just lines) inside this tooltip, what is the best way to do so? Any tips or links? Thx, Jan ___ gtk-list mailing list gtk-list

RE: [Development] Idea for automatic widget layout

2012-08-31 Thread jan-arve.saether
programming is not efficient. The alternative then is to use an iterative method, which is also slow. And I don't even know how well iterative methods works with discrete functions. regards, Jan Arve ___ gtk-list mailing list gtk-list@gnome.org https

Re: RFC: UI design

2012-01-09 Thread Jan Jokela
a fixed theme, but this is not necessarily a bad thing. Cheers, Jan Jokela On Mon, Jan 9, 2012 at 3:29 PM, Benjamin Otte o...@gnome.org wrote: Hey, Here's another discussion point I want people to think about before the hackfest. This time it's not so much about API in a direct way but more

Re: RFC: UI design

2012-01-09 Thread Jan Jokela
On Mon, Jan 9, 2012 at 5:36 PM, Benjamin Otte o...@gnome.org wrote: On Mon, Jan 9, 2012 at 5:59 PM, Jan Jokela janjok...@gmail.com wrote: Hej, great read! Regarding your point on Application design theming for different form factors, I think there isn't any logic in even attempting

Re: RFC: UI design

2012-01-09 Thread Jan Jokela
On Mon, Jan 9, 2012 at 6:49 PM, Paul Davis p...@linuxaudiosystems.comwrote: On Mon, Jan 9, 2012 at 1:44 PM, Jan Jokela janjok...@gmail.com wrote: . But for the App to be cohesive with the platform, the theme (the design and usability features of widgets) must remain identical

Re: Emacs --with-x-toolkit=gtk3 - iconify, move mouse over icon - crash

2011-10-31 Thread Jan Djärv
Hello. I installed the patch with tiny modifications. Jan D. 12 okt 2011 kl. 22:22 skrev Adam Sjøgren: On Wed, 12 Oct 2011 15:01:51 +0200, I wrote: When I compile emacs with gtk3 I get a crash if I iconify the Emacs window and move the mouse over the icon. [...] The attached

handling of duplicate _STRING and _FILENAME options in GOption

2011-04-06 Thread Jan Kneschke
Hi, I run into a problem with the error-handling of g_option_context_parse() and trying to understand the of the context-changes list. As far as I see the job of context-changes is to revert the changes applied to the arg_data's by the parsing to the original state in case of an error like

Re: [Vala] Wrapping Errors

2009-08-26 Thread Jan Hudec
error's message into the wrapping error message. The error code is not relevant. By the way, you should be suggesting things like this on the Gtk list, not here. -- Jan 'Bulb' Hudec b...@ucw.cz ___ gtk

Re: [Vala] Wrapping Errors with g_prefix_error?

2009-08-26 Thread Jan Hudec
On Sat, Aug 22, 2009 at 11:52:01 -0400, Yu Feng wrote: On Sat, 2009-08-22 at 09:24 +0200, Jan Hudec wrote: [...] Well, so the code further up the call stack is not going to look at the inner exception anyway except to print it to the operator, right? But for that, it's enough to embed

Re: A tale of waiting

2009-06-26 Thread Dirk-Jan Binnema
2009/6/26 Bastien Nocera had...@hadess.net On Fri, 2009-06-26 at 10:25 +0200, Jernej Simončič wrote: On Thu, 25 Jun 2009 12:12:05 +0200, Kristian Rietveld wrote: I don't know about Linux, but on Windows the native chooser displays large directories almost instantly, while the GTK+ one

RE: qt vs gtk

2009-01-14 Thread Andersen, Jan
Message- From: gtk-app-devel-list-boun...@gnome.org on behalf of Thomas Stover Sent: Wed 14-Jan-09 16:10 To: gtk-app-devel-list@gnome.org Subject: qt vs gtk With the recent news that Nokia will be releasing QT under LGPL, I'm seeing allot of knee-jerk anti-GTK comments out there. I know I'm

GtkRadioButton - Multi line mode?!?

2008-03-23 Thread Jan Schiefer
Hi! Is it somehow possible to set a GtkRadioButton's label to multi line mode, like it is possible for a GtkLabel? Thank you! Greetings, Jan Schiefer. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

GTK cell renderer for button?

2007-04-19 Thread Jan-Oliver Wagner
and looked at libgnome-db 2.99. There are some cell renderers, but AFAIKS none for a button. Any other hints where such a cell renderer might already have been implemented? All the best Jan ___ gtk-app-devel-list mailing list gtk-app-devel-list

SIGINT with gtk_main

2007-03-21 Thread Michiel Jan Laurens de Hoon
For my application, I need to run gtk_main but I want to quit gtk_main when either input is available on stdin or the user presses Ctrl-C. The former is easy (using g_io_add_watch), but I am not sure what the best approach is to handle Ctrl-C. Right now I am using g_timeout_add to check every

Re: SIGINT with gtk_main

2007-03-21 Thread Michiel Jan Laurens de Hoon
[EMAIL PROTECTED] wrote: static void signal_handler(int sig) { switch (sig) { case SIGINT: puts(SIGINT signal catched); break; case SIGTERM: puts(SIGTERM signal catched);

Re: Tooltips for GtkTreeView?

2007-02-28 Thread Jan-Oliver Wagner
Hello Ed, Am Donnerstag 22 Februar 2007 21:10 schrieb Ed Catmur: On Thu, 2007-02-22 at 20:50 +0100, Jan-Oliver Wagner wrote: does anyone established tooltips for the entries in a GtkTreeView? I've not found anything ready-to-use in the GTK API nor through a google search. So, any hint

Tooltips for GtkTreeView?

2007-02-22 Thread Jan-Oliver Wagner
Hello, does anyone established tooltips for the entries in a GtkTreeView? I've not found anything ready-to-use in the GTK API nor through a google search. So, any hint is welcome. Best Jan -- Dr. Jan-Oliver Wagner Intevation GmbH Amtsgericht

Re: gmodule-dl.c: _g_module_symbol()

2006-12-13 Thread Jan Schmidt
=dlerror(); if(pc) /* (error) */ else /* (ok) */ Anyone know if dlerror is thread safe? J. -- Jan Schmidt [EMAIL PROTECTED] T - If we were anyone but us, the fact that being shot down is often fatal would be a factor there. R - And if beggars were horses, something something ferrets

Re: Accompany index of deprecated symbols with GTK+ version?

2006-11-13 Thread Jan-Oliver Wagner
. Best Jan -- Jan-Oliver Wagner: www.intevation.de/~jan | GISpatcher: www.gispatcher.de Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org Intevation GmbH : www.intevation.de | Kolab : www.kolab.org FreeGIS : www.freegis.org | GAV

A problem with SCIM: runs, but doesn't work

2006-08-17 Thread jan
This one may seem a bit off-topic, but I hope you will bear with me. The reason I ask here rather than on the gtk-list@gnome.org is that I think people on this are more likely to be able to pinpoint what is going wrong; please let me know if I'm wrong. I have installed the latest version of

Re: Finding widget from its name?

2006-08-16 Thread jan
Hi Tomas, Now that is what I call a seriously good explanation! Thanks a lot. /jan [EMAIL PROTECTED] wrote: On Wed, Aug 16, 2006 at 06:02:27AM +0100, jan wrote: Progss wrote: [EMAIL PROTECTED] napisa?(a): Is there a function that allows one to search for a widget using its name or label

Finding widget from its name?

2006-08-15 Thread jan
Is there a function that allows one to search for a widget using its name or label? I'm using Glade 2 to design a window (just a basic input form), and each widget has a unique name. Unfortunately Glade doean't save any global pointers to the widgets; I can only assume that there must be

Re: Finding widget from its name?

2006-08-15 Thread jan
: What if I wasn't using Glade? The gtk+ documentation isn't exactly intuitive. /jan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

SCIM

2006-07-13 Thread jan
handle these things - maybe some of that is broken, or perhaps there is a configuration file somewhere that's not right? Or can it be my X server (version 7.0, I think)? /jan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

RE: newbie trap

2006-04-12 Thread Andersen, Jan
it. One trap Windows programmers always used to fall in was to update a progress indicator whenever a network packet arrived; this went well as long as the update managed to return before the next packet arrived, but it caused intermittent errors and crashes when the load got too big. /jan

Re: how can include just glib

2006-01-19 Thread Jan Kratochvil
Hi, On Tue, 13 Dec 2005 16:36:44 +0100, Daniel Espinosa wrote: ... but HOW can I init the library. If you use gtk and gtk_init, it will init GLib too then, how do I do that? What specific problem do you have? glib - it does not need any init gobject - it needs g_type_init()

Re: Placement of popup ( CellRendererDate from examples )

2005-09-07 Thread Jan Hudec
it. -- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Combobox Focus Challenge!!!

2005-09-01 Thread Jan-Marek Glogowski
Hi Maybe someone should extend the API docs or add a FAQ: gtk_widget_grab_focus( GTK_BIN(combo)-child ); Jan-Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Preview of some introspection stuff

2005-08-22 Thread Jan Hudec
the code you find there, replace the do $realfilename with whatever loading is appropriate and ask it to load PDF/Poppler/poppler.raw. --- Jan 'Bulb' Hudec [EMAIL PROTECTED

Re: Preview of some introspection stuff

2005-08-22 Thread Jan Hudec
On Mon, Aug 22, 2005 at 18:58:56 +0200, Torsten Schoenfeld wrote: On Sun, 2005-08-21 at 22:53 +0200, Jan Hudec wrote: I have installed glade files among perl modules some time ago. Take advantage of the fact, that _everything_ in lib is considered a module, no matter what extension

Re: custom TreeModel

2005-08-21 Thread Jan Hudec
::TreeModel? Using the Glib::Object::Subclass pragma? It has to use that. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Getting workspace number?

2005-08-18 Thread Jan-Marek Glogowski
the Metacity code (or check the gnome pager codebase). And you may check the window manager specification on www.freedesktop.org. HTH Jan-Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Re: Cannot hide dialog until signal handler exits

2005-08-18 Thread Jan-Marek Glogowski
immediately to show the progress bar in the underlying window? IMHO the easiest way is a g_timeout_add(0,..), which does the processing in the main loop. And return FALSE in your GSourceFunc, so the timeout is just run once. HTH Jan-Marek ___ gtk-app

Re: [GtkMenu] Callback problem with popups submenus

2005-08-18 Thread Jan-Marek Glogowski
Hi Emmanuel For me it works as expected. I just added a gtk_main(), a gtk_init(...) and a print()-callback and it works (on Debian Sarge gtk+ 2.6.4) For gtk_menu_popup I used ..., 0, gtk_get_current_event_time()); Maybe something else is wrong in your code? Jan-Marek

Re: g_signal_emit_by_name

2005-08-18 Thread Jan-Marek Glogowski
delete_event_callback(...) { return your_old_code(..); } gboolean close_or_continue() { gboolean result = your_old_code(..); if( FALSE == result ) gtk_widget_destroy( window ); return result; } HTH Jan-Marek ___ gtk-app-devel-list mailing list gtk-app-devel

Getting workspace number?

2005-08-17 Thread Jan Struyf
wnck_screen_get_active_workspace returns NULL, i.e., workspace is NULL. Any ideas? Thank you very much in advance. With kind regards, Jan Struyf. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: rounded rectangles problem

2005-08-11 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http

Re: error when starting app

2005-08-09 Thread Jan Hudec
). --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Troubleshooting segfault

2005-08-05 Thread Jan-Espen Pettersen
Jonathan Hayward wrote: I've been developing an application, and now it crashes shortly after starting; it segfaults (secondary damage?) either on the first attempt to strncpy() from a text input, or gtk_image_new_from_pixbuf(). Both of these were working reliably, and I haven't touched that

Re: Finding installed applications

2005-08-05 Thread Jan Hudec
application/octet-stream). (I'd assume it relies on header for network resources). --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Event Handling

2005-08-05 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Testing GTK application

2005-08-04 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http

Re: getting pango make to find new glib libraries before old

2005-08-01 Thread Jan M
I guess this isnt the group for this question. I'll move it to [EMAIL PROTECTED]. Jan - Original Message - From: Jan M To: gtk-list@gnome.org Sent: Friday, July 29, 2005 6:14 PM Subject: getting pango make to find new glib libraries before old Hi, How do

getting pango make to find new glib libraries before old

2005-07-29 Thread Jan M
Hi, How do I get the pango makefiles tosearch the glib directory /opt/gtk-2.6/lib/before /usr/lib/ (where it finds the old library) when linking? Thanks, Jan ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: Can a GtkHandleBox be made transient?

2005-07-21 Thread Jan-Marek Glogowski
gdk_window_set_transient_for ( handlebox-window, GdkWindow *parent ); Maybe you have to use gtk_widget_get_parent_window, if GtkHandleBox sets GTK_WIDGET_NO_WINDOW... HTH Jan-Marek ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman

Re: Discarding key pressed events.

2005-07-21 Thread Jan-Marek Glogowski
); ... g_signal_handler_unblock( obj, my_handler ); HTH Jan-Marek ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Glib::filename_to_unicode

2005-07-03 Thread Jan Hudec
; ? --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Mixed pixbuf and text

2005-07-01 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Mixed pixbuf and text

2005-07-01 Thread Jan Hudec
On Fri, Jul 01, 2005 at 10:29:13 +0200, The Saltydog wrote: On 7/1/05, Jan Hudec [EMAIL PROTECTED] wrote: Wow, that's complex! Simply running Gtk2-main_iteration while Gtk2-events_pending; between reading the lines is easier and does the job just as well. Yes, but I needed the user

Re: 100 Different Colors

2005-06-24 Thread Jan-Marek Glogowski
FYI - I just came up with the this example to illustrate a way to change the colors in a loop - it doesn't represent the solution! Algo is still: r = max, g = 0, b = 0 r = max , g = max, b = 0 r = 0, g = max, b = 0 r = 0, g = max, b = max r = 0, g = 0, b = max r = max, g = 0, b = max back to step

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
or gtk_tree_model_iter_children HTH Jan-Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: 100 Different Colors

2005-06-24 Thread Jan-Marek Glogowski
Thanks Jan-Marek and everyone else who replied. The suggestions have been really helpful. I'm making some progress. But I didn't know I had to deal with hue/saturation/intensity stuff for this. I searched but couldn't find any documentation for gtk_hsv_to_rgb()?? One website (pretty old one

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
Ok ok! However it doesn't work on my situation. What I am trying to do is something similar a bookmark. Then it has a root folder: Bookmark (that cotain all the folders and url's); and it has the url's (that are the 'leafs'). One requirement is I may move the folders and url's. So I need a

Re: 100 Different Colors

2005-06-21 Thread Jan-Marek Glogowski
= (i % 33 / 99) * G_MAXUINT16; c.green = i/99 * G_MAXUINT16; gdk_gc_set_rgb_fg_color( gc, c ); gdk_draw_rectangle (widget-window, gc, TRUE, i*15, 0, 11, 11); } HTH Jan-Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: What key is now pressed?

2005-06-21 Thread Jan
The main idea to know that key press or down in whole system, not only if my window have focus. On Mon, Jun 20, 2005 at 02:27:18PM -0400, Liam R. E. Quin wrote: On Mon, 2005-06-20 at 21:28 +, Jan wrote: Hello. Using gdk_display_get_pointer, I can know is ctrl, alt, shift now up

What key is now pressed?

2005-06-20 Thread Jan
Hello. Using gdk_display_get_pointer, I can know is ctrl, alt, shift now up or down, and I wonder is there function to check up or down any key? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GtkTreeView issues (porting from GtkCList)

2005-06-14 Thread Jan-Marek Glogowski
( tree_view, path, focus_column, FALSE ); gtk_tree_path_free( path ); } return FALSE; } You also need to write a button press event handler, to toggle the hover handling. HTH Jan-Marek ___ gtk-app-devel-list mailing list

Re: GStreamer 0.01

2005-05-27 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: GStreamer 0.01

2005-05-27 Thread Jan Hudec
On Fri, May 27, 2005 at 19:36:47 +0200, A. Pagaltzis wrote: * Jan Hudec [EMAIL PROTECTED] [2005-05-27 17:50]: Shouldn't it really be done in Glib? Glib provides the gint64 and guint64 types and I assume GStreamer just uses them. So it should be the Glib typemap that maps them to appropriate

Re: g_try_new and g_try_new0 + error reporting for g_object_set

2005-05-12 Thread Jan Kratochvil
Hi Stefan, On Wed, 09 Mar 2005 02:21:16 +0900, Stefan Kost wrote: Matthias Clasen wrote: ... g_new and g_new0 ... I am aware that I can write my own. But if many people do that it might make sense to have them in the lib. What do other do in this case? Nothing as general UNIX libraries

Re: L10n in Gtk2-perl with Locale::Maketext::Lexicon

2005-05-10 Thread Jan Hudec
correctly. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list

Subscript in GtkTextView

2005-04-21 Thread Jan
Hi. I would like to show some part of text in GtkTextView like if it in sub xhtml tag. My code is: gtk_text_buffer_create_tag(buffer, sub, rise-set, TRUE, rise, -3, NULL); gtk_text_buffer_apply_tag_by_name(buffer, sub, ...); this didn't work, but if I change properties of sub tag to, for

Re: Glade Perl codegen

2005-03-23 Thread Jan Hudec
. - Jan Hudec `Bulb' [EMAIL PROTECTED] ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Gnome2-1.0.21 - GnomeIconList fails with glibc error

2005-03-19 Thread Jan Hudec
, libgnome 2.8.1 and libgnomeui 2.8.1? Have you tried with glib/gtk 2.6.x and gnome/gnomeui 2.8.x? The problem may be already fixed there. --- Jan 'Bulb' Hudec [EMAIL PROTECTED

Re: Getting at Glade Tooltips

2005-03-18 Thread Jan Hudec
. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description: Digital signature ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: howto compile static gtk app?

2005-03-11 Thread Jan Kratochvil
On Wed, 09 Mar 2005 18:29:42 +0100, Andreas Rottmann wrote: Jan Kratochvil [EMAIL PROTECTED] writes: On Wed, 09 Mar 2005 11:22:50 +0100, Yang Hong wrote: ... I wan to compile a static gtk app, then it can run in a everiment without gtk libs. [...] GNU/Linux really is not suitable

Re: howto compile static gtk app?

2005-03-09 Thread Jan Kratochvil
Hi, On Wed, 09 Mar 2005 11:22:50 +0100, Yang Hong wrote: ... I wan to compile a static gtk app, then it can run in a everiment without gtk libs. It is depends if you really want just GTK or if you use also other parts of the Gnome framework. Gnome in general is not usable for 'static builds'

gdk_pixbuf_get_option

2005-02-05 Thread Jan Hudec
+ ## void gdk_pixbuf_fill (GdkPixbuf *pixbuf, guint32 pixel) =for apidoc =for arg pixel a packed RGBA value. --- Jan 'Bulb' Hudec [EMAIL PROTECTED] signature.asc Description

List question

2005-01-14 Thread Kees Jan Hermans
General, newbie question here: I'm programming in gtk perl (but I'm also an avid C programmer of sorts), and, for this custom widget I'd like to program, I'd need to either: - capture keys from a list (more specifically left and right keys), or - cancel the gtk focus change with left and right

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
you can try it and report results to the list, so it could be included in the 2.6 release. HTH Jan-Marek GtkComboBox popup patch: --- gtkcombobox.c.old 2004-11-09 17:38:57.0 +0100 +++ gtkcombobox.c 2004-11-21 10:44:58.0 +0100 @@ -181,6 +181,7 @@ enum { CHANGED

Re: Accessing GtkComboBoxEntry's toggle button

2004-11-21 Thread Jan-Marek Glogowski
Hi Look for the subject Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed? (21. Nov) Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problem in displaying Dialog

2004-11-21 Thread Jan-Marek Glogowski
Hi GtkWindow *my_app ... GtkWindow *my_about ... gtk_window_set_transient_for( my_about, my_app ); gtk_window_set_position( my_about, GTK_WIN_POS_CENTER_ON_PARENT ); HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
..._GET_CLASS) E.g. if you look into the code, you will find a lot of g_return_if_fail( GTK_IS_...( combo ) ); For more information read the Gtk+ tutorial and http://www.le-hacker.org/papers/gobject/ And be sure you use gtk_container_forall not gtk_container_foreach! Jan-Marek

Re: columned list

2004-11-21 Thread Jan-Marek Glogowski
( clist, GTK_SELECTION_BROWSE ); Now you need to follow the focus row - maybe connect button_press and check, if clist-focus_row has changed. Then gtk_clist_select_row( clist, focus_row, 0 ); HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
I checked my program with 2.5.5. And had a look at the ComboBox code: the toggle button is created when setting the style, so I think the box must be (at least) realized, maybe even shown. HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
to cancel popup and the signal definition ~20 lines of code. Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Xlib: unexpected async reply

2004-11-04 Thread Jan-Marek Glogowski
... If you use g_timeout or g_idle you need to protect gdk / gtk calls too. HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

looking for gtk_menu_get_current () or gtk_menu_get_focused ()

2004-10-25 Thread Jan Nieuwenhuizen
item is SELECTED' should read: the first menu item is RETURNED? Jan. -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ gtk-list mailing list [EMAIL PROTECTED

Re: show/hide widgets

2004-10-14 Thread Jan-Marek Glogowski
Gtk isn't thread safe, but thread aware: See Gdk Docs - Threads. Basically you have to use gdk_threads_init() ... gdk_threads_enter() gtk_main() gdk_threads_leave() ... Before every call from a thread to Gdk / Gtk+ you have to get the Gdk lock via gdk_threads_enter() HTH Jan-Marek

Re: MS style combobox

2004-09-04 Thread Jan-Marek Glogowski
Hi GtkEntry *entry = GTK_BIN(my_gtk_combo_box_entry)-child; GtkEntryCompletition *completion = gtk_entry_completion_new (); gtk_entry_set_completion (GTK_ENTRY (entry), completion); See the GtkEntryCompletition API. HTH Jan-Marek ___ gtk-list mailing

Re: Problems with changed signal on GtkTextBuffer(Win32)

2004-08-24 Thread Jan-Marek Glogowski
There is a Win32 port of devhelp in cygnome2 - maybe worth looking at http://cygnome2.sourceforge.net/ HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: cannot use clock() for realtime graphical simulations

2004-08-15 Thread Jan-Marek Glogowski
(gtk_events_pending ()) gtk_main_iteration (); HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to hide the window cross and force a window to be first displayed ?

2004-08-12 Thread Jan-Marek Glogowski
Hi I don't think it's possible to hide just the close button. At the end all depends on the window manager. Anyway connecting to the delete-event is the right way. There is however: gtk_window_set_decorated () and gdk_window_set_decorations () HTH Jan-Marek

Re: Split gtk program into separate C files?

2004-08-12 Thread Jan-Marek Glogowski
Yes My normal template looks like this: /* This is my licence text (GPL / LGPL / whatever) **/ #ifndef __MY_HEADER_H__ #define __MY_HEADER_H__ #include glib.h // To allow usage of c by c++ G_BEGIN_DECLS void CloseTheApp (); G_END_DECLS #endif // __MY_HEADER_H__ HTH Jan-Marek

Re: Sizing Combo Box

2004-08-11 Thread Jan-Marek Glogowski
Hi There is neither a way in the deprecated GtkCombo nor a way in the current GtkComboBox - if you meant to set the the maximum allowed length of the contents of the widget use: gtk_entry_set_max_length via GTK_COMBO(widget)-entry or GTK_BIN(GTK_COMBO_BOX(widget))-child Jan-Marek

Re: Getting correct size after placing widget in parent

2004-08-06 Thread Jan-Marek Glogowski
Does gtk_widget_realize() help? Jan-Marek k ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Getting correct size after placing widget in parent

2004-08-06 Thread Jan-Marek Glogowski
Any reason not to g_signal_connect_after the childs size-allocate signal and continue your stuff? Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: g_signal_connect question

2004-08-04 Thread Jan-Marek Glogowski
) p ); HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: problem due to clash between signals and events

2004-08-02 Thread Jan-Marek Glogowski
Hi Most event handlers return a gboolean. From the Docs: Returns : TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further. HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org

Re: GtkIconTheme in gtk2-2.2.4

2004-07-24 Thread Jan-Marek Glogowski
items in your application - just look again at the API description of GtkIconTheme. Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk++ 2.4.4 install: I can not configure for gtk+2.4.4

2004-07-24 Thread Jan-Marek Glogowski
These errors normally come from old X versions (usually also missing xrender). Seems that the Xft backend wasn't build by Pango, so check your Pango config / install. Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman

Re: TreeViewColumn and right-click

2004-07-23 Thread Jan-Marek Glogowski
Hi Just two ideas: Have you tried to connect a handler to the clicked / button-press-event of my_column-button or replace the header using gtk_tree_view_column_set_widget()? HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http

Re: gdk_draw_drawable

2004-07-05 Thread Jan-Marek Glogowski
Quoting the GDK Docs: gdk_draw_drawable (GdkDrawable *drawable, GdkGC *gc, GdkDrawable *src, ...) src : the source GdkDrawable, which may be the same as drawable Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman

Re: Newbie Q: What to use ...

2004-07-03 Thread Jan-Marek Glogowski
is a low-level module which renders RGB, grayscale, and indexed colormap images to a GdkDrawable. How do you want to handle window resize? Do you want to support scrolling a larger image? HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http

Re: GTKDrawingArea and GtkLabel

2004-07-03 Thread Jan-Marek Glogowski
Hi Putting a GtkLabel inside a GtkDrawingArea doesn't make sense to me... If you want to draw text look at pango: Pango docs - Basic Pango Interfaces - Layout Objects - PangoLayout. GDK docs - Drawing Primitives - gdk_draw_layout HTH Jan-Marek

  1   2   >