Commit Graph

20 Commits

Author SHA1 Message Date
Vadim Zeitlin
74f8518b5c replcaeed ints with size_t to match the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 13:08:00 +00:00
Vadim Zeitlin
f65a450a11 document the functions sending page changing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:59:15 +00:00
Vadim Zeitlin
e450aa692b wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Julian Smart
6390284bfa Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 21:31:03 +00:00
Václav Slavík
cc81d32f2b TRUE/FALSE -> true/false in documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:16:34 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
b318dc4237 Applied patch [ 579219 ] wxNotebook:SetPadding added
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.

Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.

It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.

Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.

A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).

I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
Vadim Zeitlin
e480a80aeb fixed 2 small typos (reported by Janos Vegh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:44:02 +00:00
Vadim Zeitlin
f0125ede4a minor updates/clarifications to the wxNotebook docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:32:16 +00:00
Vadim Zeitlin
1d2bd8475d moved wxNotebook events docs into a separate file included by both noteevt.tex and notebook.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:53:08 +00:00
Václav Slavík
b656febdf0 added wxNotebook::AssingImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:25:07 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
da27bd0b4a mention wxNB_LEFT/RIGHT/BOTTOM styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:47:22 +00:00
Julian Smart
5fa399c9e2 Made VC++ makefiles and project files a bit more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:32:31 +00:00
Robert Roebling
fd128b0c3a Added more docs for the new events, derived from wxNotifyEvents.
Added docs for wxScrollWinEvent and corrected docs referring
    to wxScrollEvent etc.
  wxTreeCtrl's and wxListCtrl's ::EditLabel() returns void.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-26 14:28:25 +00:00
Vadim Zeitlin
8c517ddd1a 2 typos corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-15 20:42:48 +00:00
Julian Smart
954b8ae603 Added 'Include files' section to class references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 20:41:29 +00:00
Julian Smart
621793f45e 2nd attempt at MDI in wxMotif, using wxNotebook this time (still some probs).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 21:55:10 +00:00
Guilhem Lavaux
e79848acfe * Fixed a bug in notebook.tex
* Added a basic documentation on wxSocket (currently wxSocketBase, wxSocketClient, wxSocketServer, wxSocketHandler, wxURL)
  There are still things to write and I hope I didn't have a too bad english ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 15:45:12 +00:00
Julian Smart
3972fb4919 Added some more class docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-06 14:43:36 +00:00