Re: gtk_tree_view_get_visible_range

2006-07-04 Thread Yeti
On Wed, Jul 05, 2006 at 01:09:19AM +0100, Christopher Backhouse wrote: > My previous email on this subject was rubbish and unspecific, sorry for > the spam. So - I have reduced my code down to the smallest test case and > now hope someone can help me. > > #include "gtk/gtk.h" > int main(int argc

Re: slider_width - adjusting scrollbar sizes

2006-07-04 Thread EMAN
Gotcha.. I see. Haven't really done a whole lot of looking at gtk+2.0 features (The last really big gtk project I did was in 99). Anyway I see that all this fun stuff must be set using resource files. -Eric > EMAN wrote: > Anyhow, you can use gtk_rc_parse_string() to set style properties on >

gtk_tree_view_get_visible_range

2006-07-04 Thread Christopher Backhouse
My previous email on this subject was rubbish and unspecific, sorry for the spam. So - I have reduced my code down to the smallest test case and now hope someone can help me. #include "gtk/gtk.h" int main(int argc, char **argv) { gtk_init(&argc, &argv); //make a store and view

Re: slider_width - adjusting scrollbar sizes

2006-07-04 Thread Tristan Van Berkom
EMAN wrote: > Oh yea forgot one thing. > > The "slider-width" style propery of GtkRange is a read-only property > in version 1.2 and unfortunately does not exist at all in 2.6 (though > the documentation whould suggest otherwise). > > I believe the trick I played with accessing the GtkRangeClass

Re: slider_width - adjusting scrollbar sizes

2006-07-04 Thread EMAN
Oh yea forgot one thing. The "slider-width" style propery of GtkRange is a read-only property in version 1.2 and unfortunately does not exist at all in 2.6 (though the documentation whould suggest otherwise). I believe the trick I played with accessing the GtkRangeClass in 1.2 is what allowed

Re: slider_width - adjusting scrollbar sizes

2006-07-04 Thread Tristan Van Berkom
EMAN wrote: > Hi all: > > Excuse me if this has been answered recently but I am a new subscriber > to the list but did search the archives for the last 2 years. You'll want to use the "slider-width" style property on GtkRange: http://developer.gnome.org/doc/API/2.0/gtk/GtkRange.html#GtkRange--s

slider_width - adjusting scrollbar sizes

2006-07-04 Thread EMAN
Hi all: Excuse me if this has been answered recently but I am a new subscriber to the list but did search the archives for the last 2 years. I am upgrading some code from 1.2 to 2.6 and we run it without a window manager (a single x-window at a time) and we need to adjust the size of the scrol

Re: when wride my own widget, how to keep the rate of the widget's height and width at a constant value

2006-07-04 Thread Daniel Haude
On Tue, 04 Jul 2006 09:33:41 +0200, chao yeaj <[EMAIL PROTECTED]> wrote: > I am writing my own gtk widget for my application > What i want to achieve is that: when the user change the > widget's size with his mouse,i want the widget keep this: > height/width = 3/4 .

toolbarbutton don't works

2006-07-04 Thread Vallario Brigitte
Hallo, first: why the archive gtk-app-devel-list/2006-June doesn't work? I have start the app under gnome destop, it also doesn't work. I have changed the source code to use the new functions for toolbar toolItem = gtk_tool_button_new(iconw, g_locale_to_utf8( text, -1,

Re: When packing widgets, what is the difference between "box" and "table "

2006-07-04 Thread Dov Grobgeld
Box is one dimensional, either horizontal (hbox) or vertical (vbox) and the widgets are packed in the beginning or the end of them. Table is two dimensional and widgets are packed by specifying the coordinates of the four sides to which the widget is to be attached. You can also get two dimension

when wride my own widget, how to keep the rate of the widget's height and width at a constant value

2006-07-04 Thread chao yeaj
Hello everyone First ,i apologize for my poor English I am writing my own gtk widget for my application What i want to achieve is that: when the user change the widget's size with his mouse,i want the widget keep this: height/width = 3/4 .