This is simple C++. Derive a class (MyCoolScrollbar) from Gtk::Scrollbar and override the methods that draw. They should be virtual. You may have to override other methods for size, position, that sort of thing if your geometry/sizing is different.
Chuck On Mon, 2009-07-06 at 15:19 -0700, siagogam wrote: > Hi > I'm trying to build my own scrollbars customizing the way they are drawn by > using cairo. The problem is that i like the way a scrolled window works and > i wouldn't like to re implement this widget myself. But i cannot find the > way of setting my custom MyCoolScrollbar:public Gtk::Scrollbar into the > ScrolledWindow. > > I was just going to modify the gtk_scrolled_window widget and the > Gtk::ScrolledWindow and rebuild all GTK+ and gtkmm %-| but im sure there is > an easyest way to do this. > > Any suggestions? > > thanks _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
