Ignore.
But, for those who may be interested, it can be done by connecting to the
"scroll-event" signal and calling the gtk_adjustment_set_value()
method to position the slider where you want.
___
gtk-app-devel-list mailing list
gtk-app-dev
look for and use the "gtk-demo" application thats normallu apart of the
devel package. It contains current GTK examples pre-compiled with
source immediately available. Also, consider using "devhelp", another
api document viewer for GTK/GLIB and many others.
James,
On Wed, 2009-01-21 at 21:42 +
On Wed, 2009-01-21 at 10:21 +0100, BJörn Lindqvist wrote:
> 2009/1/21 Liam R E Quin :
> > On Mon, 2009-01-19 at 18:43 +0100, BJörn Lindqvist wrote:
> >> Actually, a custom allocator could be useful even in the general case.
> >> Malloc is a system call and has quite bad performance on certain
> >>
I think the programs in the examples folder are quite outdated and
probably buggy. Build samples/gtk-demo instead.
--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Don't use GtkList or GtkTree. They've been deprecated for... I dunno...
7 or 8 years now, and are unmaintained. You should be using GtkTreeView
in conjunction with a GtkTreeStore or GtkListStore.
-brian
Dave Luttinen wrote:
2nd post. I'm just getting warmed up .
Compile with suppli
2nd post. I'm just getting warmed up .
Compile with supplied Makefile to gtk+/gtk+-2.14.6/examples/list.c, run sample
application, right click on list, the following is printed:
(list:17088): Gtk-CRITICAL **: gtk_list_add: assertion `GTK_IS_LIST_ITEM
(widget)' failed
(list:17088): Gtk-CRITI
Greetings,
First post. Wish me luck. :)
I compiled the examples in the gtk library and have been exploring them in
order to learn how gtk+ works.
Subject: gtk+/gtk+-2.14.6/examples/tree/tree.c
(1) suggestion for improvement
Based on the declaration of
static gchar *itemnames[] = {"Foo"
On Wed, Jan 21, 2009 at 1:19 PM, Peter F. Patel-Schneider
wrote:
[...]
> Actually a more general solution would be to allow glade/gtkbuilder to add
> properties to widget classes. I don't know whether this would fly.
>
Glade lets you add properties and save them to the glade file, libglade
let y
Tristan Van Berkom wrote:
On Tue, Jan 20, 2009 at 7:27 AM, Peter F. Patel-Schneider
wrote:
[...]
As I expected, I guess, but it sure would be nice to be able to easily build
objects or handlers that have extra information in them in the form of
integers or strings. Just being able to initia
On Tue, 2009-01-20 at 14:56 +0100, Bastien Dalla Piazza wrote:
>
> 1: as-is: "First line: plain text."
> 1: through Glib::ustring: "First line: plain text."
> 2: as-is: "deuxième ligne: des accents ici et là..."
You are lucky that that worked. It's unlikely to work with multi-byte
UTF-8 character
> Malloc is a system call and has quite bad performance on certain
> platforms (windows in particular i think).
Malloc is not a system call. And please don't make performance
assumptions without having benchmark data to back it up. Note that it
is not necessarily that clear what is a "system call"
11 matches
Mail list logo