a GdkKeymap
> other than getting this "default for display" keymap.
>
> Is there something I've missed here?
>
> Richard Shann
I've created a minimal example of the problem:
//gcc -Wall KeyMap-test.c -o KeyMapTest `pkg-config --cflags --libs gtk+-3.0`
//Tested o
to look at the documentation and I see that there is
nothing to suggest you can access the GdkKeymap that the GtkWidgets are
using - indeed there is nothing to suggest you can create a GdkKeymap
other than getting this "default for display" keymap.
Is there something I've mi
> Date: Sun, 09 Sep 2018 20:21:54 +0100
> From: Richard Shann
> To: gtk-app-devel-list@gnome.org
> Subject: g_log_set_fatal_mask () does not appear to be present
> Message-ID: <1536520914.1394.1.ca...@rshann.plus.com>
> Content-Type: text/plain; charset=&qu
I used to call
g_log_set_fatal_mask ()
via gdb to catch the place where critical errors happen. But now I get
(gdb) call g_log_set_fatal_mask ("Gtk", 0x)
No symbol "g_log_set_fatal_mask" in current context.
any ideas?
Richard Shann
___
On Mon, 2018-06-04 at 13:24 +0100, Emmanuele Bassi wrote:
>
>
> On 4 June 2018 at 13:06, Richard Shann
> wrote:
> > Hi,
> >
> > I have seen GtkFileChooser for getting a file from the user, but
> > how to
> > get a directory (folder)?
Hi,
I have seen GtkFileChooser for getting a file from the user, but how to
get a directory (folder)?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
I am trying to change the shape of a GTKScale. To do it I use a CSS sheet.
The following CSS code gives something's good, like in attachment.
.midtone-scale {
background-image: -gtk-gradient(linear, left top, right top,
from(black),
to(shade(white, 0.95)));
padding: 5px;
}
.m
, in order to navigate in
the completion list with the two arrows and to validate with entry keys.
I would like something equivalent to popup-shown from GtkComboBox I guess.
In order to know in my function "key-press-event" if the popup is shown or
not to deal with it.
Cheers,
Cyr
On Sun, 2017-12-17 at 17:54 -0500, cecas...@aol.com wrote:
>
> Hi Richard,
>
> This sounds similar to the problem Dino Aljević had in "Scrolled
> TreeView and size allocation warnings" in this list in September?
>
> I can get the warning
>
> "(treevi
n the warning is not converted into a fatal error.
I've tried
call g_log_set_fatal_mask ("Gtk", 0x)
as well, to no avail.
This is with Gtk version runtime: 3.22.11, compiled against: 3.22.11
Any suggestions to track down the source of the trouble gratef
On Wed, 2017-05-10 at 18:34 +0100, Emmanuele Bassi wrote:
> On 2017-05-08 at 13:57, Richard Shann wrote:
> > On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote:
>
> > > > But I will have to wait for
> > > > Debian to catch up with Gtk 3.20
On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote:
> On 8 May 2017 at 12:04, Richard Shann wrote:
>
> >> But I'd strongly recommend you use CSS classes instead of styling the
> >> bare element name.
> >>
> >> CSS selectors in GTK+ work exactl
On Mon, 2017-05-08 at 08:42 +0100, Emmanuele Bassi wrote:
> On 7 May 2017 at 20:57, Richard Shann wrote:
> > On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote:
> >>
> >> On Sun, 7 May 2017 at 19:53, Richard Shann
> >> wrote:
> >>
> >>
On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote:
>
> On Sun, 7 May 2017 at 19:53, Richard Shann
> wrote:
>
> On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote:
> > On 7 May 2017 at 16:52, Richard Shann
> wrote:
> >
On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote:
> On 7 May 2017 at 16:52, Richard Shann wrote:
> > I have a test program that pops up a label with a customized
> background
> > and foreground color. This works in 3.12 using the syntax
> >
> > "
vent_box_new ();
GtkWidget *label=gtk_label_new("Label");
set_background_color (label, "#00");
set_foreground_color (label, "#FF00FF");
gtk_widget_set_size_request(label, 400, 400);
gtk_container_add (GTK_CONTAINER (eventbox), label);
gtk_container_ad
On Mon, 2017-04-24 at 14:48 -0400, cecas...@aol.com wrote:
>
> Hi Richard,
>
> It looks like how you add containers makes a difference in this case.
> Also the window placement might have to be adjusted after the window
> is shown. Here is a try at it.
Thank you very much
t ("value %p is %f\n", ADJ, gtk_adjustment_get_value (ADJ));
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>&l
);
const gchar *type = g_type_name (G_TYPE_FROM_INSTANCE (w));
gchar *str = g_strdup_printf ("%s {background-color: %s;}", type,
color);
gcp= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
g_free (str);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
ar *str = g_strdup_printf ("%s {background-color: %s;}", type,
color);
gcp= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
g_free (str);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
I don't know if there is a memory leak here though...
HTH
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> From: Colomban Wendling
> To: gtk-app-devel-list@gnome.org
> Subject: Re: caret-color (and caret-width?)
> Message-ID: <6524684c-f52e-ec20-0906-b63224766...@herbesfolles.org>
> Content-Type: text/plain; charset=windows-1252
>
> Hi,
>
> Le 26/01/2017 ? 16:57,
Widget:cursor-color has been deprecated since version 3.20 and should not be
used in newly-written code.
Use the caret-color CSS property
indicates that these "Style Properties" are not the CSS properties that
can be altered for the widget concerned.
So where are they documented, on a
color: rgb(200,128,0);}";
gcp= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
working nicely).
Richard Shann
___
gtk-ap
On Thu, 2017-01-05 at 17:02 +0100, infirit wrote:
> Op 01/05/2017 om 03:39 PM schreef Richard Shann:
> > I see that pango_scan_string() is deprecated since version 1.38
> > but the documentation doesn't indicate what it should be replaced with -
> > anyone got any i
I see that pango_scan_string() is deprecated since version 1.38
but the documentation doesn't indicate what it should be replaced with -
anyone got any ideas?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On Sat, 2016-12-31 at 20:10 +, Emmanuele Bassi wrote:
> Hi;
>
> On 31 December 2016 at 16:03, Richard Shann wrote:
> > On Sat, 2016-12-31 at 15:44 +, Emmanuele Bassi wrote:
> >> Hi;
> >>
> >>
> >> Deprecations will only impact you i
ome reason that this
macro is not simply put into a header).
Richard
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ning the design 17 years in to this project,
unfortunately.
For now, I see that I can get at the action area via
action_area = gtk_widget_get_parent (cancelbutton);
which will be ok unless the GtkDialog widget gets some new internal
implementation. Perhaps this will be useful to other developers
The documentation for gtk_dialog_get_action_area() suggests using
gtk_dialog_add_button() etc. However, my application is storing a GtkBox
in that area - is there a way to do this, going forward?
Richard
___
gtk-app-devel-list mailing list
gtk-app
Can anyone suggest a way forward?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
st" approach -- that is, apply this mechanism only to programs
> that have been properly tested as working well under it. In the case
> of my application the main menus are set up using the GtkUIManager and
> GtkAction APIs, and the trouble (or one trouble) with uni
m.
> >
> > Is there a way to get the objecttype ?
> > If it's a gtk-combo we do this, if it's a gtk-entry we do that in the
> > program and so on...
In GNU-Denemo I use
g_type_name (G_TYPE_FROM_INSTANCE (widget))
Richard Shann
__
ry
difficult to throw off; the tooltip time out is no longer controllable.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ng rgb color parsing, so avoided that
syntax, but I still can't get the images to load on Windows. The Gtk
version being built (and run) against is 3.6.5
Any suggestions what might be causing the trouble in LilyPond's output?
Richard
___
gtk-a
On Sun, 2015-12-20 at 19:22 +, Emmanuele Bassi wrote:
> Hi;
>
> On 20 December 2015 at 18:01, Richard Shann wrote:
> > I would like to know which of the top-level windows in my application is
> > on top. Is there a way of doing this? I see that
>
> You can only s
for my (simpler) question?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
tips on its menu items - perhaps they were
forced to abandon them when the Gtk developers decided to make them pop
up uncontrollably fast as you move down a menu... I've worked around
this "feature" in Denemo now by allowing people to press the f1 key
while hovering on a menu item to bri
On Thu, 2015-11-19 at 13:33 +, Richard Shann wrote:
> On Thu, 2015-11-19 at 12:01 +, Emmanuele Bassi wrote:
> > Hi;
> >
> > On 19 November 2015 at 09:53, Richard Shann wrote:
> > > On Wed, 2015-11-18 at 23:41 +0100, Johan Vromans wrote:
> > &
On Thu, 2015-11-19 at 12:01 +, Emmanuele Bassi wrote:
> Hi;
>
> On 19 November 2015 at 09:53, Richard Shann wrote:
> > On Wed, 2015-11-18 at 23:41 +0100, Johan Vromans wrote:
> >> On Wed, 18 Nov 2015 18:49:52 +
> >> Richard Shann wrote:
> >&g
On Wed, 2015-11-18 at 23:41 +0100, Johan Vromans wrote:
> On Wed, 18 Nov 2015 18:49:52 +
> Richard Shann wrote:
>
> > I've pushed a fix that turns off tooltips on menus while leaving them on
> > everything else (for GTK version >=3.10).
> > Can you te
On Wed, 2015-11-18 at 17:15 +, Emmanuele Bassi wrote:
> Hi;
>
> On 18 November 2015 at 16:55, Richard Shann wrote:
>
> >> > But in the longer term we are coming up to a crunch - the people
> >> > developing Gtk are clearly only interested in a narro
On Wed, 2015-11-18 at 12:27 +, Emmanuele Bassi wrote:
> Hi;
>
> On 18 November 2015 at 11:16, Richard Shann wrote:
>
> > I've tracked this down, in the latest manual for gtk3:
> > https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSetting
On Wed, 2015-11-18 at 10:35 +0100, Johan Vromans wrote:
> On Wed, 18 Nov 2015 07:59:38 +
> Richard Shann wrote:
>
> > One of the time settings available in the preferences sets the browse
> > timeout, choosing a value for this (and, possibly, re-starting the
> >
On Mon, 2015-08-10 at 15:05 +0100, Emmanuele Bassi wrote:
> Hi;
>
> On 10 August 2015 at 14:51, Richard Shann wrote:
>
> > Having invested effort in this it is exasperating to discover that GTK+
> > chooses a default theme that cripples one of the widgets - by failing to
people I guess will have even more recent versions. So
I can treat this as a closed issue.
Thank you for help
Richard Shann
>
> Ciao,
> Emmanuele.
>
>
> On 9 August 2015 at 17:07, Richard Shann wrote:
> > I've recently noticed that the GtkFrames in my applicat
nning against GTK version 3.4.2 on 64-bit Debian Wheezy.
The same application built for Windows using GTK 3.6.5 *does* show a
line around frames, albeit rather indistinct...
Is this a known bug?
Richard Shann
___
gtk-app-devel-list mailing list
gt
On Thu, 2015-05-07 at 16:21 +0200, Stefan Salewski wrote:
> On Thu, 2015-05-07 at 13:02 +0100, Richard Shann wrote:
>
> From https://developer.gnome.org/gtk3/stable/GtkDialog.html
>
> GTK_RESPONSE_REJECT Generic response id, not used by GTK+ dialogs
> GTK_RESPONSE_ACCEPT Generi
TK3 on a Debian stable installation.
Richard
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-application-x-executable
None of the standard icons are part of the list. How do I access the
standard tool button icons in Windows. I am using Windows 8 with the GTK
bundle for Windows gtk+-bundle_3.6.4-20130921_win32.zip from the
official GTK web site.
Any ideas?
Richard
list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Sounds like you are looking for a Canvas for GTK. Take a look at GooCanvas:
https://wiki.gnome.org/Projects/GooCanvas
I use it for drawing electrical schematics and it works well.
Ri
lor);
and the like are not doing it, because presumably these would affect the
border of the text.
I would prefer not to have to insert and remove tags from the text on
the focus signal - is there any way to achieve this otherwise?
Richard Shann
___
gtk
mask 0x%x\n",
> gdk_window_get_events (win));
>
> g_signal_connect (layout, "configure-event",
> G_CALLBACK (configure_event), NULL);
>
> gtk_main ();
>
> return 0;
> }
>
When I compile the version you have given
On Tue, 2014-03-11 at 13:18 +0100, Joël Krähemann wrote:
> On Tue, 2014-03-11 at 08:12 +0000, Richard Shann wrote:
> > On Tue, 2014-03-11 at 04:43 +0100, Joël Krähemann wrote:
> > > On Mon, 2014-03-10 at 09:52 +, Richard Shann wrote:
> > > > On Mon, 2014-03-10
On Mon, 2014-03-10 at 09:29 +0100, Joël Krähemann wrote:
> On Mon, 2014-03-10 at 09:26 +0100, Joël Krähemann wrote:
> > On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote:
> > > > From: Jo?l Kr?hemann
> > > > To: gtk-app-devel-list@gnome.org
> > > &g
27;t receive.
BTW why do you have two NULL bytes at the end of the property name
(AFAIK only one is needed)?
Richard
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Mon, 2014-03-03 at 16:38 +0001, Bernhard Schuster wrote:
> On Mon, Mar 3, 2014 at 5:26 PM, Richard Shann
> wrote:
> > On Mon, 2014-03-03 at 16:49 +0100, Stefan Salewski wrote:
> > On Mon, 2014-03-03 at 15:17 +, Richard Shann wrote: > I
> > hav
On Mon, 2014-03-03 at 16:49 +0100, Stefan Salewski wrote:
> On Mon, 2014-03-03 at 15:17 +0000, Richard Shann wrote:
> > I have constructed the following minimal example,
>
> Yes indeed,
>
> https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-events
>
quot;, G_CALLBACK (configure_event),
NULL);
gtk_main ();
return 0;
}
Richard Shann
> From: Richard Shann
> To: gtk-app-devel-list@gnome.org
> Subject: Help replacing GtkDrawingArea with GtkLayout
> Message-ID: <1393771664.4221.117.ca...@debianbox.loc>
>
GtkDrawingArea to GtkLayout would be much
appreciated.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
le
of times, but otherwise there is no sign of it doing anything.
Does anyone have any idea what might be wrong?
(I should add that the program runs fine - apart from not loading .svg
files for which a loader is present - making extensive use of gtk)
Richard
> Location for gspawn_win32_helper.exe in a static build.
It turns out there are two helper programs, and it was calling the other
one gspawn_win32_helper-console.exe which was not installed.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-
valid argument)
Anyone know where it should be/if there are environment variables that
can be set to help glib here? As it is we cannot spawn processes.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnom
ading headers).
> Who can give me libatk 2.4.0 prebuild for Windows (x86)?
I don't know if it would help, but the package
http://www.denemo.org/downloads/denemo-0.9.5rc5.exe
installs the gtk dlls including that one, not sure which version. So you
could
window in a GtkVbox in a
GtkFrame in a GtkNotebook in a GtkWindow. If, instead I put it directly
in a top level window the cursor shows.
The Gtk version 2.20.1, does anyone have any insights into this problem?
Richard Shann
___
gtk-app-devel-list
TER);
License_wnd_scroll = gtk_scrolled_window_new(NULL,NULL);
content_area = gtk_dialog_get_content_area(GTK_DIALOG(License_wnd));
gtk_container_add(GTK_CONTAINER(content_area),License_wnd_scroll);
Should I be setting an additonal property now
log_get_content_area(GTK_DIALOG(License_wnd));
gtk_container_add(GTK_CONTAINER(content_area),License_wnd_scroll);
Should I be setting an additonal property now to make the scroll window
fill up the "action area"?
Richard.
___
gtk-app-devel-list mailing li
on the GtkPrintOperation widget start to work again.
I don't know if that is documented anywhere.
Richard Shann
On Mon, 2011-11-21 at 12:00 +, gtk-app-devel-list-requ...@gnome.org
wrote:
> Message: 4
> Date: Sun, 20 Nov 2011 16:13:57 +0000
> From: Richard Shann
> To: g
widget demo code which I wrote to test out.
Richard Shann
#include
#include
#include
evince_print() {
GError *err = NULL;
GFile *file;
gchar *filename = "test.pdf";
file = g_file_new_for_commandline_arg (filename);
gchar *uri = g_file_get_uri (file);
g_ob
ory(gchar *fontpath) {
#ifdef G_OS_WIN32
AddFontResource(fontpath);
#else
FcConfigAppFontAddDir(NULL, fontpath);
#endif
}
if the font isn't a system one.
Creating a font = fontforge, of course.
Richard
> On Mon, 2011-07-25 at 12:00 +, gtk-app-devel-list-requ...@gnome.org
> wrote:
widget labels and other text which it would
normally render in some default or use preferred font?
Richard Shann
http://www.denemo.org
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t out, but the second prevents draw_page
being called ad infinitum.
Anyone have a working example? I am using Debian Lenny standard standard
packages.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
was wanting the list of
files/directories I would be a happy bunny.
Preferably some hooks in the backend but even at the cost of having to
monitor version changes... can it be done in a few lines of code?
Richard Shann
___
gtk-app-devel-list mailing list
.gnetlibrary.org/
> it has support for http protocol object (GConnHttp) and also based on
> GLib.
Thanks for this link - I didn't know about this. If possible I will go
with gio as it would seem to be under more active development, though if
it is not actually yet wor
On Fri, 2009-05-15 at 19:12 +0300, Paul Pogonyshev wrote:
> Richard Shann wrote:
> > Does anyone know if the gio library is working for getting files from
> > the internet in the latest Debian Lenny distribution, x86?
>
> You probably need GVFS package. GIO itsel
me/...) should it be working for http?
Richard
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
creates it (i.e. in the
program "doit"). It is also guaranteed to be closed by the main of that
program returning, that is as part of the exit. The other program is
just finding out if the file is locked by trying to open it, so it
doesn't matter what it does with it. The test
nds very odd and in fact impossible. Are you confusing file
> protection with locking?
Thank you for the quick and helpful reply. Having contstructed the
minimal example, everything worked fine.
For those listening in who need to create a glib standalone minimal
example. I append
ug in lilypond, or could there
be something about the way I invoke it?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
k/stable/gdk-Pixbufs.html#gdk-pixbuf-render-threshold-alpha
>
Thank you for this - I have now taken the this approach - adding an
alpha channel to a pixbuf created from the .png and then going to xbm
format and finally to the GdkBitmap.
Richard Shann
___
gtk
he application to let the
user select a (small) rectangular area in the .png image for use in as
the GdkBitmap *mask in the above code.
Anyone with a wider view on this stuff? Help would be much appreciated!
Richard Shann
___
gtk-app-devel-list mailin
there in some future invocation of the program).
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
remembered all the dependencies because
windows only tells you about the first one it hasn't got, and since I
don't connect to the internet with windows I then have to re-boot into
linux to get it :-)
The new build of Denemo is going up now. Thanks
Richard Shann
tion (libpixbufloader-gif.dll while
the svg one was just svg_loader.dll), but perhaps this is because it
doesn't belong in the GTK+ stack.
Thanks again for your help
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
this should be different from loaders for
other stuff (jpg, png ...) and where if anywhere the loader can be
obtained. Any ideas?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-
press-event is working fine, but that leaves you with a lot more
work since you have to decide whether a character would be inserted...
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinf
Well, I've passed in a constant string
gtk_settings_set_long_property(settings, "gtk-can-change-accels",
TRUE, ".gtkrc:0");
and the code has started working
- thank you very much!
Richard Shann
On Fri, 2008-02-08 at 00:19 +0100, Torsten Reuss wrote:
Hi Torsten,
Thanks for this - curiously I get
(denemo:16377): Gtk-CRITICAL **: gtk_settings_set_long_property:
assertion `origin != NULL' failed
with your code. I'll dig into this.
Richard
___
gtk-app-devel-list mailing list
gtk-app-
nemo:10714): GLib-GObject-WARNING **: IA__g_object_set_valist: object
class `GtkSettings' has no property named `gtk-can-change-accels'
The versions are
glib 2.12.4
gtk 2.8.20
and the docs for http://library.gnome.org/devel/gtk/2.8/
say there should be such a property.
Any i
that was added recently and we
haven't had time to make that build for OS X yet. It should be fixed in
a couple of days.
Regards,
Richard
--
Imendio AB, http://www.imendio.com/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
h
has a function
static void gtk_label_class_init (GtkLabelClass *class)
which is not called within the file, even though it is static. Short of
some preprocesser magic, I can't see how this could ever get called.
Is there a way to set the class defaults?
Ri
My GTK+ application uses colors in its user interface for various
purposes, and calls gtk_rc_parse_string() at startup to set some
defaults.
This works fine on my Mac and under KDE, but if I run it in a Gnome
session (under Debian etch), none of the colors appear. I infer that
they have been over
l.
Thanks,
Richard.
menu_bar = gtk_menu_bar_new ();
gtk_box_pack_start (GTK_BOX(vbox),menu_bar,FALSE,FALSE,0);
gtk_widget_show (menu_bar);
display_time_item = gtk_menu_item_new_with_label ("Station Status");
gtk_menu_shell_append (GTK_MENU_SHELL(menu_bar),display_time_item);
g_signal_conne
ms to 'take' the scroll event. How can I take the scroll event
when the control button is pressed and leave it when the mouse wheel is
used without the control key?
Richard Gipps.
___
gtk-app-devel-list mailing list
gtk-app-devel-list
Has anyone created man pages from the GTK+ 2.0 API? Using emacs as my
editor its very inconvenient to have to use HTML documentation with no
ability to jump directly to a functions API documentation.
___
gtk-app-devel-list mailing list
gtk-app-devel-list
"Matt Hoosier" <[EMAIL PROTECTED]> writes:
> On 11/25/06, Richard <[EMAIL PROTECTED]> wrote:
>>
>> Could someone explain the reason for this function
>>
>> "g_signal_connect_swapped"
>>
>> I have read the manua
Could someone explain the reason for this function
"g_signal_connect_swapped"
I have read the manual here:
http://www.gtk.org/tutorial/x159.html
where it says:
,
| g_signal_connect_swapped() is the same as g_signal_connect() except that
| the instance on which the signal is emitted and da
making and displaying your image).
you also use this while loop construct, for example, when wanting to
update a progress meter while doing work in the background (that's
being metered).
ta,
richard
On Aug 15, 2006, at 1:59 PM, Daniel Haude wrote:
> On Wed, 26 Jul 2006 06:41:38 +0200,
gtk_main_iteration();
} // end while
g_object_unref(pixbuf);
pixmap=NULL;
}
in this manner, a single call to makeDrawing() from anywhere (internal to
the program, or as a result of a user request) will end up doing what you
want.
richard
> Hi,
> I am writing an application using GTK+ (ver
hi,
if you want fine control over the size of your entry widgets, the
following routines may be of help:
gtk_entry_set_max_length()
gtk_entry_set_width_chars()
richard
On Jul 16, 2006, at 9:39 AM, chao yeaj wrote:
> Hello everyone
> First ,I am sorry for my poor Englisth !
>
&g
e. Thanks
for your help and patience - problem solved.
Richard.
At 21:29 11/01/06, you wrote:
On Wed, Jan 11, 2006 at 06:54:46PM +1100, Richard Gipps wrote:
> I applied this function to the three entries but it only works on one of
> them (the first entry I apply it to). Note that I hav
1 - 100 of 115 matches
Mail list logo