[Gtk-sharp-list] writing custom widgets with Gtk#

Lee Mallabone gnome@fonicmonkey.net
10 Dec 2002 10:36:35 +0000


Hello,

I'm using Gtk# to write an application that will be run with mouse input
coming from a touchscreen, so I really need to make a ScrolledWindow
widget that has nice big buttons for large fingers.

My first thoughts were just to override some protected method in the
ScrolledWindow class to change the size/layout of the scrollbar buttons.
However, after examining the generated Gtk.ScrolledWindow source, it
doesn't look like this is/will be possible.

Are there any hooks, or future plans, to make extending existing Gtk#
widgets possible, in C#? Is it *already* possible using just C#? Is
there any documentation about how to write widgets from scratch with
Gtk#?

If not, will I need to go and read up on writing Gtk widgets in C, in
order to make a custom widgest for my Gtk# app?

Regards,

-- 
Lee Mallabone