gtkstyle(was moving from gtk+-1.0 -> 1.2)
- From: adrian <feiguin ifir ifir edu ar>
- To: gtk-devel-list redhat com
- Subject: gtkstyle(was moving from gtk+-1.0 -> 1.2)
- Date: Wed, 27 Jan 1999 09:33:01 +0000 (GMT)
On 26 Jan 1999, Owen Taylor wrote:
>
> adrian <feiguin@ifir.ifir.edu.ar> writes:
>
> > Hi, folks. I'm porting gtksheet to gtk+-1.2 and I have the new version
> > almost ready but I still have a couple of problems moving to the new
> > gtk+:
> > gtksheet is a composite widget with a button and scrollbars. The button
> > has a label, and compilig in gtk+-1.1.12 it's not longer displayed in the
> > screen. If I pack three sheets in a notebook, when I change the pages, the
> > widget doesn't show the scrollbars (I mean, they are there, but they are
> > not drawn in the first expose event).
> > I believe that this has something to do with the changes in
> > gtkobject/container/widget, and I have something to say about this: Why
> > don't you mention anything about gtk_widget_composite... and new
> > features in Changes-1.2.txt? A ChangeLog is not enough from my point of
> > view. please, don't missunderstand, I would be loosing something...
> > I would appreciate any hint,
> > Thanks,
> > <ADRIAN>
>
> First, GTK+-1.1.12 has some drawing bugs that were fixed in
> 1.1.13. (1.1.13 also has some drawing bugs fixed in current GNOME CVS,
> but less) So, if you have problems, please update to 1.1.13.
>
> I don't think your problems have anything to do with with the
> composite-child changes, which are basically informational for UI
> builders.
>
> Changes-1.2.txt is not meant to be a substitution for
> documentation. (We hope to have that too..) but rather a porting guide
> for existing code. So it generally doesn't cover additions in 1.2 that
> are don't affect existing code.
>
> I'm not sure what your problem is exactly, if you find out
> and it belongs in Changes-1.2.txt, an appropriate addition
> to that file would be much appreciated. :-)
>
> Owen
Thanks Owen, I relized that the problem with the scrollbars is related
to the styles. I have a big hole in this subject, as I posted in a later
mail. I couldn't find any documentation about gtkstyles, but styles.txt. I
believe that this subject would need a deeper treatment in the tutorial,
as a new chapter.
styles.txt could be used as reference but it doesn't mention important
things as how is a style assigned to a widget. For example, I still don't
understand how changing a style in a widget I'm affecting other widgets'
attributes at the same time. I think this topic would need some
clarification. As many others I started with gtk as a very beginner,
without any experience with X or any graphic toolkit, and probably I'm
not the only one with this doubts.
Regards,
<ADRIAN>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]